-
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.
Merge branch 'IMN-896_Supertest-tenant' into IMN-893_Supertest-attrib…
…ute-registry
- Loading branch information
Showing
365 changed files
with
35,452 additions
and
5,997 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
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 +1,3 @@ | ||
save-prefix= | ||
auto-install-peers = false | ||
strict-peer-dependencies = true |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ headers { | |
|
||
body:json { | ||
{ | ||
"identity_token": {{JWT}} | ||
"identity_token": "{{process.env.JWT}}" | ||
} | ||
} | ||
|
||
|
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,20 @@ | ||
meta { | ||
name: Approve delegation | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{host-bff}}/producer/delegations/:delegationId/approve | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: dd10132c-f3c9-45cf-994c-3a312bc4ab4e | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
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: Create new delegation | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{host-bff}}/producer/delegations | ||
body: json | ||
auth: none | ||
} | ||
|
||
body:json { | ||
{ | ||
"eserviceId": "2f19b864-0fdc-4d2d-b01f-52bfad74fd34", | ||
"delegateId": "aada3e71-c544-4fa0-beb8-81274ae0addf" | ||
} | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
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: Retrieves a delegation by ID | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{host-bff}}/delegations/:delegationId | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: dd10132c-f3c9-45cf-994c-3a312bc4ab4e | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
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,26 @@ | ||
meta { | ||
name: List delegations | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{host-bff}}/delegations?offset=0&limit=50 | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
offset: 0 | ||
limit: 50 | ||
~kind: DELEGATED_PRODUCER | ||
~states: WAITING_FOR_APPROVAL | ||
~delegatorIds: | ||
~delegateIds: | ||
~eserviceIds: | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
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,26 @@ | ||
meta { | ||
name: Reject delegation | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{host-bff}}/producer/delegations/:delegationId/reject | ||
body: json | ||
auth: none | ||
} | ||
|
||
body:json { | ||
{ | ||
"rejectionReason": "I'm not feel comfortable with this delegation" | ||
} | ||
} | ||
|
||
params:path { | ||
delegationId: dd10132c-f3c9-45cf-994c-3a312bc4ab4e | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
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: Revoke a delegation by ID | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
delete { | ||
url: {{host-bff}}/producer/delegations/:delegationId | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: dd10132c-f3c9-45cf-994c-3a312bc4ab4e | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
11 changes: 11 additions & 0 deletions
11
collections/delegation/Delegation Process Micro Service/health/Health status endpoint.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: Health status endpoint | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{host-delegation}}/status | ||
body: none | ||
auth: none | ||
} |
20 changes: 20 additions & 0 deletions
20
collections/delegation/Delegation Process Micro Service/producer/Approves a delegation.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: Approves a delegation | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
post { | ||
url: {{host-delegation}}/producer/delegations/:delegationId/approve | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
23 changes: 23 additions & 0 deletions
23
collections/delegation/Delegation Process Micro Service/producer/Delegation Creation.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: Delegation Creation | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
post { | ||
url: {{host-delegation}}/producer/delegations | ||
body: json | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} | ||
|
||
body:json { | ||
{ | ||
"eserviceId": "", | ||
"delegateId": "" | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ctions/delegation/Delegation Process Micro Service/producer/List producer delegations.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,26 @@ | ||
meta { | ||
name: List producer delegations | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{host-delegation}}/delegations?offset=0&limit=50 | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
offset: 0 | ||
limit: 50 | ||
~kind: DELEGATED_PRODUCER | ||
~delegationStates: WAITING_FOR_APPROVAL | ||
~delegatorIds: | ||
~delegateIds: | ||
~eserviceIds: | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
26 changes: 26 additions & 0 deletions
26
collections/delegation/Delegation Process Micro Service/producer/Rejects a delegation.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,26 @@ | ||
meta { | ||
name: Rejects a delegation | ||
type: http | ||
seq: 5 | ||
} | ||
|
||
post { | ||
url: {{host-delegation}}/producer/delegations/:delegationId/reject | ||
body: json | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} | ||
|
||
body:json { | ||
{ | ||
"rejectionReason": "" | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
collections/delegation/Delegation Process Micro Service/producer/Retrieves a delegation.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: Retrieves a delegation | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{host-delegation}}/delegations/:delegationId | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: 123e4567-e89b-12d3-a456-426614174000 | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
16 changes: 16 additions & 0 deletions
16
collections/delegation/Delegation Process Micro Service/producer/Revoke a delegation.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: Revoke a delegation | ||
type: http | ||
seq: 6 | ||
} | ||
|
||
delete { | ||
url: {{host-delegation}}/producer/delegations/:delegationId | ||
body: none | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
Oops, something went wrong.