Add elixForms UI automation requests #2
@@ -2,7 +2,10 @@ name: "ESSE3 Anagrafica Pre-Prod #2"
|
|||||||
variables:
|
variables:
|
||||||
- name: esse3apiRootUrl
|
- name: esse3apiRootUrl
|
||||||
value: https://unipr2.esse3.pp.cineca.it
|
value: https://unipr2.esse3.pp.cineca.it
|
||||||
|
description: ""
|
||||||
- name: esse3apiUsername
|
- name: esse3apiUsername
|
||||||
value: "{{process.env.esse3apiUsername}}"
|
value: "{{process.env.esse3apiUsername}}"
|
||||||
|
description: ""
|
||||||
- name: esse3apiPassword
|
- name: esse3apiPassword
|
||||||
value: "{{process.env.esse3apiPassword}}"
|
value: "{{process.env.esse3apiPassword}}"
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -2,7 +2,10 @@ name: "ESSE3 Common Auth Pre-Prod #2"
|
|||||||
variables:
|
variables:
|
||||||
- name: esse3apiUsername
|
- name: esse3apiUsername
|
||||||
value: "{{process.env.esse3apiUsername}}"
|
value: "{{process.env.esse3apiUsername}}"
|
||||||
|
description: ""
|
||||||
- name: esse3apiPassword
|
- name: esse3apiPassword
|
||||||
value: "{{process.env.esse3apiPassword}}"
|
value: "{{process.env.esse3apiPassword}}"
|
||||||
|
description: ""
|
||||||
- name: esse3apiRootUrl
|
- name: esse3apiRootUrl
|
||||||
value: https://unipr2.esse3.pp.cineca.it/e3rest/api
|
value: https://unipr2.esse3.pp.cineca.it/e3rest/api
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
IdemApiUsername=
|
IdemApiUsername=
|
||||||
IdemApiPassword=
|
IdemApiPassword=
|
||||||
IdemApiKey=
|
IdemApiKey=
|
||||||
@@ -3,9 +3,13 @@ color: "#2E8A54"
|
|||||||
variables:
|
variables:
|
||||||
- name: IdemApiUrl
|
- name: IdemApiUrl
|
||||||
value: https://www.idem.unipr.it/ws/elix
|
value: https://www.idem.unipr.it/ws/elix
|
||||||
|
description: ""
|
||||||
- name: IdemApiUsername
|
- name: IdemApiUsername
|
||||||
value: "{{process.env.IdemApiUsername}}"
|
value: "{{process.env.IdemApiUsername}}"
|
||||||
|
description: ""
|
||||||
- name: IdemApiPassword
|
- name: IdemApiPassword
|
||||||
value: "{{process.env.IdemApiPassword}}"
|
value: "{{process.env.IdemApiPassword}}"
|
||||||
|
description: ""
|
||||||
- name: IdemApiKey
|
- name: IdemApiKey
|
||||||
value: "{{process.env.IdemApiKey}}"
|
value: "{{process.env.IdemApiKey}}"
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -3,9 +3,13 @@ color: "#C77A0F"
|
|||||||
variables:
|
variables:
|
||||||
- name: IdemApiUrl
|
- name: IdemApiUrl
|
||||||
value: https://www.idem2.unipr.it/ws/elix
|
value: https://www.idem2.unipr.it/ws/elix
|
||||||
|
description: ""
|
||||||
- name: IdemApiUsername
|
- name: IdemApiUsername
|
||||||
value: "{{process.env.IdemApiUsername}}"
|
value: "{{process.env.IdemApiUsername}}"
|
||||||
|
description: ""
|
||||||
- name: IdemApiPassword
|
- name: IdemApiPassword
|
||||||
value: "{{process.env.IdemApiPassword}}"
|
value: "{{process.env.IdemApiPassword}}"
|
||||||
|
description: ""
|
||||||
- name: IdemApiKey
|
- name: IdemApiKey
|
||||||
value: "{{process.env.IdemApiKey}}"
|
value: "{{process.env.IdemApiKey}}"
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -3,7 +3,10 @@ color: "#2E8A54"
|
|||||||
variables:
|
variables:
|
||||||
- name: IrisApiUrl
|
- name: IrisApiUrl
|
||||||
value: https://air.unipr.it/gw/rest/api
|
value: https://air.unipr.it/gw/rest/api
|
||||||
|
description: ""
|
||||||
- name: IrisApiUsername
|
- name: IrisApiUsername
|
||||||
value: "{{process.env.IrisApiUsername}}"
|
value: "{{process.env.IrisApiUsername}}"
|
||||||
|
description: ""
|
||||||
- name: IrisApiPassword
|
- name: IrisApiPassword
|
||||||
value: "{{process.env.IrisApiPassword}}"
|
value: "{{process.env.IrisApiPassword}}"
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -2,3 +2,4 @@ name: ORDS
|
|||||||
variables:
|
variables:
|
||||||
- name: situasBaseUrl
|
- name: situasBaseUrl
|
||||||
value: https://situas-servizi.istat.it/publish
|
value: https://situas-servizi.istat.it/publish
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -3,5 +3,7 @@ color: "#2E8A54"
|
|||||||
variables:
|
variables:
|
||||||
- name: ScopusApiKey1
|
- name: ScopusApiKey1
|
||||||
value: "{{process.env.ScopusApiKey1}}"
|
value: "{{process.env.ScopusApiKey1}}"
|
||||||
|
description: ""
|
||||||
- name: ScopusApiKey2
|
- name: ScopusApiKey2
|
||||||
value: "{{process.env.ScopusApiKey2}}"
|
value: "{{process.env.ScopusApiKey2}}"
|
||||||
|
description: ""
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ info:
|
|||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
url: "{{serverUri}}/idp/profile/oidc/authorize?client_id={{clientId}}&redirect_uri={{redirectUri}}&response_type=code&scope=openid profile email"
|
url: "{{shibbolethServerUri}}/idp/profile/oidc/authorize?client_id={{clientId}}&redirect_uri={{clientRedirectUri}}&response_type=code&scope=openid profile email"
|
||||||
params:
|
params:
|
||||||
- name: client_id
|
- name: client_id
|
||||||
value: "{{clientId}}"
|
value: "{{clientId}}"
|
||||||
type: query
|
type: query
|
||||||
- name: redirect_uri
|
- name: redirect_uri
|
||||||
value: "{{redirectUri}}"
|
value: "{{clientRedirectUri}}"
|
||||||
type: query
|
type: query
|
||||||
- name: response_type
|
- name: response_type
|
||||||
value: code
|
value: code
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ info:
|
|||||||
|
|
||||||
http:
|
http:
|
||||||
method: POST
|
method: POST
|
||||||
url: "{{serverUri}}/idp/profile/oidc/token"
|
url: "{{shibbolethServerUri}}/idp/profile/oidc/token"
|
||||||
headers:
|
headers:
|
||||||
- name: Content-Type
|
- name: Content-Type
|
||||||
value: application/x-www-form-urlencoded
|
value: application/x-www-form-urlencoded
|
||||||
@@ -15,11 +15,11 @@ http:
|
|||||||
- name: grant_type
|
- name: grant_type
|
||||||
value: authorization_code
|
value: authorization_code
|
||||||
- name: redirect_uri
|
- name: redirect_uri
|
||||||
value: "{{redirectUri}}"
|
value: "{{clientRedirectUri}}"
|
||||||
- name: scope
|
- name: scope
|
||||||
value: openid profile email
|
value: openid profile email
|
||||||
- name: code
|
- name: code
|
||||||
value: ""
|
value: AAdzZWNyZXQxcKlGLY3zJzZp-SXBg9tSJp2n8PxhgB5nnYFr1f50GfD69sLo_OZ3t73WEPW2BKhY5sGh6A-dEmu7nX_PCk0QU7UwZEkFTQPu28BPyE11r-aqAZEO88CN0bTZB5nzx8ecAcQMvE8X74rHpmiWDf2YKdQVPlb9N7ON_ALKWx1XmVueinmHiwXFow1hnhZMxZK_Jy0DSmT9QN4pbfyDD2UkRZo4BOgyxqlYiDWWGF39DkVdwJfrduq5HM3yT3bUdR2zB-u25ol6NrOpfkoaM5-QKWexCfmFLx_huZah4vXY0RnvdzE8v5fpLCYVDUwv3gSXpsOuS4Ynf84Wz8Nr6bdaCo8hfHdCvNDtNPEBy7DTQ-2rb3Lgqq_piqj3N9WpBFIqqRQfwHBnKGGr07TXoaEi_fSROZ99VIJaPVJZNTdCNiiR9Sql_78KJr1tapx9eQD2UnkRPlzpBvQU6W4uX4YHqgd0i9sLEBOFv4BkGc9AwpB5ew
|
||||||
description: Paste code obtained by manual flow in browser
|
description: Paste code obtained by manual flow in browser
|
||||||
auth:
|
auth:
|
||||||
type: basic
|
type: basic
|
||||||
@@ -31,7 +31,7 @@ runtime:
|
|||||||
- type: after-response
|
- type: after-response
|
||||||
code: |-
|
code: |-
|
||||||
var jsonData = res.getBody();
|
var jsonData = res.getBody();
|
||||||
bru.setEnvVar("accessToken", jsonData.access_token);
|
bru.setVar("accessToken", jsonData.access_token);
|
||||||
- type: tests
|
- type: tests
|
||||||
code: |-
|
code: |-
|
||||||
test("Status code is 200", function () {
|
test("Status code is 200", function () {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ info:
|
|||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
url: "{{serverUri}}/.well-known/openid-configuration"
|
url: "{{shibbolethServerUri}}/.well-known/openid-configuration"
|
||||||
auth: inherit
|
auth: inherit
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ info:
|
|||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
url: "{{serverUri}}/idp/profile/oidc/userinfo?client_id={{clientId}}&client_secret={{clientSecret}}"
|
url: "{{shibbolethServerUri}}/idp/profile/oidc/userinfo?client_id={{clientId}}&client_secret={{clientSecret}}"
|
||||||
headers:
|
headers:
|
||||||
- name: Content-Type
|
- name: Content-Type
|
||||||
value: application/x-www-form-urlencoded
|
value: application/x-www-form-urlencoded
|
||||||
|
|||||||
@@ -1,17 +1,14 @@
|
|||||||
name: Shibboleth
|
name: Shibboleth
|
||||||
variables:
|
variables:
|
||||||
- name: clientId
|
- name: clientId
|
||||||
value: "{{process.env.client_id}}"
|
value: "{{process.env.clientId}}"
|
||||||
description: ""
|
description: ""
|
||||||
- name: clientSecret
|
- name: clientSecret
|
||||||
value: "{{process.env.client_secret}}"
|
value: "{{process.env.clientSecret}}"
|
||||||
description: ""
|
description: ""
|
||||||
- name: redirectUri
|
- name: clientRedirectUri
|
||||||
value: https://gitea.unipr.it/user/oauth2/Shibboleth/callback
|
value: https://gitea.unipr.it/user/oauth2/Shibboleth/callback
|
||||||
description: ""
|
description: ""
|
||||||
- name: accessToken
|
- name: shibbolethServerUri
|
||||||
value: AAdzZWNyZXQx1CToBgEqA8mxMWGsLKf0V86PS2Oz-3bI5BlRuiitj3iXP_qfSJgNzYsMdsIQ9QRmoIOS6ISVvFSyJ5XeHYE_msw6VJELg9S6qsO4mrBBwCaUM9p3zMPwNBwZJVn6vqgGghpMS_xeW2EGthh9W0HBsh7WuPYK4HJVpTYIxgYR782xET0ZU3XxLBknOeMoye2IrH3sYpeCRQCmd1GUyTl1Ra4sGdqYcw3iiISA_FbPMXOLFQN8GcFtEcPxzc9CtH4PHKDYIj_QQx0IUgEH814pyC-Oc5-19Gfg4Ulps9ZHF9rb4csbi9mvWAuJESHcSp5NSAK9tEMFvBUCe_2nr7WyzaGTI1D6Nr1PenxbWIRAmXGF5LtzSrv-8_k8XSdufefACBVbZH6EQWm4smrqSlMab71F5s9wB3rFEK5IuANQblFljG_vfoCATpmk0MCYo47SApSrorMYN5K6yWf4P3PuyQrIdrw0PsRzBWoY8XpzQTGYN1I
|
|
||||||
description: ""
|
|
||||||
- name: serverUri
|
|
||||||
value: https://shibidp.unipr.it
|
value: https://shibidp.unipr.it
|
||||||
description: ""
|
description: ""
|
||||||
|
|||||||
+13
-4
@@ -4,16 +4,19 @@
|
|||||||
"elixFormsRootUrl",
|
"elixFormsRootUrl",
|
||||||
"elixFormsApiUrl",
|
"elixFormsApiUrl",
|
||||||
"elixFormsApiUrl_Default",
|
"elixFormsApiUrl_Default",
|
||||||
|
"elixFormsRootUrl",
|
||||||
"esse3apiRootUrl",
|
"esse3apiRootUrl",
|
||||||
"IdemApiUrl",
|
"IdemApiUrl",
|
||||||
"IrisApiUrl"
|
"IrisApiUrl",
|
||||||
|
"shibbolethServerUri",
|
||||||
|
"clientRedirectUri"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"API": {
|
"API": {
|
||||||
"elixForms API v2": {
|
"elixForms API v2": {
|
||||||
"elixFormsRootUrl": "https://procedure.unipr.it",
|
"elixFormsApiUrl": "https://console-unipr.elixforms.it/eF/services/api",
|
||||||
"elixFormsApiUrl": "https://procedure.unipr.it/eF/services/api",
|
"elixFormsApiUrl_Default": "https://console-unipr.elixforms.it/eF/api",
|
||||||
"elixFormsApiUrl_Default": "https://procedure.unipr.it/eF/api",
|
"elixFormsRootUrl": "https://console-unipr.elixforms.it",
|
||||||
"elixFormsApiUsername": null,
|
"elixFormsApiUsername": null,
|
||||||
"elixFormsApiPassword": null,
|
"elixFormsApiPassword": null,
|
||||||
"elixFormsConsoleUsername": null,
|
"elixFormsConsoleUsername": null,
|
||||||
@@ -44,6 +47,12 @@
|
|||||||
"Scopus": {
|
"Scopus": {
|
||||||
"ScopusApiKey1": null,
|
"ScopusApiKey1": null,
|
||||||
"ScopusApiKey2": null
|
"ScopusApiKey2": null
|
||||||
|
},
|
||||||
|
"Shibboleth": {
|
||||||
|
"shibbolethServerUri": "https://shibidp.unipr.it",
|
||||||
|
"clientId": null,
|
||||||
|
"clientSecret": null,
|
||||||
|
"clientRedirectUri": "https://gitea.unipr.it/user/oauth2/Shibboleth/callback"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user