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

CADC-8776 update doi service int-test #9

Merged
merged 7 commits into from
Dec 9, 2024
Merged

Conversation

jburke-cadc
Copy link
Collaborator

  • int-tests no longer use the doiadmin user to run tests, the developer can use either a local VOSpace service they own or their home folder in a production VOSpace service.
  • individual CRUD int-tests replaced with a single DOI lifecycle int-test
  • intTest.properties file to set the doi service for testing and the VOSURI for the parent DOI folder in VOSpace.

@@ -0,0 +1,7 @@
# intTest.properties expects the following entries:

Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this file be in src/intTest directory instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Made it optional in src/int/test/resource and updated the intTest README to explain.

The `doi-auth.pem` user is a member of this group, giving this user read/write access to a test DOI.
The `doi-noauth.pem` user is not a member of this group, giving this user read-only access to a test DOI.
- `doi-admin.pem` owns and has full permissions to a test DOI.
- `doi-auth.pem` has read-write permissions to a test DOI.
Copy link
Collaborator

Choose a reason for hiding this comment

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

How? A group is required for that I assume.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, updated the README with a better explanation.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm. Didn't see the update.

doi/src/intTest/java/ca/nrc/cadc/doi/TestUtil.java Outdated Show resolved Hide resolved
doi/README.md Show resolved Hide resolved
@pdowler pdowler merged commit cc1ccaf into opencadc:main Dec 9, 2024
1 check passed
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