Skip to content
Snippets Groups Projects
Commit 44a8c4f9 authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Added SPA application spec files

parent f62b98d7
No related branches found
No related tags found
No related merge requests found
{
"applicationBase": {
"id": null,
"name": "SPA",
"license": "",
"licenseUrl": "",
"wwwUrl": "https://wiki.geant.org/display/NETDEV/SPA",
"sourceUrl": "",
"issuesUrl": "",
"nmaasDocumentationUrl": "https://wiki.geant.org/display/NMAAS/NMaaS+Tools#NMaaSTools-SPA",
"descriptions": [
{
"language": "en",
"briefDescription": "SPA for the E-Line service",
"fullDescription": "The Service Provider Architecture (SPA) is a service management digital platform providing the general processes and components necessary to manage the CSP services via a user-friendly web graphical user interface (Self-Service Portal).<br><br>The platform in NMaaS has been prepared to manage E-Line service (L2 end-to-end connectivity) implemented by the OpenNSA application with a test default configuration and virtual simplified network topology. Users can familiarise with the SPA without the need of setting up the platform from the scratch.<br><br>Just log in to the portal and start creating new circuits in a simple network to see how it works."
},
{
"language": "de",
"briefDescription": "SPA for the E-Line service",
"fullDescription": "The Service Provider Architecture (SPA) is a service management digital platform providing the general processes and components necessary to manage the CSP services via a user-friendly web graphical user interface (Self-Service Portal).<br><br>The platform in NMaaS has been prepared to manage E-Line service (L2 end-to-end connectivity) implemented by the OpenNSA application with a test default configuration and virtual simplified network topology. Users can familiarise with the SPA without the need of setting up the platform from the scratch.<br><br>Just log in to the portal and start creating new circuits in a simple network to see how it works."
},
{
"language": "fr",
"briefDescription": "SPA for the E-Line service",
"fullDescription": "The Service Provider Architecture (SPA) is a service management digital platform providing the general processes and components necessary to manage the CSP services via a user-friendly web graphical user interface (Self-Service Portal).<br><br>The platform in NMaaS has been prepared to manage E-Line service (L2 end-to-end connectivity) implemented by the OpenNSA application with a test default configuration and virtual simplified network topology. Users can familiarise with the SPA without the need of setting up the platform from the scratch.<br><br>Just log in to the portal and start creating new circuits in a simple network to see how it works."
},
{
"language": "pl",
"briefDescription": "SPA for the E-Line service",
"fullDescription": "The Service Provider Architecture (SPA) is a service management digital platform providing the general processes and components necessary to manage the CSP services via a user-friendly web graphical user interface (Self-Service Portal).<br><br>The platform in NMaaS has been prepared to manage E-Line service (L2 end-to-end connectivity) implemented by the OpenNSA application with a test default configuration and virtual simplified network topology. Users can familiarise with the SPA without the need of setting up the platform from the scratch.<br><br>Just log in to the portal and start creating new circuits in a simple network to see how it works."
}
],
"tags": [
"management",
"inventory",
"crm"
]
},
"application": {
"id": null,
"name": "SPA",
"version": "1.3.3",
"configWizardTemplate": {
"template": {
"components": [
{
"label": "Tabs",
"components": [
{
"label": "Info",
"key": "configTab",
"components": [
{
"type": "htmlelement",
"input": false,
"content": "<p>SPA installation is preconfigured to ease tests without complex set up.<p><p>For additional details and default user access credentials refer to <a href=\"https://wiki.geant.org/display/NMAAS/NMaaS+Tools#NMaaSTools-SPA\">NMaaS wiki</a>.</p><p>Click <i>Apply configuration</i> button to proceed</p>",
"tab": 0
}
]
}
],
"type": "tabs",
"input": false,
"key": "tabs"
},
{
"type": "button",
"label": "Apply configuration",
"disableOnInvalid": true,
"theme": "primary",
"input": false,
"tableView": true
}
]
}
},
"configUpdateWizardTemplate": null,
"appDeploymentSpec": {
"supportedDeploymentEnvironments": [
"KUBERNETES"
],
"kubernetesTemplate": {
"chart": {
"name": "nmaas-spa",
"version": "1.0.0"
},
"mainDeploymentName": "ssp"
},
"deployParameters": {},
"globalDeployParameters": {},
"storageVolumes": [],
"exposesWebUI": true,
"allowSshAccess": false,
"accessMethods": [
{
"type": "DEFAULT",
"name": "Portal",
"tag": "portal",
"deployParameters": {
"INGRESS_ENABLED": "ssp.ingress.enabled",
"INGRESS_CLASS": "ssp.ingress.class",
"INGRESS_HOSTS": "ssp.ingress.hosts"
}
},
{
"type": "EXTERNAL",
"name": "Inventory",
"tag": "inventory",
"deployParameters": {
"INGRESS_ENABLED": "inventory.ingress.enabled",
"INGRESS_CLASS": "inventory.ingress.class",
"INGRESS_HOSTS": "inventory.ingress.hosts"
}
},
{
"type": "EXTERNAL",
"name": "OTRS",
"tag": "otrs",
"deployParameters": {
"INGRESS_ENABLED": "otrs.ingress.enabled",
"INGRESS_CLASS": "otrs.ingress.class",
"INGRESS_HOSTS": "otrs.ingress.hosts"
}
},
{
"type": "EXTERNAL",
"name": "SuiteCRM",
"tag": "suitecrm",
"deployParameters": {
"INGRESS_ENABLED": "suitecrm.ingress.enabled",
"INGRESS_CLASS": "suitecrm.ingress.class",
"INGRESS_HOSTS": "suitecrm.ingress.hosts"
}
}
]
},
"appConfigurationSpec": {
"configFileRepositoryRequired": false,
"configUpdateEnabled": false,
"termsAcceptanceRequired": false,
"templates": []
}
}
}
src/test/shell/data/apps/images/screenshots/spa/spa1.png

44.6 KiB

src/test/shell/data/apps/images/screenshots/spa/spa2.png

215 KiB

src/test/shell/data/apps/images/screenshots/spa/spa3.png

200 KiB

src/test/shell/data/apps/images/screenshots/spa/spa4.png

214 KiB

...@@ -516,6 +516,22 @@ curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images ...@@ -516,6 +516,22 @@ curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images
echo. echo.
curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\screenshots\zabbix\zabbix4.png;type=image/png" %API_URL%/apps/28/screenshots curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\screenshots\zabbix\zabbix4.png;type=image/png" %API_URL%/apps/28/screenshots
echo.
echo App29
curl -X POST %API_URL%/apps --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\app29-spa.json
echo.
echo App29 logo
curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\logo\spa.png;type=image/png" %API_URL%/apps/29/logo
echo.
echo App29 screenshots
curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\screenshots\spa\spa1.png;type=image/png" %API_URL%/apps/29/screenshots
echo.
curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\screenshots\spa\spa2.png;type=image/png" %API_URL%/apps/29/screenshots
echo.
curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\screenshots\spa\spa3.png;type=image/png" %API_URL%/apps/29/screenshots
echo.
curl -X POST --header "Authorization: Bearer %token%" -F "file=@data\apps\images\screenshots\spa\spa4.png;type=image/png" %API_URL%/apps/29/screenshots
echo. echo.
echo --------------------- echo ---------------------
echo Activate apps echo Activate apps
...@@ -549,6 +565,7 @@ curl -X PATCH %API_URL%/apps/state/27 --header "Authorization: Bearer %token%" - ...@@ -549,6 +565,7 @@ curl -X PATCH %API_URL%/apps/state/27 --header "Authorization: Bearer %token%" -
curl -X PATCH %API_URL%/apps/state/28 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json curl -X PATCH %API_URL%/apps/state/28 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json
curl -X PATCH %API_URL%/apps/state/29 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json curl -X PATCH %API_URL%/apps/state/29 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json
curl -X PATCH %API_URL%/apps/state/30 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json curl -X PATCH %API_URL%/apps/state/30 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json
curl -X PATCH %API_URL%/apps/state/31 --header "Authorization: Bearer %token%" --header "Content-Type: application/json" --header "Accept: application/json" -d @data\apps\activations\active.json
echo. echo.
echo --------------------- echo ---------------------
......
...@@ -520,6 +520,23 @@ echo ...@@ -520,6 +520,23 @@ echo
curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/screenshots/zabbix/zabbix4.png;type=image/png" $API_URL/apps/28/screenshots curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/screenshots/zabbix/zabbix4.png;type=image/png" $API_URL/apps/28/screenshots
echo echo
echo
echo App29
curl -X POST $API_URL/apps --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/app29-spa.json
echo
echo App29 logo
curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/logo/spa.png;type=image/png" $API_URL/apps/29/logo
echo
echo App29 screenshots
curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/screenshots/spa/spa1.png;type=image/png" $API_URL/apps/29/screenshots
echo
curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/screenshots/spa/spa2.png;type=image/png" $API_URL/apps/29/screenshots
echo
curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/screenshots/spa/spa3.png;type=image/png" $API_URL/apps/29/screenshots
echo
curl -X POST --header "Authorization: Bearer $TOKEN" -F "file=@data/apps/images/screenshots/spa/spa4.png;type=image/png" $API_URL/apps/29/screenshots
echo
echo echo
echo --------------------- echo ---------------------
echo Activate apps echo Activate apps
...@@ -553,6 +570,7 @@ curl -X PATCH $API_URL/apps/state/27 --header "Authorization: Bearer $TOKEN" --h ...@@ -553,6 +570,7 @@ curl -X PATCH $API_URL/apps/state/27 --header "Authorization: Bearer $TOKEN" --h
curl -X PATCH $API_URL/apps/state/28 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json curl -X PATCH $API_URL/apps/state/28 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json
curl -X PATCH $API_URL/apps/state/29 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json curl -X PATCH $API_URL/apps/state/29 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json
curl -X PATCH $API_URL/apps/state/30 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json curl -X PATCH $API_URL/apps/state/30 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json
curl -X PATCH $API_URL/apps/state/31 --header "Authorization: Bearer $TOKEN" --header "Content-Type: application/json" --header "Accept: application/json" -d @data/apps/activations/active.json
echo echo
echo echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment