add runner to find CCT instances by contract
move old requests to own folder
This commit is contained in:
+1210
File diff suppressed because it is too large
Load Diff
+124
@@ -0,0 +1,124 @@
|
||||
info:
|
||||
name: Set Request Status (OLD)
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/set-status/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare (???)
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: Set Request Status - Success
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/set-status/v1"
|
||||
method: POST
|
||||
params:
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
data:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
- name: requestStatus
|
||||
value: SUBMITTED
|
||||
description: "nuovo stato della request, possibili valori: SUBMITTED, PROCESSED"
|
||||
- name: swfOptionKey
|
||||
value: "1"
|
||||
description: indice del valore associato al SWF che si desidera impostare (???)
|
||||
- name: properties
|
||||
value: '[{"key":"COL0004","value":"cambio stato manuale"},{"key":"COL0002","value":"31-03-2025"}]'
|
||||
description: mappa chiave,valore/i aggiuntivo/i in formato json (url-encoding richiesto in UTF-8)
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 20219 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.0.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 20219 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "a0cb7057-f4ea-4a12-9cb5-23cac7b651fe",
|
||||
"version": "3.7.0.6",
|
||||
"acquiredRequestReceiptId": "20219",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
info:
|
||||
name: "Set Request Status: Register result (OLD)"
|
||||
type: http
|
||||
seq: 6
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}/v1/?username={{elixFormsApiUsername}}"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
|
||||
examples:
|
||||
- name: "Set Request Status: Register result - Success"
|
||||
request:
|
||||
url: "{{elixFormsApiUrl}}/request/:request_id/swf/columns;{{elixRegisterResultColumns}}/v1/?username={{elixFormsApiUsername}}"
|
||||
method: POST
|
||||
params:
|
||||
- name: username
|
||||
value: "{{elixFormsApiUsername}}"
|
||||
type: query
|
||||
- name: request_id
|
||||
value: "6085"
|
||||
type: path
|
||||
body:
|
||||
type: form-urlencoded
|
||||
response:
|
||||
statusText: "200"
|
||||
headers:
|
||||
- name: cache-control
|
||||
value: no-cache, no-store, must-revalidate
|
||||
- name: pragma
|
||||
value: no-cache
|
||||
- name: proxy-connection
|
||||
value: Keep-Alive
|
||||
- name: x-content-security-policy
|
||||
value: default-src 'self'; connect-src 'self'; font-src 'none'; img-src 'self'; media-src 'self'; object-src 'self'; plugin-types application/pdf audio/x-wav; referrer no-referrer; reflected-xss block; script-src 'self'; style-src 'self'
|
||||
- name: content-type
|
||||
value: application/json;charset=UTF-8
|
||||
- name: strict-transport-security
|
||||
value: max-age=63072000;includeSubDomains
|
||||
- name: content-security-policy
|
||||
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
|
||||
- name: x-frame-options
|
||||
value: SAMEORIGIN
|
||||
- name: x-xss-protection
|
||||
value: 1;mode=block
|
||||
- name: x-content-type-options
|
||||
value: nosniff
|
||||
- name: referrer-policy
|
||||
value: unsafe-url
|
||||
- name: transfer-encoding
|
||||
value: chunked
|
||||
- name: vary
|
||||
value: Accept-Encoding
|
||||
- name: content-encoding
|
||||
value: gzip
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"value": {
|
||||
"code": "OK",
|
||||
"description": "Report with id 26507 was generated",
|
||||
"complete": true,
|
||||
"globalStatus": "OK",
|
||||
"serviceInformationList": {
|
||||
"serviceInformation": [
|
||||
{
|
||||
"ITSystemName": "EF-CORE",
|
||||
"complete": true,
|
||||
"serviceVersion": "1.2.0",
|
||||
"statusDetailList": {
|
||||
"statusDetail": [
|
||||
{
|
||||
"code": "OK",
|
||||
"description": "Report with id 26507 was generated",
|
||||
"detailStatus": "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uuid": "b5cb8917-5aeb-4497-a619-64e3b9d73148",
|
||||
"version": "3.9.2.17",
|
||||
"acquiredRequestReceiptId": "26507",
|
||||
"acquiredRequestsSize": 1
|
||||
}
|
||||
}
|
||||
|
||||
docs: |-
|
||||
The elixRegisterResultColumns variable must be built like the following:
|
||||
|
||||
- one index=value couple for every field in the SWF schema that must be updated, where index is the "name" of the schema field (e.g.: COL0003, if the field is found in the SWF schema) and the value is the string content that must be assigned
|
||||
- each couple must be separated by a semi-period (\`;\` character)
|
||||
|
||||
|
||||
For example, suppose the request has a SWF schema with ID 356, containing:
|
||||
|
||||
- State = COL0001
|
||||
- Date = COL0002
|
||||
- Email = COL0003
|
||||
- Message = COL0004
|
||||
|
||||
|
||||
If you want to change the CURRENT state's date and message values, you will put into the variable the following value:
|
||||
|
||||
`COL0002=31-03-2025;COL0004=this is the new message`
|
||||
|
||||
Keep in mind that Postman automatically encodes the parameter, so it's allowed to use spaces and other symbols (maybe?).
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: OLD
|
||||
type: folder
|
||||
seq: 6
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
Reference in New Issue
Block a user