-
Notifications
You must be signed in to change notification settings - Fork 4
Updated DOI service to support for RAFTS #13
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
5cf0afb
Added support to rafts specific configuration properties.
aratikakadiya 7febd5c
merge
aratikakadiya 62d5b3c
Added support to fetch all the public DOIs.
aratikakadiya 35a8abf
Code refactoring.
aratikakadiya 1f4d3c5
Added Int Tests for RAFTS specific settings and permissions.
aratikakadiya 25c6743
Code refactoring.
aratikakadiya 713c3ad
Merge remote-tracking branch 'origin/main' into rafts
aratikakadiya 94d2515
Added POST endpoint /search with filter options - Role and Status.
aratikakadiya 0832589
Added few more Integration Tests for rafts.
aratikakadiya 4c84de1
Formatted code.
aratikakadiya 24c81a4
Updated StandardID in capabilities.
aratikakadiya 1c33cdd
Code cleaning,
aratikakadiya 79b0ff2
Code refactoring nad restructuring.
aratikakadiya 06e15da
Code review rework : Code refactoring and restructuring.
aratikakadiya 757610b
Updated integration tests readme file.
aratikakadiya 98de1ca
Rework - code review
aratikakadiya 40290c4
Rework - Resolved Code review comments.
aratikakadiya 5ec692e
updated test variables.
aratikakadiya ad993c1
Updated swagger UI to use latest js.
aratikakadiya 4db40b4
Merge remote-tracking branch 'origin/rafts' into rafts
aratikakadiya 0b23e3e
gradle dependancy updated.
aratikakadiya 1a9fa42
Updated IntTest property file to have doiIdentifierPrefix prop.
aratikakadiya e82b0cf
Renamed property of IntTest.
aratikakadiya 8845f53
Update variable name change in README file.
aratikakadiya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,29 @@ | ||
| # doi service integration tests | ||
|
|
||
| The integration tests can run against a local `doi` service, and either a local or remote VOSpace service. | ||
| The integration tests can run against two local `doi` service - one with basic configuration and one with alternate configuration, and either a local or remote VOSpace service. | ||
|
|
||
| ## configuration | ||
| While running both the basic and alternate configuration tests, _groupPrefix_ property can be set to `TEST.DOI-` to differentiate the test groups. | ||
|
|
||
| A file called `intTest.properties` can be in the classpath (in `src/intTest/resources`) to override properties. | ||
|
|
||
| ### intTest.properties | ||
| ``` | ||
| doiResourceID={resourceID of the doi service} | ||
| vospaceParentUri={VOSURI to the DOI parent folder in the VOSpace service} | ||
| doiVospaceParentUri={VOSURI to the DOI parent folder in the VOSpace service} | ||
| doiAltResourceID={resourceID of the doi service with alternate configuration} | ||
| doiAltVospaceParentUri={VOSURI to the Alt DOI parent folder in the VOSpace service} | ||
| doiAltIdentifierPrefix={prefix for the DOI Identifier} | ||
| ``` | ||
|
|
||
| **_vospaceParentUri_** must match `ca.nrc.cadc.doi.vospaceParentUri` configured in the doi service `doi.properties`. | ||
| **_doiVospaceParentUri_** must match `ca.nrc.cadc.doi.vospaceParentUri` configured in the doi service `doi.properties`. | ||
| **_doiAltVospaceParentUri_** must match `ca.nrc.cadc.doi.vospaceParentUri` configured in the Alternate doi service `doi.properties`. | ||
| **_doiAltIdentifierPrefix_** must match `doiIdentifierPrefix` configured in the Alternate doi service `doi.properties`. | ||
|
|
||
| ### certificates | ||
| Client test certificates in the `$A/test-certificates/` directory are used to authenticate to the doi service. | ||
| The following certificates are expected. | ||
| - `doi-admin.pem` owns and has full permissions to the test DOI. | ||
| - `doi-auth.pem` is a member of a group that has read-write permissions to the test DOI. | ||
| - `doi-noauth.pem` is not a member of any group that has permissions to the test DOI, resulting in read-only permissions to the test DOI. | ||
| - `doi-publisher.pem` is a member of a group that has publish permissions to the test DOI. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.