Skip to content

Commit

Permalink
Add create document on eservice template
Browse files Browse the repository at this point in the history
Readd missing headers

Re add problem

Remove comments
  • Loading branch information
sandrotaje committed Feb 19, 2025
1 parent 5af39c6 commit a59c3cb
Show file tree
Hide file tree
Showing 85 changed files with 900 additions and 230 deletions.
2 changes: 1 addition & 1 deletion collections/bff/catalog/Add new e-service document.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Add new e-service document
type: http
seq: 1
seq: 2
}

post {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Adds a descriptor to the specified e-service
type: http
seq: 1
seq: 3
}

post {
Expand All @@ -19,8 +19,6 @@ headers {
x-correlation-id: {{correlation-id}}
}



body:json {
{
"audience": [
Expand Down
4 changes: 1 addition & 3 deletions collections/bff/catalog/Clones the selected descriptor.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Clones the selected descriptor-
type: http
seq: 1
seq: 4
}

post {
Expand All @@ -19,5 +19,3 @@ headers {
Authorization: {{JWT}}
x-correlation-id: {{correlation-id}}
}


2 changes: 1 addition & 1 deletion collections/bff/catalog/Create a new EService.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Create a new EService
type: http
seq: 1
seq: 5
}

post {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Deletes a draft descriptor or an eservice if empty
type: http
seq: 1
seq: 6
}

delete {
Expand All @@ -19,5 +19,3 @@ headers {
Authorization: {{JWT}}
x-correlation-id: {{correlation-id}}
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Deletes an e-service document.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Deletes an e-service document
type: http
seq: 1
seq: 7
}

delete {
Expand All @@ -20,5 +20,3 @@ headers {
Authorization: {{JWT}}
x-correlation-id: {{correlation-id}}
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Deletes an e-service.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Deletes an e-service
type: http
seq: 1
seq: 8
}

delete {
Expand All @@ -18,5 +18,3 @@ headers {
Authorization: {{JWT}}
x-correlation-id: {{correlation-id}}
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Export descriptor.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Export descriptor
type: http
seq: 2
seq: 25
}

get {
Expand All @@ -20,5 +20,3 @@ headers {
x-correlation-id: {{correlation-id}}
Accept: application/octet-stream
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Export eservice descriptor.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Export eservice descriptor
type: http
seq: 1
seq: 9
}

get {
Expand All @@ -14,5 +14,3 @@ params:path {
eserviceId: 26f433e1-2c3c-4022-a14e-3c300baefc51
descriptorId: abafb202-4f61-42bf-be2f-4efa5d4d0bc4
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Generate Put Presigned URL.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Generate Put Presigned URL
type: http
seq: 4
seq: 33
}

get {
Expand All @@ -19,5 +19,3 @@ headers {
x-correlation-id: {{correlation-id}}
Accept: application/octet-stream
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Get an e-service document.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Get an e-service document
type: http
seq: 2
seq: 26
}

get {
Expand All @@ -21,5 +21,3 @@ headers {
x-correlation-id: {{correlation-id}}
Accept: application/octet-stream
}


4 changes: 1 addition & 3 deletions collections/bff/catalog/Import Eservice.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Import Eservice
type: http
seq: 3
seq: 29
}

post {
Expand All @@ -16,8 +16,6 @@ headers {
Accept: application/octet-stream
}



body:json {
{
"filename": "054d02f9-7beb-4443-994a-062c4157672e_1635b970-eb99-4c12-8a51-aac884dfd648.zip",
Expand Down
4 changes: 1 addition & 3 deletions collections/bff/catalog/Import Eservices URL.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Import Eservices URL
type: http
seq: 2
seq: 27
}

get {
Expand All @@ -18,5 +18,3 @@ headers {
Authorization: {{JWT}}
X-Correlation-Id: {{correlation-id}}
}


3 changes: 1 addition & 2 deletions collections/bff/catalog/Import Eservices.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Import Eservices
type: http
seq: 1
seq: 10
}

post {
Expand All @@ -15,7 +15,6 @@ headers {
X-Correlation-Id: {{correlation-id}}
}


body:multipart-form {
filename: f07b1c49-38fc-445e-a103-c2c156ae85ca_3bb5154d-eebc-42fd-9ea9-32b5be48e434.zip
url: http://localhost:9000/interop-application-import-export-local/local/eservices-import/69e2865e-65ab-4e48-a638-2037a9ee2ee7/f07b1c49-38fc-445e-a103-c2c156ae85ca_3bb5154d-eebc-42fd-9ea9-32b5be48e434.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=testawskey%2F20241001%2Feu-south-1%2Fs3%2Faws4_request&X-Amz-Date=20241001T140847Z&X-Amz-Expires=5000&X-Amz-Signature=d57f527006fce0a819c381821c688aa9d211a38f250f8bc450ff661ca06923d2&X-Amz-SignedHeaders=host&x-id=PutObject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Publish the selected descriptor-
type: http
seq: 1
seq: 11
}

post {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Retrieve Consumers for an EService
type: http
seq: 1
seq: 12
}

get {
Expand All @@ -19,5 +19,3 @@ headers {
x-correlation-id: {{correlation-id}}
Accept: application/octet-stream
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Retrieve a catalog eservice descriptor
type: http
seq: 1
seq: 13
}

get {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Retrieve a producer eservice descriptor
type: http
seq: 1
seq: 14
}

get {
Expand Down
2 changes: 1 addition & 1 deletion collections/bff/catalog/Retrieve a producer eservice.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Retrieve a producer eservice
type: http
seq: 1
seq: 15
}

get {
Expand Down
4 changes: 1 addition & 3 deletions collections/bff/catalog/Retrieves EServices catalog.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Retrieves EServices catalog
type: http
seq: 1
seq: 16
}

get {
Expand All @@ -26,8 +26,6 @@ headers {
x-correlation-id: {{correlation-id}}
}



docs {
Retrieves EServices catalog
}
4 changes: 1 addition & 3 deletions collections/bff/catalog/Retrieves Producer EServices.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Retrieves Producer EServices
type: http
seq: 1
seq: 17
}

get {
Expand All @@ -22,8 +22,6 @@ headers {
x-correlation-id: {{correlation-id}}
}



docs {
Retrieves Producer EServices
}
4 changes: 1 addition & 3 deletions collections/bff/catalog/Suspend the selected descriptor.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Suspend the selected descriptor-
type: http
seq: 1
seq: 18
}

post {
Expand All @@ -19,5 +19,3 @@ headers {
Authorization: {{JWT}}
x-correlation-id: {{correlation-id}}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Update EService general information
type: http
seq: 1
seq: 19
}

put {
Expand Down Expand Up @@ -33,7 +33,7 @@ body:json {

script:pre-request {
const random = Math.round(Math.random() * 10000)

bru.setVar("randomName",`test name ${random}`)
bru.setVar("randomCode",random)
}
4 changes: 1 addition & 3 deletions collections/bff/catalog/Update the selected descriptor.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Publish the selected descriptor-
type: http
seq: 1
seq: 20
}

post {
Expand All @@ -20,8 +20,6 @@ headers {
x-correlation-id: {{correlation-id}}
}



body:json {
{
"voucherLifespan": "<integer>",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Updates EService delegation flags
type: http
seq: 3
seq: 30
}

post {
Expand Down
2 changes: 1 addition & 1 deletion collections/bff/catalog/Updates EService description.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Updates EService description
type: http
seq: 3
seq: 31
}

post {
Expand Down
4 changes: 1 addition & 3 deletions collections/bff/catalog/Updates a draft descriptor.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Updates a draft descriptor
type: http
seq: 5
seq: 34
}

put {
Expand All @@ -20,8 +20,6 @@ headers {
x-correlation-id: {{correlation-id}}
}



body:json {
{
"audience": [
Expand Down
4 changes: 1 addition & 3 deletions collections/bff/catalog/Updates an e-service document.bru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: Updates an e-service document
type: http
seq: 1
seq: 21
}

post {
Expand All @@ -21,8 +21,6 @@ headers {
x-correlation-id: {{correlation-id}}
}



body:json {
{
"prettyName": "<string>"
Expand Down
Loading

0 comments on commit a59c3cb

Please sign in to comment.