-
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 'develop' into align-develop-20241122
- Loading branch information
Showing
385 changed files
with
38,637 additions
and
6,726 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 |
---|---|---|
@@ -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
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}} | ||
} |
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,30 @@ | ||
meta { | ||
name: List 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}} | ||
} | ||
|
||
vars:post-response { | ||
delegationId: res.body.results.at(-1).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 | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{host-delegation}}/delegations/:delegationId | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: {{delegationId}} | ||
} | ||
|
||
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,11 @@ | ||
meta { | ||
name: Health status endpoint | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{host-delegation}}/status | ||
body: none | ||
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,20 @@ | ||
meta { | ||
name: Approves a delegation | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
post { | ||
url: {{host-delegation}}/producer/delegations/:delegationId/approve | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: {{delegationId}} | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT2}} | ||
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,27 @@ | ||
meta { | ||
name: Delegation Creation | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{host-delegation}}/producer/delegations | ||
body: json | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} | ||
|
||
body:json { | ||
{ | ||
"eserviceId": "{{eserviceId}}", | ||
"delegateId": "{{tenantId2}}" | ||
} | ||
} | ||
|
||
vars:post-response { | ||
delegationId: res.body.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: Rejects a delegation | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
post { | ||
url: {{host-delegation}}/producer/delegations/:delegationId/reject | ||
body: json | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: {{delegationId}} | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT2}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} | ||
|
||
body:json { | ||
{ | ||
"rejectionReason": "test rejection reason" | ||
} | ||
} |
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 | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
delete { | ||
url: {{host-delegation}}/producer/delegations/:delegationId | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:path { | ||
delegationId: {{delegationId}} | ||
} | ||
|
||
headers { | ||
Authorization: {{JWT}} | ||
X-Correlation-Id: {{correlation-id}} | ||
} |
Oops, something went wrong.