-
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.
- Loading branch information
1 parent
a02a766
commit ac2ddd7
Showing
22 changed files
with
275 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
.../EDUC-GRAD-STUDENT-GRADUATION-API/Algorithm/Read All Data required by Grad Algorithm.bru
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,15 @@ | ||
meta { | ||
name: Read All Data required by Grad Algorithm | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/algo/algorithmdata/:programCode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
programCode: | ||
} |
15 changes: 15 additions & 0 deletions
15
...-GRAD-STUDENT-GRADUATION-API/Algorithm/Read All Grad Algorithm Rules by Program Code.bru
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,15 @@ | ||
meta { | ||
name: Read All Grad Algorithm Rules by Program Code | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/algo/algorithm-rules/:programCode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
programCode: | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Algorithm/Read All Grad Algorithm Rules.bru
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,11 @@ | ||
meta { | ||
name: Read All Grad Algorithm Rules | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/algo/algorithm-rules | ||
body: none | ||
auth: none | ||
} |
16 changes: 16 additions & 0 deletions
16
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Graduation Messages/Find a Grad Messaging.bru
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,16 @@ | ||
meta { | ||
name: Find a Grad Messaging | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/transcript/gradmessages/pgmCode/:pgmCode/msgType/:msgType | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
pgmCode: | ||
msgType: | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Graduation Messages/Find all Grad Messaging.bru
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,11 @@ | ||
meta { | ||
name: Find all Grad Messaging | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/transcript/gradmessages | ||
body: none | ||
auth: none | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Independent/Find All Letter Grade.bru
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,11 @@ | ||
meta { | ||
name: Find All Letter Grade | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/lgSc/lettergrade | ||
body: none | ||
auth: none | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Independent/Find All Special Cases.bru
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,11 @@ | ||
meta { | ||
name: Find All Special Cases | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/lgSc/specialcase | ||
body: none | ||
auth: none | ||
} |
15 changes: 15 additions & 0 deletions
15
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Independent/Find a Specific Letter Grade.bru
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,15 @@ | ||
meta { | ||
name: Find a Specific Letter Grade | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/lgSc/lettergrade/:letterGrade | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
letterGrade: | ||
} |
15 changes: 15 additions & 0 deletions
15
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Independent/Find a Specific Special Case.bru
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,15 @@ | ||
meta { | ||
name: Find a Specific Special Case | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/lgSc/specialcase/:specialCode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
specialCode: | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Ungrad Reasons/Create an Ungrad Reason.bru
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,11 @@ | ||
meta { | ||
name: Create an Ungrad Reason | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
post { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/undocompletionreason | ||
body: json | ||
auth: none | ||
} |
15 changes: 15 additions & 0 deletions
15
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Ungrad Reasons/Create an Ungrad Reasons.bru
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,15 @@ | ||
meta { | ||
name: Create an Ungrad Reasons | ||
type: http | ||
seq: 5 | ||
} | ||
|
||
post { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/studentundocompletionreason/studentid/:studentID | ||
body: json | ||
auth: none | ||
} | ||
|
||
params:path { | ||
studentID: | ||
} |
15 changes: 15 additions & 0 deletions
15
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Ungrad Reasons/Delete an Ungrad Reason.bru
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,15 @@ | ||
meta { | ||
name: Delete an Ungrad Reason | ||
type: http | ||
seq: 7 | ||
} | ||
|
||
delete { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/undocompletionreason/:reasonCode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
reasonCode: | ||
} |
15 changes: 15 additions & 0 deletions
15
...-GRAD-STUDENT-GRADUATION-API/Ungrad Reasons/Find Student Ungrad Reasons by Student ID.bru
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,15 @@ | ||
meta { | ||
name: Find Student Ungrad Reasons by Student ID | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/studentundocompletionreason/studentid/:studentID | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
studentID: | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Ungrad Reasons/Find all Ungrad Reasons.bru
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,11 @@ | ||
meta { | ||
name: Find all Ungrad Reasons | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/undocompletionreason | ||
body: none | ||
auth: none | ||
} |
15 changes: 15 additions & 0 deletions
15
...AD-STUDENT-GRADUATION-API/Ungrad Reasons/Find an Ungrad Reason by Ungrad Reasons Code.bru
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,15 @@ | ||
meta { | ||
name: Find an Ungrad Reason by Ungrad Reasons Code | ||
type: http | ||
seq: 6 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/undocompletionreason/:reasonCode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
reasonCode: | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/Ungrad Reasons/Update an Ungrad Reason.bru
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,11 @@ | ||
meta { | ||
name: Update an Ungrad Reason | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/api/v1/studentgraduation/undocompletion/undocompletionreason | ||
body: json | ||
auth: none | ||
} |
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,9 @@ | ||
{ | ||
"version": "1", | ||
"name": "EDUC-GRAD-STUDENT-GRADUATION-API", | ||
"type": "collection", | ||
"ignore": [ | ||
"node_modules", | ||
".git" | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/collection.bru
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,21 @@ | ||
headers { | ||
Authorization: Bearer {{token}} | ||
} | ||
|
||
auth { | ||
mode: oauth2 | ||
} | ||
|
||
auth:oauth2 { | ||
grant_type: client_credentials | ||
access_token_url: {{tokenRootUrl}}/auth/realms/master/protocol/openid-connect/token | ||
client_id: {{clientId}} | ||
client_secret: {{secret}} | ||
scope: | ||
} | ||
|
||
script:post-response { | ||
if(req.getAuthMode() == 'oauth2' && res.body.access_token) { | ||
bru.setVar('token', res.body.access_token); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/environments/dev.bru
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,8 @@ | ||
vars { | ||
baseUrl: https://educ-grad-student-graduation-api-77c02f-dev.apps.silver.devops.gov.bc.ca | ||
tokenRootUrl: https://soam-dev.apps.silver.devops.gov.bc.ca | ||
} | ||
vars:secret [ | ||
clientId, | ||
secret | ||
] |
8 changes: 8 additions & 0 deletions
8
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/environments/local.bru
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,8 @@ | ||
vars { | ||
baseUrl: http://localhost:8093 | ||
tokenRootUrl: https://soam-dev.apps.silver.devops.gov.bc.ca | ||
} | ||
vars:secret [ | ||
clientId, | ||
secret | ||
] |
8 changes: 8 additions & 0 deletions
8
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/environments/prod.bru
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,8 @@ | ||
vars { | ||
baseUrl: http://localhost:8888 | ||
tokenRootUrl: https://soam-prod.apps.silver.devops.gov.bc.ca | ||
} | ||
vars:secret [ | ||
clientId, | ||
secret | ||
] |
8 changes: 8 additions & 0 deletions
8
tools/bruno/EDUC-GRAD-STUDENT-GRADUATION-API/environments/test.bru
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,8 @@ | ||
vars { | ||
baseUrl: http://localhost:8888 | ||
tokenRootUrl: https://soam-test.apps.silver.devops.gov.bc.ca | ||
} | ||
vars:secret [ | ||
clientId, | ||
secret | ||
] |