-
Notifications
You must be signed in to change notification settings - Fork 1
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
90b1c6c
commit 287b18a
Showing
18 changed files
with
293 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...DUC-GRAD-BUSINESS-API/Graduation Data/Adapt graduation data for certificate reporting.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: Adapt graduation data for certificate reporting | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
post { | ||
url: {{baseUrl}}/api/v1/certificate/report/data | ||
body: json | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
19 changes: 19 additions & 0 deletions
19
...EDUC-GRAD-BUSINESS-API/Graduation Data/Adapt graduation data for transcript reporting.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,19 @@ | ||
meta { | ||
name: Adapt graduation data for transcript reporting | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
post { | ||
url: {{baseUrl}}/api/v1/transcript/report/data | ||
body: json | ||
auth: none | ||
} | ||
|
||
params:query { | ||
~type: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
19 changes: 19 additions & 0 deletions
19
...SINESS-API/Graduation Data/Get Certificate Report data from graduation by student pen.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,19 @@ | ||
meta { | ||
name: Get Certificate Report data from graduation by student pen | ||
type: http | ||
seq: 10 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/certificate/report/data/:pen | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
pen: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
19 changes: 19 additions & 0 deletions
19
...I/Graduation Data/Get District Report pdf from graduation by distcode and report type.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,19 @@ | ||
meta { | ||
name: Get District Report pdf from graduation by distcode and report type | ||
type: http | ||
seq: 5 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v2/district/report/:distcode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
type: | ||
} | ||
|
||
params:path { | ||
distcode: | ||
} |
19 changes: 19 additions & 0 deletions
19
...-API/Graduation Data/Get School Report pdf from graduation by mincode and report type.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,19 @@ | ||
meta { | ||
name: Get School Report pdf from graduation by mincode and report type | ||
type: http | ||
seq: 11 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/amalgamated/schoolreport/:mincode | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
type: | ||
} | ||
|
||
params:path { | ||
mincode: | ||
} |
20 changes: 20 additions & 0 deletions
20
...S-API/Graduation Data/Get Student Transcript or TVR Report pdf by PEN and report type.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,20 @@ | ||
meta { | ||
name: Get Student Transcript or TVR Report pdf by PEN and report type | ||
type: http | ||
seq: 8 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studentcredential/:pen/type/:type | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
pen: | ||
type: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
23 changes: 23 additions & 0 deletions
23
...USINESS-API/Graduation Data/Get Transcript Report data from graduation by student pen.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,23 @@ | ||
meta { | ||
name: Get Transcript Report data from graduation by student pen | ||
type: http | ||
seq: 6 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/transcript/report/data/:pen | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
~type: | ||
} | ||
|
||
params:path { | ||
pen: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
24 changes: 24 additions & 0 deletions
24
...-API/Graduation Data/Get Transcript Report pdf by PEN and optional xml type parameter.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,24 @@ | ||
meta { | ||
name: Get Transcript Report pdf by PEN and optional xml type parameter | ||
type: http | ||
seq: 7 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/studenttranscript/:pen | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
~type: | ||
~interim: | ||
} | ||
|
||
params:path { | ||
pen: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
15 changes: 15 additions & 0 deletions
15
tools/bruno/EDUC-GRAD-BUSINESS-API/Graduation Data/Get Xml Data for transcript reporting.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: Get Xml Data for transcript reporting | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{baseUrl}}/api/v1/transcript/xml/report/data | ||
body: json | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
19 changes: 19 additions & 0 deletions
19
tools/bruno/EDUC-GRAD-BUSINESS-API/Student Demographics/Get Student Demographic by PEN.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,19 @@ | ||
meta { | ||
name: Get Student Demographic by PEN | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/student/demog/:pen | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
pen: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
20 changes: 20 additions & 0 deletions
20
tools/bruno/EDUC-GRAD-BUSINESS-API/Student Demographics/Get student document by PEN.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,20 @@ | ||
meta { | ||
name: Get student document by PEN | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/document/:pen | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
~docType: | ||
~docFormat: | ||
} | ||
|
||
params:path { | ||
pen: | ||
} |
19 changes: 19 additions & 0 deletions
19
tools/bruno/EDUC-GRAD-BUSINESS-API/Student Demographics/Search For Students by PEN.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,19 @@ | ||
meta { | ||
name: Search For Students by PEN | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{baseUrl}}/api/v1/pen/:pen | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
pen: | ||
} | ||
|
||
headers { | ||
Authorization: | ||
} |
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-BUSINESS-API", | ||
"type": "collection", | ||
"ignore": [ | ||
"node_modules", | ||
".git" | ||
] | ||
} |
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); | ||
} | ||
} |
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-business-api-77c02f-dev.apps.silver.devops.gov.bc.ca | ||
tokenRootUrl: https://soam-dev.apps.silver.devops.gov.bc.ca | ||
} | ||
vars:secret [ | ||
clientId, | ||
secret | ||
] |
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:8084 | ||
tokenRootUrl: https://soam-dev.apps.silver.devops.gov.bc.ca | ||
} | ||
vars:secret [ | ||
clientId, | ||
secret | ||
] |
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 | ||
] |
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 | ||
] |