-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test RIO queue; command line and github action (#308)
* Test rio * Test hourly, not on push * Added docs
- Loading branch information
Showing
8 changed files
with
178 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Check if RIO queue is up or down | ||
|
||
on: | ||
schedule: | ||
- cron: '6 9-17 * * 1-5' # every hour on weekdays during working hours | ||
|
||
jobs: | ||
deps: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cache lein project dependencies | ||
uses: actions/cache@v4 | ||
with: | ||
path: "~/.m2/repository" | ||
key: "${{ runner.os }}-clojure-${{ hashFiles('**/project.clj') }}" | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup certificate stores | ||
env: | ||
KEYSTORE_JKS_B64: ${{ secrets.KEYSTORE_JKS_B64 }} | ||
TRUSTSTORE_JKS_B64: ${{ secrets.TRUSTSTORE_JKS_B64 }} | ||
run: | | ||
echo "$KEYSTORE_JKS_B64" | base64 -d > keystore.jks | ||
echo "$TRUSTSTORE_JKS_B64" | base64 -d > truststore.jks | ||
- name: Check rio queue status | ||
env: | ||
CLIENTS_INFO_PATH: ${{ secrets.CLIENTS_INFO_PATH }} | ||
CLIENT_ID: ${{ secrets.CLIENT_ID }} | ||
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} | ||
GATEWAY_PASSWORD: ${{ secrets.GATEWAY_PASSWORD }} | ||
GATEWAY_ROOT_URL: ${{ secrets.GATEWAY_ROOT_URL }} | ||
GATEWAY_USER: ${{ secrets.GATEWAY_USER }} | ||
KEYSTORE: keystore.jks | ||
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} | ||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
OS_AUTH_URL: ${{ secrets.OS_AUTH_URL }} | ||
OS_CONTAINER_NAME: ${{ secrets.OS_CONTAINER_NAME }} | ||
OS_PASSWORD: ${{ secrets.OS_PASSWORD }} | ||
OS_PROJECT_NAME: ${{ secrets.OS_PROJECT_NAME }} | ||
OS_USERNAME: ${{ secrets.OS_USERNAME }} | ||
RIO_READ_URL: ${{ secrets.RIO_READ_URL }} | ||
RIO_RECIPIENT_OIN: ${{ secrets.RIO_RECIPIENT_OIN }} | ||
RIO_SENDER_OIN: ${{ secrets.RIO_SENDER_OIN }} | ||
RIO_RETRY_ATTEMPTS_SECONDS: '5,10,15' | ||
RIO_UPDATE_URL: ${{ secrets.RIO_UPDATE_URL }} | ||
STORE_HTTP_REQUESTS: true | ||
SURF_CONEXT_CLIENT_ID: ${{ secrets.SURF_CONEXT_CLIENT_ID }} | ||
SURF_CONEXT_CLIENT_SECRET: ${{ secrets.SURF_CONEXT_CLIENT_SECRET }} | ||
SURF_CONEXT_INTROSPECTION_ENDPOINT: ${{ secrets.SURF_CONEXT_INTROSPECTION_ENDPOINT }} | ||
TOKEN_ENDPOINT: ${{ secrets.TOKEN_ENDPOINT }} | ||
TRUSTSTORE: truststore.jks | ||
TRUSTSTORE_PASSWORD: ${{ secrets.TRUSTSTORE_PASSWORD }} | ||
run: lein mapper test-rio rio-mapper-dev.jomco.nl |
This file contains 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,6 +1,7 @@ | ||
/target | ||
/classes | ||
/checkouts | ||
/scripts | ||
/.idea | ||
*.iml | ||
profiles.clj | ||
|
This file contains 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 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 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 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 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 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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"educationSpecificationId": "123e4567-e89b-12d3-a456-426614174000", | ||
"primaryCode": { | ||
"codeType": "crohoCreboCode", | ||
"code": "string" | ||
}, | ||
"otherCodes": [ | ||
{ | ||
"codeType": "crohoCreboCode", | ||
"code": "1234123" | ||
} | ||
], | ||
"educationSpecificationType": "program", | ||
"name": [ | ||
{ | ||
"language": "en-GB", | ||
"value": "Bachelor Chemical technology" | ||
}, | ||
{ | ||
"language": "nl-BE", | ||
"value": "Bachelor Chemische technologie" | ||
} | ||
], | ||
"abbreviation": "B Scheikundige Technologie", | ||
"description": [ | ||
{ | ||
"language": "en-GB", | ||
"value": "program that is a place holder for all courses that are made available for student mobility, program that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobilityprogram that is a place holder for all courses that are made available for student mobility" | ||
} | ||
], | ||
"formalDocument": "diploma", | ||
"level": "master", | ||
"sector": "university education", | ||
"levelOfQualification": "6", | ||
"fieldsOfStudy": "0732", | ||
"studyLoad": { | ||
"studyLoadUnit": "ects", | ||
"value": 3 | ||
}, | ||
"learningOutcomes": [ | ||
[ | ||
{ | ||
"language": "en-GB", | ||
"value": "Executable knowledge of Chemical technology, including: Acquire knowledge of research paradigms." | ||
} | ||
] | ||
], | ||
"link": "https://bijvak.nl", | ||
"parent": "42e2bc1b-6741-4e2e-b138-97b4a342c999", | ||
"children": [ | ||
"497f6eca-6276-4993-bfeb-53cbbbba6f08" | ||
], | ||
"organization": "452c1a86-a0af-475b-b03f-724878b0f387", | ||
"consumers": [ | ||
{ | ||
"consumerKey": "rio", | ||
"educationSpecificationSubType": "variant" | ||
} | ||
], | ||
"ext": {}, | ||
"validFrom": "2019-08-24", | ||
"validTo": "2019-08-25" | ||
} |