-
Notifications
You must be signed in to change notification settings - Fork 0
platformList
sgokaram-saagie edited this page Mar 31, 2020
·
5 revisions
This task allows to list all platforms accessible to you.
The task can be launched with the command gradle platformList
.
Once your saagie
object is available on your project with the server
correctly set up,
you are ready to go.
saagie {
server {
url = <platform_url>
login = <login>
password = <password>
proxyHost = <proxy_host>
proxyPort = <proxy_port>
acceptSelfSigned = <accept_self_signed>
jwt = true
}
...
}
jwt
is mandatory and must be set to true for this call.
saagie {
server {
url = https://saagie-beta.prod.saagie.io/
login = 'my-login'
password = 'my-password'
jwt = true
realm = saagie
}
}
[
{
"platformId": 4,
"platformName": "Demo",
"permissions": [
{
"artifact": {
"type": "PROJECTS"
},
"role": "ROLE_PROJECT_MANAGER"
},
{
"artifact": {
"type": "PROJECTS_CREATOR"
},
"role": "ROLE_PROJECT_CREATOR"
},
{
"artifact": {
"type": "PROJECTS_ENVVAR_EDITOR"
},
"role": "ROLE_PROJECT_ENVVAR_EDITOR"
}
]
},
{
"platformId": 12,
"platformName": "Training",
"permissions": [
{
"artifact": {
"type": "PROJECTS"
},
"role": "ROLE_PROJECT_MANAGER"
},
{
"artifact": {
"type": "PROJECTS_CREATOR"
},
"role": "ROLE_PROJECT_CREATOR"
},
{
"artifact": {
"type": "PROJECTS_ENVVAR_EDITOR"
},
"role": "ROLE_PROJECT_ENVVAR_EDITOR"
}
]
}
]