Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE-15396 Add support for an expiry timeout on a token claim #1259

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

owenstanford
Copy link
Contributor

Add support for an expiry timeout on a token claim, this is to support automatic cleanup of orphaned claims.

@owenstanford owenstanford requested a review from a team September 22, 2023 09:24
@owenstanford owenstanford requested a review from a team as a code owner September 22, 2023 09:24
{
"name": "claimTimestamp",
"type": ["null", "long"],
"default": null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it mean if a claim does not have a timestamp? Will a claim with no timestamp ever expire?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the runtime-os change that uses this, if it finds a old 5.0 version state it defaults the timestamp to the current time.

@owenstanford owenstanford force-pushed the owen/CORE-6803-Token-claim-timeout branch from 3d0362d to 4a53e54 Compare September 22, 2023 09:45
…s to support automatic cleanup of orphaned claims.
@owenstanford owenstanford force-pushed the owen/CORE-6803-Token-claim-timeout branch from 4a53e54 to d1e75cb Compare September 22, 2023 10:28
@corda-jenkins-ci02
Copy link
Contributor

Jenkins build for PR 1259 build 5

Build Successful:
Jar artifact version produced by this PR: 5.1.0.21-alpha-1695385223328

@owenstanford owenstanford merged commit b8dac97 into release/os/5.1 Sep 22, 2023
1 check passed
@owenstanford owenstanford deleted the owen/CORE-6803-Token-claim-timeout branch September 22, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants