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

check operator version and provide correct presigned url #136

Merged

Conversation

lizk886
Copy link
Contributor

@lizk886 lizk886 commented Jul 23, 2024

solution 2: get upgraded info by comparing version info in headers. With unit tests.

need to deploy IABTechLab/uid2-shared#314 first ( update the Const.java)

successful build: https://github.com/IABTechLab/uid2-core/actions/runs/10288910692
successful run in integration:

@lizk886 lizk886 changed the title initial code check operator version and provide correct presigned url Jul 23, 2024
@lizk886 lizk886 marked this pull request as ready for review July 23, 2024 21:39
@lizk886 lizk886 changed the base branch from main to wzh-uid2-3572-s3encryption-keys-distribution-endpoint July 24, 2024 23:53
Base automatically changed from wzh-uid2-3572-s3encryption-keys-distribution-endpoint to main August 1, 2024 21:12
Copy link
Contributor

@thomasm-ttd thomasm-ttd left a comment

Choose a reason for hiding this comment

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

Some comments - please have a look before merging esp around test cases. But don't want to block you on a merge. Make sure to do a branch deploy and test before merging too

@@ -17,5 +17,6 @@
"att_token_enc_key": null,
"att_token_enc_salt": null,
"enforceJwt": false,
"s3_keys_metadata_path": null
"s3_keys_metadata_path": null,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do not forget to add this in the uid2-operator-deployment repo. Suggest you add that before you merge this

pom.xml Outdated
@@ -109,6 +109,11 @@
<version>5.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
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 byte-buddy do?

src/main/java/com/uid2/core/util/MetadataHelper.java Outdated Show resolved Hide resolved
assertEquals("error generating attestation token", json2.getString("message"));
JsonObject json2 = response2.bodyAsJsonObject();
assertEquals("error", json2.getString("status"));
assertEquals("error generating attestation token", json2.getString("message"));
Copy link
Contributor

Choose a reason for hiding this comment

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

whats up with indentation here?

@cody-constine-ttd cody-constine-ttd merged commit aba69a9 into main Dec 2, 2024
4 checks passed
@cody-constine-ttd cody-constine-ttd deleted the wzh-uid2-3574-check-version-update-presignedurl branch December 2, 2024 18:24
@cody-constine-ttd cody-constine-ttd restored the wzh-uid2-3574-check-version-update-presignedurl branch December 2, 2024 18:24
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.

4 participants