Skip to content

Feature/update client - #10

Merged
yenes56 merged 3 commits into
podaac:developfrom
sliu008:feature/update_client_id
Mar 5, 2026
Merged

Feature/update client#10
yenes56 merged 3 commits into
podaac:developfrom
sliu008:feature/update_client_id

Conversation

@sliu008

@sliu008 sliu008 commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

This pull request simplifies the logic for determining the client_id in the handler function of token_dispenser/token_dispenser_lambda.py. The special handling for the "edl" action has been removed, so now client_id is always taken directly from the event.

  • Simplified client_id assignment logic in the handler function by removing conditional logic for the "edl" action; client_id is now always set from event.get('client_id').

@yenes56
yenes56 merged commit ca537d5 into podaac:develop Mar 5, 2026
1 check failed
yenes56 added a commit that referenced this pull request Mar 27, 2026
* Miscellaneous Fixes/Cleanup (#2)

* Fix examples

* Move outputs.tf to proper location

* Ignore .tfplan files

* Loosen terraform version constraint

* TokenDispenserMinimumAccess policy

* Terraform helper commands

* Enable x86 builds on arm64

* Simplify build process

* Update README.md with terraform instructions

* Readme typo

* Make lambda throw an explicit error to catch on client lib (#3)

* move launchpad_token.py out of aws directory (#4)

authored by: David Yen <david.yen@jpl.nasa.gov>

* Feature/podaac 6884 (#5)

* added cloudtrail

* created s3 bucket policy for the cloudtrail logging bucket

* unused code cleanup

* comments cleanup

* use aws_iam_role_policy  instead of aws_iam_role_policy_attachment

* direct reference the cloudtrail s3 bucket arn.

* code cleaning and turn on cloudtrail management event logging

* set default log rentention days to 180

* remove retention days from example.tfvars

* set log management event to false

---------

Co-authored-by: David Yen <david.yen@jpl.nasa.gov>

* Feature/podaac 6884 (#6)

* added cloudtrail

* created s3 bucket policy for the cloudtrail logging bucket

* unused code cleanup

* comments cleanup

* use aws_iam_role_policy  instead of aws_iam_role_policy_attachment

* direct reference the cloudtrail s3 bucket arn.

* code cleaning and turn on cloudtrail management event logging

* set default log rentention days to 180

* remove retention days from example.tfvars

* set log management event to false

* append random string in the end of cloudtrail bucket name to keep s3 bucket name unique

* prevent lifecycle destroy

---------

Co-authored-by: David Yen <david.yen@jpl.nasa.gov>

* add EDL token storage/retrieval on new action event (#7)

* add EDL token storage/retrieval on new action event

* pushed EDL token toi DB with 120s lifespan

* using epoche+120 for EDL token expiration

* extend token expiration if expiration < 24 hours

* Update token_dispenser_lambda.py for EDL expires_at

---------

Co-authored-by: DavidVWood44 <david.v.wood@nasa.gov>

* update get_edl_token function (#8)

* update get_edl_token function

* update get_edl_token function

* update get_edl_token function call (#9)

* Add automatic project assignment workflow

This workflow automatically:
- Adds new issues and PRs to the podaac project
- Sets their status to 'needs:triage'

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Feature/update client (#10)

* update get_edl_token function call

* update token dispenser client_id for all tokens, this should make dispenser more robust and allow user to change client_id for all tokens

* Add automatic team/project assignment workflow

This workflow automatically, when team label is assigned to an issue:
- Set podaac project status to triage
- Assign to the team github project when it exists, with a New status.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add automatic team/project assignment workflow

This workflow automatically, when team label is assigned to an issue:
- Set podaac project status to triage
- Assign to the team github project when it exists, with a New status.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* make release 2.0.0

---------

Co-authored-by: Josh Garde <joshgarde@gmail.com>
Co-authored-by: David Yen <david.yen@jpl.nasa.gov>
Co-authored-by: DavidVWood44 <david.v.wood@ama-inc.com>
Co-authored-by: DavidVWood44 <david.v.wood@nasa.gov>
Co-authored-by: Simon Liu <69875423+sliu008@users.noreply.github.com>
Co-authored-by: thomas loubrieu <60993872+tloubrieu-jpl@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@yenes56 yenes56 mentioned this pull request Mar 27, 2026
viviant100 pushed a commit that referenced this pull request Mar 27, 2026
* update get_edl_token function call

* update token dispenser client_id for all tokens, this should make dispenser more robust and allow user to change client_id for all tokens
viviant100 pushed a commit that referenced this pull request Mar 27, 2026
* update get_edl_token function call

* update token dispenser client_id for all tokens, this should make dispenser more robust and allow user to change client_id for all tokens
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.

2 participants