summaryrefslogtreecommitdiffstats
path: root/catalog-ui/configurations
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/configurations')
-rw-r--r--catalog-ui/configurations/dev.js431
-rw-r--r--catalog-ui/configurations/dev.json430
-rw-r--r--catalog-ui/configurations/menu.js (renamed from catalog-ui/configurations/menu.json)85
-rw-r--r--catalog-ui/configurations/mock.json13
-rw-r--r--catalog-ui/configurations/prod.js432
-rw-r--r--catalog-ui/configurations/prod.json432
-rw-r--r--catalog-ui/configurations/validation.json12
7 files changed, 900 insertions, 935 deletions
diff --git a/catalog-ui/configurations/dev.js b/catalog-ui/configurations/dev.js
new file mode 100644
index 0000000000..4058071183
--- /dev/null
+++ b/catalog-ui/configurations/dev.js
@@ -0,0 +1,431 @@
+const SDC_CONFIG = {
+ "environment": "dev",
+ "api": {
+ "GET_component": "/v1/catalog/:type/:id",
+ "PUT_component": "/v1/catalog/:type/:id/metadata",
+ "GET_component_validate_name": "/v1/catalog/:type/validate-name/:name",
+ "POST_changeLifecycleState": "/v1/catalog/",
+ "component_api_root": "/v1/catalog/",
+ "GET_user": "/v1/user/:id",
+ "GET_user_authorize": "/v1/user/authorize",
+ "GET_all_users": "/v1/user/users",
+ "POST_create_user": "/v1/user",
+ "DELETE_delete_user": "/v1/user/:id",
+ "POST_edit_user_role": "/v1/user/:id/role",
+ "GET_resource": "/v1/catalog/resources/:id",
+ "GET_resources_latestversion_notabstract":"/v1/catalog/:type/latestversion/notabstract/:id",
+ "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
+ "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
+ "GET_resource_property": "/v1/catalog/:type/:entityId/properties/:id",
+ "PUT_resource": "/v1/catalog/resources/:id/metadata",
+ "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
+ "GET_download_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstances/:instanceId/artifacts/:id",
+ "POST_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstance/:instanceId/artifacts/:id",
+ "GET_resource_additional_information": "/v1/catalog/:type/:entityId/additionalinfo/:id",
+ "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
+ "GET_resource_interface_artifact": "/v1/catalog/:type/:entityId/standard/:operation/artifacts/:id",
+ "GET_resource_api_artifact": "/v1/catalog/:type/:entityId/artifacts/api/:id",
+ "GET_configuration_ui": "/v1/configuration/ui",
+ "GET_resource_validate_name": "/v1/catalog/resources/validate-name/:name",
+ "GET_activity_log": "/v1/catalog/audit-records/:type/:id",
+ "GET_service": "/v1/catalog/services/:id",
+ "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
+ "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
+ "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
+ "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
+ "GET_element": "/v1/followed",
+ "GET_catalog": "/v1/screen",
+ "GET_ecomp_menu_items": "/v1/user/:userId/functionalmenu",
+ "GET_resource_category": "/v1/resourceCategories",
+ "GET_service_category": "/v1/serviceCategories",
+ "resource_instance": "/v1/catalog/:entityType/:entityId/resourceInstance/:id",
+ "GET_resource_instance_property": "/v1/catalog/:type/:entityId/resourceInstance/:componentInstanceId/property/:propertyValueId",
+ "GET_relationship": "/v1/catalog/:entityType/:entityId/resourceInstance/:action",
+ "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
+ "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
+ "GET_lifecycle_state_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST",
+ "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
+ "root": "/sdc1/feProxy/rest",
+ "PUT_service": "/v1/catalog/services/:id/metadata",
+ "GET_download_artifact": "/v1/catalog/",
+ "GET_SDC_Version": "/version",
+ "GET_categories": "/v1/categories/:types",
+ "POST_category": "/v1/category/:types/:categoryId",
+ "POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
+ "POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
+ "GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
+ "GET_resource_artifact_types": "/v1/artifactTypes",
+ "GET_product_catalog": "/v1/productScreen",
+ "GET_product_category": "/v1/productCategories",
+ "GET_product_category_temp": "/v1/artifactTypes",
+ "POST_product": "/v1/catalog/products/:id/metadata",
+ "GET_product_validate_name": "/v1/catalog/services/validate-name/:name",
+ "GET_product": "/v1/catalog/products/:id",
+ "GET_product_sub_category": "/v1/productSubCategories",
+ "GET_onboarding": "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
+ "GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
+ "kibana": "/sdc1/kibanaProxy/"
+ },
+ "resourceTypesFilter":{
+ "resource":["CP","VFC","VL"],
+ "service":["CP","VF","VL"],
+ "product":[]
+ },
+ "logConfig": {
+ "minLogLevel": "debug",
+ "prefix": "sdcApp"
+ },
+ "cookie": {
+ "junctionName": "IV_JCT",
+ "prefix": "AMWEBJCT!",
+ "userIdSuffix": "USER_ID",
+ "userFirstName": "HTTP_CSP_FIRSTNAME",
+ "userLastName": "HTTP_CSP_LASTNAME",
+ "userEmail": "HTTP_CSP_EMAIL",
+ "xEcompRequestId": " X-ECOMP-RequestID"
+ },
+ "imagesPath": "",
+ "cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
+ "toscaFileExtension":"yaml,yml",
+ "csarFileExtension":"csar",
+ "showOutlook": false,
+ "validationConfigPath":"configurations/validation.json",
+ "categories": {},
+ "testers": {
+ "RESOURCE": {
+ "Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
+ "Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
+ "Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
+ "default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
+ },
+ "SERVICE": {
+ "Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
+ "Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
+ "default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
+ }
+ },
+ "roles": ["ADMIN", "TESTER", "GOVERNOR", "OPS", "DESIGNER", "PRODUCT_MANAGER", "PRODUCT_STRATEGIST"],
+ "tutorial": {
+ "tabs": [
+ {
+ "id":1,
+ "name":"TUTRIAL_GENERAL_TAB_1",
+ "defaultPage":1
+ },
+ {
+ "id":2,
+ "name":"TUTRIAL_GENERAL_TAB_2",
+ "defaultPage":9
+ },
+ {
+ "id":3,
+ "name":"TUTRIAL_GENERAL_TAB_3",
+ "defaultPage":12
+ }
+ ],
+ "pages":
+ [
+ {
+ "id":1,
+ "template": "text-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE1_TITLE",
+ "description":"TUTORIAL_PAGE1_TEXT"
+ }
+
+ },
+ {
+ "id":2,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE2_TITLE",
+ "description":"TUTORIAL_PAGE2_TEXT",
+ "imageClass":"sdc-tutorial-page-2-image"
+ }
+ },
+ {
+ "id":3,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE3_TITLE",
+ "description":"TUTORIAL_PAGE3_TEXT",
+ "imageClass":"sdc-tutorial-page-3-image"
+ }
+ },
+ {
+ "id":4,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE4_TITLE",
+ "description":"TUTORIAL_PAGE4_TEXT",
+ "imageClass":"sdc-tutorial-page-4-image"
+ }
+ },
+ {
+ "id":5,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE5_TITLE",
+ "description":"TUTORIAL_PAGE5_TEXT",
+ "imageClass":"sdc-tutorial-page-5-image"
+ }
+ },
+ {
+ "id":6,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE6_TITLE",
+ "description":"TUTORIAL_PAGE6_TEXT",
+ "imageClass":"sdc-tutorial-page-6-image"
+ }
+ },
+ {
+ "id":7,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE7_TITLE",
+ "description":"TUTORIAL_PAGE7_TEXT",
+ "imageClass":"sdc-tutorial-page-7-image"
+ }
+ },
+ {
+ "id":8,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE8_TITLE",
+ "description":"TUTORIAL_PAGE8_TEXT",
+ "imageClass":"sdc-tutorial-page-8-image"
+ }
+ },
+ {
+ "id":9,
+ "template": "text-template",
+ "tab": 2,
+ "data":{
+ "title":"TUTORIAL_PAGE9_TITLE",
+ "description":"TUTORIAL_PAGE9_TEXT"
+ }
+ },
+ {
+ "id":10,
+ "template": "image-template",
+ "tab": 2,
+ "data":{
+ "title":"TUTORIAL_PAGE10_TITLE",
+ "description":"TUTORIAL_PAGE10_TEXT",
+ "imageClass":"sdc-tutorial-page-10-image"
+ }
+ },
+ {
+ "id":11,
+ "template": "image-template",
+ "tab": 2,
+ "data":{
+ "title":"TUTORIAL_PAGE11_TITLE",
+ "description":"TUTORIAL_PAGE11_TEXT",
+ "imageClass":"sdc-tutorial-page-11-image"
+ }
+ },
+ {
+ "id":12,
+ "template": "text-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE12_TITLE",
+ "description":"TUTORIAL_PAGE12_TEXT"
+ }
+ },
+ {
+ "id":13,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE13_TITLE",
+ "description":"TUTORIAL_PAGE13_TEXT",
+ "imageClass":"sdc-tutorial-page-13-image"
+ }
+ },
+ {
+ "id":14,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE14_TITLE",
+ "description":"TUTORIAL_PAGE14_TEXT",
+ "imageClass":"sdc-tutorial-page-14-image"
+ }
+ },
+ {
+ "id":15,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE15_TITLE",
+ "description":"TUTORIAL_PAGE15_TEXT",
+ "imageClass":"sdc-tutorial-page-15-image"
+ }
+ },
+ {
+ "id":16,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE16_TITLE",
+ "description":"TUTORIAL_PAGE16_TEXT",
+ "imageClass":"sdc-tutorial-page-16-image"
+ }
+ },
+ {
+ "id":17,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE17_TITLE",
+ "description":"TUTORIAL_PAGE17_TEXT",
+ "imageClass":"sdc-tutorial-page-17-image"
+ }
+ },
+ {
+ "id":18,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE18_TITLE",
+ "description":"TUTORIAL_PAGE18_TEXT",
+ "imageClass":"sdc-tutorial-page-18-image"
+ }
+ },
+ {
+ "id":19,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE19_TITLE",
+ "description":"TUTORIAL_PAGE19_TEXT",
+ "imageClass":"sdc-tutorial-page-19-image"
+ }
+ },
+ {
+ "id":20,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE20_TITLE",
+ "description":"TUTORIAL_PAGE20_TEXT",
+ "imageClass":"sdc-tutorial-page-20-image"
+ }
+ },
+ {
+ "id":21,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE21_TITLE",
+ "description":"TUTORIAL_PAGE21_TEXT",
+ "imageClass":"sdc-tutorial-page-21-image"
+ }
+ },
+ {
+ "id":22,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE22_TITLE",
+ "description":"TUTORIAL_PAGE22_TEXT",
+ "imageClass":"sdc-tutorial-page-22-image"
+ }
+ },
+ {
+ "id":23,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE23_TITLE",
+ "description":"TUTORIAL_PAGE23_TEXT",
+ "imageClass":"sdc-tutorial-page-23-image"
+ }
+ },
+ {
+ "id":24,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE24_TITLE",
+ "description":"TUTORIAL_PAGE24_TEXT",
+ "imageClass":"sdc-tutorial-page-24-image"
+ }
+ },
+ {
+ "id":25,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE25_TITLE",
+ "description":"TUTORIAL_PAGE25_TEXT",
+ "imageClass":"sdc-tutorial-page-25-image"
+ }
+ },
+ {
+ "id":26,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE26_TITLE",
+ "description":"TUTORIAL_PAGE26_TEXT",
+ "imageClass":"sdc-tutorial-page-26-image"
+ }
+ },
+ {
+ "id":27,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE27_TITLE",
+ "description":"TUTORIAL_PAGE27_TEXT",
+ "imageClass":"sdc-tutorial-page-27-image"
+ }
+ },
+ {
+ "id":28,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE28_TITLE",
+ "description":"TUTORIAL_PAGE28_TEXT",
+ "imageClass":"sdc-tutorial-page-28-image"
+ }
+ },
+ {
+ "id":29,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE29_TITLE",
+ "description":"TUTORIAL_PAGE29_TEXT",
+ "imageClass":"sdc-tutorial-page-29-image"
+ }
+ },
+ {
+ "id":30,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE30_TITLE",
+ "description":"TUTORIAL_PAGE30_TEXT",
+ "imageClass":"sdc-tutorial-page-30-image"
+ }
+ }
+
+ ]
+ }
+};
+
+module.exports = SDC_CONFIG; \ No newline at end of file
diff --git a/catalog-ui/configurations/dev.json b/catalog-ui/configurations/dev.json
deleted file mode 100644
index 4cc09d3c31..0000000000
--- a/catalog-ui/configurations/dev.json
+++ /dev/null
@@ -1,430 +0,0 @@
-{
- "environment": "dev",
- "api": {
- "GET_component": "/v1/catalog/:type/:id",
- "PUT_component": "/v1/catalog/:type/:id/metadata",
- "GET_component_validate_name": "/v1/catalog/:type/validate-name/:name",
- "POST_changeLifecycleState": "/v1/catalog/",
- "component_api_root": "/v1/catalog/",
- "welcome_page_video_url": "http://0.0.0.0:8282/moti/movie",
-
- "GET_user": "/v1/user/:id",
- "GET_user_authorize": "/v1/user/authorize",
- "GET_all_users": "/v1/user/users",
- "POST_create_user": "/v1/user",
- "DELETE_delete_user": "/v1/user/:id",
- "POST_edit_user_role": "/v1/user/:id/role",
- "GET_resource": "/v1/catalog/resources/:id",
- "GET_resources_latestversion_notabstract":"/v1/catalog/:type/latestversion/notabstract/:id",
- "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
- "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
- "GET_resource_property": "/v1/catalog/:type/:entityId/properties/:id",
- "PUT_resource": "/v1/catalog/resources/:id/metadata",
- "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
- "GET_download_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstances/:instanceId/artifacts/:id",
- "POST_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstance/:instanceId/artifacts/:id",
- "GET_resource_additional_information": "/v1/catalog/:type/:entityId/additionalinfo/:id",
- "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
- "GET_resource_interface_artifact": "/v1/catalog/:type/:entityId/standard/:operation/artifacts/:id",
- "GET_resource_api_artifact": "/v1/catalog/:type/:entityId/artifacts/api/:id",
- "GET_configuration_ui": "/v1/configuration/ui",
- "GET_resource_validate_name": "/v1/catalog/resources/validate-name/:name",
- "GET_activity_log": "/v1/catalog/audit-records/:type/:id",
- "GET_service": "/v1/catalog/services/:id",
- "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
- "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
- "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
- "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
- "GET_element": "/v1/followed",
- "GET_catalog": "/v1/screen",
- "GET_ecomp_menu_items": "/v1/user/:userId/functionalmenu",
- "GET_resource_category": "/v1/resourceCategories",
- "GET_service_category": "/v1/serviceCategories",
- "resource_instance": "/v1/catalog/:entityType/:entityId/resourceInstance/:id",
- "GET_resource_instance_property": "/v1/catalog/:type/:entityId/resourceInstance/:componentInstanceId/property/:propertyValueId",
- "GET_relationship": "/v1/catalog/:entityType/:entityId/resourceInstance/:action",
- "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
- "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
- "GET_lifecycle_state_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST",
- "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
- "root": "http://feHost:8181/sdc1/feProxy/rest",
- "PUT_service": "/v1/catalog/services/:id/metadata",
- "GET_download_artifact": "/v1/catalog/",
- "GET_SDC_Version": "/version",
- "GET_categories": "/v1/categories/:types",
- "POST_category": "/v1/category/:types/:categoryId",
- "POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
- "POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
- "GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
- "GET_resource_artifact_types": "/v1/artifactTypes",
- "GET_product_catalog": "/v1/productScreen",
- "GET_product_category": "/v1/productCategories",
- "GET_product_category_temp": "/v1/artifactTypes",
- "POST_product": "/v1/catalog/products/:id/metadata",
- "GET_product_validate_name": "/v1/catalog/services/validate-name/:name",
- "GET_product": "/v1/catalog/products/:id",
- "GET_product_sub_category": "/v1/productSubCategories",
- "GET_onboarding": "http://fehost:8181/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
- "GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
- "kibana": "/sdc1/kibanaProxy/"
- },
- "resourceTypesFilter":{
- "resource":["CP","VFC"],
- "service":["CP","VF"],
- "product":[]
- },
- "logConfig": {
- "minLogLevel": "debug",
- "prefix": "sdcApp"
- },
- "cookie": {
- "junctionName": "IV_JCT",
- "prefix": "AMWEBJCT!",
- "userIdSuffix": "USER_ID",
- "userFirstName": "HTTP_CSP_FIRSTNAME",
- "userLastName": "HTTP_CSP_LASTNAME",
- "userEmail": "HTTP_CSP_EMAIL",
- "xEcompRequestId": " X-ECOMP-RequestID"
- },
- "imagesPath": "",
- "cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
- "toscaFileExtension":"yaml,yml",
- "csarFileExtension":"csar",
- "openSource": true,
- "categories": {},
- "testers": {
- "RESOURCE": {
- "Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
- "Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
- "Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
- "default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
- },
- "SERVICE": {
- "Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
- "Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
- "default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
- }
- },
- "roles": ["ADMIN", "TESTER", "GOVERNOR", "OPS", "DESIGNER", "PRODUCT_MANAGER", "PRODUCT_STRATEGIST"],
- "tutorial": {
- "tabs": [
- {
- "id":1,
- "name":"TUTRIAL_GENERAL_TAB_1",
- "defaultPage":1
- },
- {
- "id":2,
- "name":"TUTRIAL_GENERAL_TAB_2",
- "defaultPage":9
- },
- {
- "id":3,
- "name":"TUTRIAL_GENERAL_TAB_3",
- "defaultPage":12
- }
- ],
- "pages":
- [
- {
- "id":1,
- "template": "text-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE1_TITLE",
- "description":"TUTORIAL_PAGE1_TEXT"
- }
-
- },
- {
- "id":2,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE2_TITLE",
- "description":"TUTORIAL_PAGE2_TEXT",
- "imageClass":"sdc-tutorial-page-2-image"
- }
- },
- {
- "id":3,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE3_TITLE",
- "description":"TUTORIAL_PAGE3_TEXT",
- "imageClass":"sdc-tutorial-page-3-image"
- }
- },
- {
- "id":4,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE4_TITLE",
- "description":"TUTORIAL_PAGE4_TEXT",
- "imageClass":"sdc-tutorial-page-4-image"
- }
- },
- {
- "id":5,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE5_TITLE",
- "description":"TUTORIAL_PAGE5_TEXT",
- "imageClass":"sdc-tutorial-page-5-image"
- }
- },
- {
- "id":6,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE6_TITLE",
- "description":"TUTORIAL_PAGE6_TEXT",
- "imageClass":"sdc-tutorial-page-6-image"
- }
- },
- {
- "id":7,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE7_TITLE",
- "description":"TUTORIAL_PAGE7_TEXT",
- "imageClass":"sdc-tutorial-page-7-image"
- }
- },
- {
- "id":8,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE8_TITLE",
- "description":"TUTORIAL_PAGE8_TEXT",
- "imageClass":"sdc-tutorial-page-8-image"
- }
- },
- {
- "id":9,
- "template": "text-template",
- "tab": 2,
- "data":{
- "title":"TUTORIAL_PAGE9_TITLE",
- "description":"TUTORIAL_PAGE9_TEXT"
- }
- },
- {
- "id":10,
- "template": "image-template",
- "tab": 2,
- "data":{
- "title":"TUTORIAL_PAGE10_TITLE",
- "description":"TUTORIAL_PAGE10_TEXT",
- "imageClass":"sdc-tutorial-page-10-image"
- }
- },
- {
- "id":11,
- "template": "image-template",
- "tab": 2,
- "data":{
- "title":"TUTORIAL_PAGE11_TITLE",
- "description":"TUTORIAL_PAGE11_TEXT",
- "imageClass":"sdc-tutorial-page-11-image"
- }
- },
- {
- "id":12,
- "template": "text-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE12_TITLE",
- "description":"TUTORIAL_PAGE12_TEXT"
- }
- },
- {
- "id":13,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE13_TITLE",
- "description":"TUTORIAL_PAGE13_TEXT",
- "imageClass":"sdc-tutorial-page-13-image"
- }
- },
- {
- "id":14,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE14_TITLE",
- "description":"TUTORIAL_PAGE14_TEXT",
- "imageClass":"sdc-tutorial-page-14-image"
- }
- },
- {
- "id":15,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE15_TITLE",
- "description":"TUTORIAL_PAGE15_TEXT",
- "imageClass":"sdc-tutorial-page-15-image"
- }
- },
- {
- "id":16,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE16_TITLE",
- "description":"TUTORIAL_PAGE16_TEXT",
- "imageClass":"sdc-tutorial-page-16-image"
- }
- },
- {
- "id":17,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE17_TITLE",
- "description":"TUTORIAL_PAGE17_TEXT",
- "imageClass":"sdc-tutorial-page-17-image"
- }
- },
- {
- "id":18,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE18_TITLE",
- "description":"TUTORIAL_PAGE18_TEXT",
- "imageClass":"sdc-tutorial-page-18-image"
- }
- },
- {
- "id":19,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE19_TITLE",
- "description":"TUTORIAL_PAGE19_TEXT",
- "imageClass":"sdc-tutorial-page-19-image"
- }
- },
- {
- "id":20,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE20_TITLE",
- "description":"TUTORIAL_PAGE20_TEXT",
- "imageClass":"sdc-tutorial-page-20-image"
- }
- },
- {
- "id":21,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE21_TITLE",
- "description":"TUTORIAL_PAGE21_TEXT",
- "imageClass":"sdc-tutorial-page-21-image"
- }
- },
- {
- "id":22,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE22_TITLE",
- "description":"TUTORIAL_PAGE22_TEXT",
- "imageClass":"sdc-tutorial-page-22-image"
- }
- },
- {
- "id":23,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE23_TITLE",
- "description":"TUTORIAL_PAGE23_TEXT",
- "imageClass":"sdc-tutorial-page-23-image"
- }
- },
- {
- "id":24,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE24_TITLE",
- "description":"TUTORIAL_PAGE24_TEXT",
- "imageClass":"sdc-tutorial-page-24-image"
- }
- },
- {
- "id":25,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE25_TITLE",
- "description":"TUTORIAL_PAGE25_TEXT",
- "imageClass":"sdc-tutorial-page-25-image"
- }
- },
- {
- "id":26,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE26_TITLE",
- "description":"TUTORIAL_PAGE26_TEXT",
- "imageClass":"sdc-tutorial-page-26-image"
- }
- },
- {
- "id":27,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE27_TITLE",
- "description":"TUTORIAL_PAGE27_TEXT",
- "imageClass":"sdc-tutorial-page-27-image"
- }
- },
- {
- "id":28,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE28_TITLE",
- "description":"TUTORIAL_PAGE28_TEXT",
- "imageClass":"sdc-tutorial-page-28-image"
- }
- },
- {
- "id":29,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE29_TITLE",
- "description":"TUTORIAL_PAGE29_TEXT",
- "imageClass":"sdc-tutorial-page-29-image"
- }
- },
- {
- "id":30,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE30_TITLE",
- "description":"TUTORIAL_PAGE30_TEXT",
- "imageClass":"sdc-tutorial-page-30-image"
- }
- }
-
- ]
- }
-}
diff --git a/catalog-ui/configurations/menu.json b/catalog-ui/configurations/menu.js
index cd451e79f1..12dda2d78b 100644
--- a/catalog-ui/configurations/menu.json
+++ b/catalog-ui/configurations/menu.js
@@ -1,4 +1,4 @@
-{
+const SDC_MENU_CONFIG = {
"roles":{
"ADMIN":{
"title": "Admin's Workspace",
@@ -6,29 +6,24 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest" , "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
- {"text":"View" ,"action":"openViewerModal"}
+ {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest" , "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
- {"text": "View","action": "openViewerModal"}
+ {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
}
@@ -54,29 +49,24 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
- {"text":"View" ,"action":"openViewerModal"}
+ {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
- {"text": "View","action": "openViewerModal"}
+ {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
},
@@ -103,27 +93,22 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "View","action": "openViewerModal"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
},
@@ -154,27 +139,22 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "View","action": "openViewerModal"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
},
@@ -207,13 +187,11 @@
"states": {
"READY_FOR_CERTIFICATION":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"},
{"text":"Start Testing","action":"changeLifecycleState", "url":"lifecycleState/startCertification"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"},
{"text":"Accept","action":"changeLifecycleState", "url":"lifecycleState/certify", "confirmationModal": "lifecycleState/certify"},
{"text":"Reject","action":"changeLifecycleState", "url":"lifecycleState/failCertification", "confirmationModal": "lifecycleState/failCertification"},
{"text":"Cancel","action":"changeLifecycleState", "url":"lifecycleState/cancelCertification", "confirmationModal": "lifecycleState/cancel" }
@@ -234,21 +212,19 @@
"showCreateNewProduct": false
},
"changeLifecycleStateButtons":{
- "DISTRIBUTION_APPROVED":{ "distribute": {"text":"Distribute", "url":"distribution/PROD/activate"},
+ "DISTRIBUTION_APPROVED":{ "distribute": {"text":"Distribute", "url":"distribution/PROD/activate", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
"monitor": {"text":"Monitor", "disabled":true}
},
- "DISTRIBUTED":{ "redistribute": {"text":"Redistribute", "url":"distribution/PROD/activate"},
+ "DISTRIBUTED":{ "redistribute": {"text":"Redistribute", "url":"distribution/PROD/activate", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
"monitor": {"text":"Monitor", "url":"distribution-state/monitor"}
}
},
"states": {
"CERTIFIED": {
"DISTRIBUTION_APPROVED": [
- {"text": "View","action": "openViewerModal"},
{"text": "Distribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"}
],
"DISTRIBUTED": [
- {"text": "View","action": "openViewerModal"},
{"text": "Monitor","action":"openDistributionModal", "url":"distribution-state/monitor"},
{"text": "Redistribute","action":"changeLifecycleState", "url":"distribution/PROD/activate"}
]
@@ -268,33 +244,29 @@
"showCreateNewProduct": false
},
"changeLifecycleStateButtons":{
- "DISTRIBUTION_NOT_APPROVED":{ "approve": {"text":"Approve", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"},
+ "DISTRIBUTION_NOT_APPROVED":{ "approve": {"text":"Approve", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }},
"reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
},
"DISTRIBUTION_APPROVED":{ "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
},
"DISTRIBUTED": { "reject": {"text":"Reject", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
},
- "DISTRIBUTION_REJECTED": { "approve": {"text": "Approve", "url": "distribution-state/approve", "confirmationModal": "distribution-state/approve"}
+ "DISTRIBUTION_REJECTED": { "approve": {"text": "Approve", "url": "distribution-state/approve", "confirmationModal": "distribution-state/approve", "conformanceLevelModal": { "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject" }}
}
},
"states": {
"CERTIFIED": {
"DISTRIBUTION_NOT_APPROVED": [
- {"text": "View","action": "openViewerModal"},
{"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"},
{"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
],
"DISTRIBUTION_APPROVED": [
- {"text": "View","action": "openViewerModal"},
{"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
],
"DISTRIBUTED": [
- {"text": "View","action": "openViewerModal"},
{"text":"Reject","action":"changeLifecycleState", "url":"distribution-state/reject", "confirmationModal": "distribution-state/reject"}
],
"DISTRIBUTION_REJECTED": [
- {"text": "View","action": "openViewerModal"},
{"text":"Approve","action":"changeLifecycleState", "url":"distribution-state/approve", "confirmationModal": "distribution-state/approve"}
]
}
@@ -311,7 +283,7 @@
"confirmationMessages": {
"lifecycleState/CHECKIN": {"showComment":true, "title": "Check in confirmation", "message": "Please add comment and confirm the check in."},
"lifecycleState/CHECKOUT": {"showComment":true, "title": "Check out confirmation", "message": "Please add comment and confirm the check out."},
- "lifecycleState/certify": {"showComment":true, "title": "Distribution confirmation", "message": "Please add comment and confirm test results."},
+ "lifecycleState/certify": {"showComment":true, "title": "Certification confirmation", "message": "Please add comment and confirm test results."},
"lifecycleState/cancel": {"showComment":true, "title": "Cancel test", "message": "Please add comment and cancel test."},
"lifecycleState/failCertification": {"showComment":true, "title": "Rejection confirmation", "message": "Please add comment and confirm test results."},
"lifecycleState/CERTIFICATIONREQUEST": {"showComment":true, "title": "Submit for testing", "message": "Please add comment and submit for testing."},
@@ -361,32 +333,26 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
- {"text":"View" ,"action":"openViewerModal"}
+ {"text":"Submit for Testing","action":"changeLifecycleState", "url":"lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
],
"NOT_OWNER":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"},
- {"text": "View","action": "openViewerModal"}
+ {"text": "Submit for Testing", "action": "changeLifecycleState", "url": "lifecycleState/certificationRequest", "emailModal": "lifecycleState/CERTIFICATIONREQUEST"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
@@ -396,30 +362,24 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
],
"NOT_OWNER":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "View","action": "openViewerModal"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
},
@@ -443,30 +403,24 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
],
"NOT_OWNER":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"NOT_CERTIFIED_CHECKIN": {
"ANY": [
- {"text": "View","action": "openViewerModal"}
]
},
"READY_FOR_CERTIFICATION": {
"ANY":[
- {"text": "View","action": "openViewerModal"}
]
},
"CERTIFICATION_IN_PROGRESS":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
},
"CERTIFIED":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
},
@@ -484,7 +438,6 @@
"states":{
"ANY":{
"ANY":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
}
@@ -513,6 +466,7 @@
"VFC":[
{"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
{"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
+ {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
@@ -523,6 +477,7 @@
"VL":[
{"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
{"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
+ {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
@@ -533,6 +488,7 @@
"CP":[
{"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
{"text":"Icon", "action":"onMenuItemPressed", "state": "workspace.icons"},
+ {"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
{"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
@@ -546,11 +502,12 @@
{"text":"Deployment Artifact", "action":"onMenuItemPressed", "state": "workspace.deployment_artifacts"},
{"text":"Information Artifact", "action":"onMenuItemPressed", "state": "workspace.information_artifacts"},
{"text":"TOSCA Artifacts", "action":"onMenuItemPressed", "state": "workspace.tosca_artifacts"},
- {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
+ // {"text":"Properties", "action":"onMenuItemPressed", "state": "workspace.properties"},
{"text":"Composition", "action":"onMenuItemPressed", "state": "workspace.composition.details"},
{"text":"Activity Log", "action":"onMenuItemPressed", "state": "workspace.activity_log"},
{"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"},
- {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.resource_inputs"}
+ // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.resource_inputs"},
+ {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
],
"SERVICE":[
{"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
@@ -562,7 +519,8 @@
{"text":"Network Call Flow ", "action":"onMenuItemPressed", "state": "workspace.network_call_flow"},
{"text":"Monitor ", "action":"onMenuItemPressed", "state": "workspace.distribution", "disabledRoles": ["ADMIN", "TESTER", "GOVERNOR", "DESIGNER", "PRODUCT_MANAGER", "PRODUCT_STRATEGIST"]},
{"text":"Deployment", "action":"onMenuItemPressed", "state": "workspace.deployment"},
- {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.service_inputs"}
+ // {"text":"Inputs", "action":"onMenuItemPressed", "state": "workspace.service_inputs"},
+ {"text":"Properties Assignment", "action":"onMenuItemPressed", "state": "workspace.properties_assignment"}
],
"PRODUCT":[
{"text":"General", "action":"onMenuItemPressed", "state": "workspace.general"},
@@ -572,5 +530,6 @@
]
}
-
}
+
+module.exports = SDC_MENU_CONFIG;
diff --git a/catalog-ui/configurations/mock.json b/catalog-ui/configurations/mock.json
index 21836a837d..2abcbe0ce2 100644
--- a/catalog-ui/configurations/mock.json
+++ b/catalog-ui/configurations/mock.json
@@ -126,13 +126,11 @@
"states":{
"NOT_CERTIFIED_CHECKOUT":[
{"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"},
- {"text":"View" ,"action":"openViewerModal"},
{"text":"Edit" ,"action":"goToEntity"}
],
"NOT_CERTIFIED_CHECKIN":[
{"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"},
- {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"},
- {"text":"View" ,"action":"openViewerModal"}
+ {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}
],
"READY_FOR_CERTIFICATION":[],
@@ -147,22 +145,17 @@
"NOT_CERTIFIED_CHECKOUT":[
{"text":"Edit" ,"action":"goToEntity"},
{"text":"Check in","action":"changeLifecycleState", "url":"CHECKIN"},
- {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"},
- {"text":"View" ,"action":"openViewerModal"}
+ {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}
],
"NOT_CERTIFIED_CHECKIN":[
{"text":"Check out","action":"changeLifecycleState", "url":"CHECKOUT"},
- {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"},
- {"text":"View" ,"action":"openViewerModal"}
+ {"text":"Submit for Testing","action":"changeLifecycleState", "url":"certificationRequest"}
],
"READY_FOR_CERTIFICATION":[
- {"text":"View" ,"action":"openViewerModal"}
],
"CERTIFICATION_IN_PROGRESS":[
- {"text":"View" ,"action":"openViewerModal"}
],
"CERTIFIED":[
- {"text":"View" ,"action":"openViewerModal"}
]
}
diff --git a/catalog-ui/configurations/prod.js b/catalog-ui/configurations/prod.js
new file mode 100644
index 0000000000..30cb3f2146
--- /dev/null
+++ b/catalog-ui/configurations/prod.js
@@ -0,0 +1,432 @@
+const SDC_CONFIG = {
+ "environment": "prod",
+ "api": {
+ "GET_component": "/v1/catalog/:type/:id",
+ "PUT_component": "/v1/catalog/:type/:id/metadata",
+ "GET_component_validate_name": "/v1/catalog/:type/validate-name/:name",
+ "POST_changeLifecycleState": "/v1/catalog/",
+ "component_api_root": "/v1/catalog/",
+ "GET_user": "/v1/user/:id",
+ "GET_user_authorize": "/v1/user/authorize",
+ "GET_all_users": "/v1/user/users",
+ "POST_create_user": "/v1/user",
+ "DELETE_delete_user": "/v1/user/:id",
+ "POST_edit_user_role": "/v1/user/:id/role",
+ "GET_resource": "/v1/catalog/resources/:id",
+ "GET_resources_latestversion_notabstract":"/v1/catalog/:type/latestversion/notabstract/:id",
+ "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
+ "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
+ "GET_resource_property": "/v1/catalog/:type/:entityId/properties/:id",
+ "PUT_resource": "/v1/catalog/resources/:id/metadata",
+ "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
+ "GET_download_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstances/:instanceId/artifacts/:id",
+ "POST_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstance/:instanceId/artifacts/:id",
+ "GET_resource_additional_information": "/v1/catalog/:type/:entityId/additionalinfo/:id",
+ "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
+ "GET_resource_interface_artifact": "/v1/catalog/:type/:entityId/standard/:operation/artifacts/:id",
+ "GET_resource_api_artifact": "/v1/catalog/:type/:entityId/artifacts/api/:id",
+ "GET_configuration_ui": "/v1/configuration/ui",
+ "GET_resource_validate_name": "/v1/catalog/resources/validate-name/:name",
+ "GET_activity_log": "/v1/catalog/audit-records/:type/:id",
+ "GET_service": "/v1/catalog/services/:id",
+ "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
+ "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
+ "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
+ "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
+ "GET_element": "/v1/followed",
+ "GET_catalog": "/v1/screen",
+ "GET_ecomp_menu_items": "/v1/user/:userId/functionalmenu",
+ "GET_resource_category": "/v1/resourceCategories",
+ "GET_service_category": "/v1/serviceCategories",
+ "resource_instance": "/v1/catalog/:entityType/:entityId/resourceInstance/:id",
+ "GET_resource_instance_property": "/v1/catalog/:type/:entityId/resourceInstance/:componentInstanceId/property/:propertyValueId",
+ "GET_relationship": "/v1/catalog/:entityType/:entityId/resourceInstance/:action",
+ "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
+ "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
+ "GET_lifecycle_state_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST",
+ "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
+ "root": "/sdc1/feProxy/rest",
+ "PUT_service": "/v1/catalog/services/:id/metadata",
+ "GET_download_artifact": "/v1/catalog/",
+ "GET_SDC_Version": "/version",
+ "GET_categories": "/v1/categories/:types",
+ "POST_category": "/v1/category/:types/:categoryId",
+ "POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
+ "POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
+ "GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
+ "GET_resource_artifact_types": "/v1/artifactTypes",
+ "GET_product_catalog": "/v1/productScreen",
+ "GET_product_category": "/v1/productCategories",
+ "GET_product_category_temp": "/v1/artifactTypes",
+ "POST_product": "/v1/catalog/products/:id/metadata",
+ "GET_product_validate_name": "/v1/catalog/services/validate-name/:name",
+ "GET_product": "/v1/catalog/products/:id",
+ "GET_product_sub_category": "/v1/productSubCategories",
+ "GET_onboarding": "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
+ "GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
+ "kibana": "/sdc1/kibanaProxy/"
+ },
+ "resourceTypesFilter":{
+ "resource":["CP","VFC","VL"],
+ "service":["CP","VF","VL"],
+ "product":[]
+ },
+ "logConfig": {
+ "minLogLevel": "debug",
+ "prefix": "sdcApp"
+ },
+ "cookie": {
+ "junctionName": "IV_JCT",
+ "prefix": "AMWEBJCT!",
+ "userIdSuffix": "USER_ID",
+ "userFirstName": "HTTP_CSP_FIRSTNAME",
+ "userLastName": "HTTP_CSP_LASTNAME",
+ "userEmail": "HTTP_CSP_EMAIL",
+ "xEcompRequestId": " X-ECOMP-RequestID"
+ },
+ "imagesPath": "/sdc1",
+ "cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
+ "toscaFileExtension":"yaml,yml",
+ "csarFileExtension":"csar",
+ "showOutlook": false,
+ "validationConfigPath":"sdc1/configurations/validation.json",
+ "categories": {},
+ "testers": {
+ "RESOURCE": {
+ "Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
+ "Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
+ "Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
+ "default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
+ },
+ "SERVICE": {
+ "Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
+ "Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
+ "default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
+ }
+ },
+ "roles": ["ADMIN", "TESTER", "GOVERNOR", "OPS", "DESIGNER", "PRODUCT_MANAGER", "PRODUCT_STRATEGIST"],
+ "tutorial": {
+ "tabs": [
+ {
+ "id":1,
+ "name":"TUTRIAL_GENERAL_TAB_1",
+ "defaultPage":1
+ },
+ {
+ "id":2,
+ "name":"TUTRIAL_GENERAL_TAB_2",
+ "defaultPage":9
+ },
+ {
+ "id":3,
+ "name":"TUTRIAL_GENERAL_TAB_3",
+ "defaultPage":12
+ }
+ ],
+ "pages":
+ [
+ {
+ "id":1,
+ "template": "text-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE1_TITLE",
+ "description":"TUTORIAL_PAGE1_TEXT"
+ }
+
+ },
+ {
+ "id":2,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE2_TITLE",
+ "description":"TUTORIAL_PAGE2_TEXT",
+ "imageClass":"sdc-tutorial-page-2-image"
+ }
+ },
+ {
+ "id":3,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE3_TITLE",
+ "description":"TUTORIAL_PAGE3_TEXT",
+ "imageClass":"sdc-tutorial-page-3-image"
+ }
+ },
+ {
+ "id":4,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE4_TITLE",
+ "description":"TUTORIAL_PAGE4_TEXT",
+ "imageClass":"sdc-tutorial-page-4-image"
+ }
+ },
+ {
+ "id":5,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE5_TITLE",
+ "description":"TUTORIAL_PAGE5_TEXT",
+ "imageClass":"sdc-tutorial-page-5-image"
+ }
+ },
+ {
+ "id":6,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE6_TITLE",
+ "description":"TUTORIAL_PAGE6_TEXT",
+ "imageClass":"sdc-tutorial-page-6-image"
+ }
+ },
+ {
+ "id":7,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE7_TITLE",
+ "description":"TUTORIAL_PAGE7_TEXT",
+ "imageClass":"sdc-tutorial-page-7-image"
+ }
+ },
+ {
+ "id":8,
+ "template": "image-template",
+ "tab": 1,
+ "data":{
+ "title":"TUTORIAL_PAGE8_TITLE",
+ "description":"TUTORIAL_PAGE8_TEXT",
+ "imageClass":"sdc-tutorial-page-8-image"
+ }
+ },
+ {
+ "id":9,
+ "template": "text-template",
+ "tab": 2,
+ "data":{
+ "title":"TUTORIAL_PAGE9_TITLE",
+ "description":"TUTORIAL_PAGE9_TEXT"
+ }
+ },
+ {
+ "id":10,
+ "template": "image-template",
+ "tab": 2,
+ "data":{
+ "title":"TUTORIAL_PAGE10_TITLE",
+ "description":"TUTORIAL_PAGE10_TEXT",
+ "imageClass":"sdc-tutorial-page-10-image"
+ }
+ },
+ {
+ "id":11,
+ "template": "image-template",
+ "tab": 2,
+ "data":{
+ "title":"TUTORIAL_PAGE11_TITLE",
+ "description":"TUTORIAL_PAGE11_TEXT",
+ "imageClass":"sdc-tutorial-page-11-image"
+ }
+ },
+ {
+ "id":12,
+ "template": "text-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE12_TITLE",
+ "description":"TUTORIAL_PAGE12_TEXT"
+ }
+ },
+ {
+ "id":13,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE13_TITLE",
+ "description":"TUTORIAL_PAGE13_TEXT",
+ "imageClass":"sdc-tutorial-page-13-image"
+ }
+ },
+ {
+ "id":14,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE14_TITLE",
+ "description":"TUTORIAL_PAGE14_TEXT",
+ "imageClass":"sdc-tutorial-page-14-image"
+ }
+ },
+ {
+ "id":15,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE15_TITLE",
+ "description":"TUTORIAL_PAGE15_TEXT",
+ "imageClass":"sdc-tutorial-page-15-image"
+ }
+ },
+ {
+ "id":16,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE16_TITLE",
+ "description":"TUTORIAL_PAGE16_TEXT",
+ "imageClass":"sdc-tutorial-page-16-image"
+ }
+ },
+ {
+ "id":17,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE17_TITLE",
+ "description":"TUTORIAL_PAGE17_TEXT",
+ "imageClass":"sdc-tutorial-page-17-image"
+ }
+ },
+ {
+ "id":18,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE18_TITLE",
+ "description":"TUTORIAL_PAGE18_TEXT",
+ "imageClass":"sdc-tutorial-page-18-image"
+ }
+ },
+ {
+ "id":19,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE19_TITLE",
+ "description":"TUTORIAL_PAGE19_TEXT",
+ "imageClass":"sdc-tutorial-page-19-image"
+ }
+ },
+ {
+ "id":20,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE20_TITLE",
+ "description":"TUTORIAL_PAGE20_TEXT",
+ "imageClass":"sdc-tutorial-page-20-image"
+ }
+ },
+ {
+ "id":21,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE21_TITLE",
+ "description":"TUTORIAL_PAGE21_TEXT",
+ "imageClass":"sdc-tutorial-page-21-image"
+ }
+ },
+ {
+ "id":22,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE22_TITLE",
+ "description":"TUTORIAL_PAGE22_TEXT",
+ "imageClass":"sdc-tutorial-page-22-image"
+ }
+ },
+ {
+ "id":23,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE23_TITLE",
+ "description":"TUTORIAL_PAGE23_TEXT",
+ "imageClass":"sdc-tutorial-page-23-image"
+ }
+ },
+ {
+ "id":24,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE24_TITLE",
+ "description":"TUTORIAL_PAGE24_TEXT",
+ "imageClass":"sdc-tutorial-page-24-image"
+ }
+ },
+ {
+ "id":25,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE25_TITLE",
+ "description":"TUTORIAL_PAGE25_TEXT",
+ "imageClass":"sdc-tutorial-page-25-image"
+ }
+ },
+ {
+ "id":26,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE26_TITLE",
+ "description":"TUTORIAL_PAGE26_TEXT",
+ "imageClass":"sdc-tutorial-page-26-image"
+ }
+ },
+ {
+ "id":27,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE27_TITLE",
+ "description":"TUTORIAL_PAGE27_TEXT",
+ "imageClass":"sdc-tutorial-page-27-image"
+ }
+ },
+ {
+ "id":28,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE28_TITLE",
+ "description":"TUTORIAL_PAGE28_TEXT",
+ "imageClass":"sdc-tutorial-page-28-image"
+ }
+ },
+ {
+ "id":29,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE29_TITLE",
+ "description":"TUTORIAL_PAGE29_TEXT",
+ "imageClass":"sdc-tutorial-page-29-image"
+ }
+ },
+ {
+ "id":30,
+ "template": "image-template",
+ "tab": 3,
+ "data":{
+ "title":"TUTORIAL_PAGE30_TITLE",
+ "description":"TUTORIAL_PAGE30_TEXT",
+ "imageClass":"sdc-tutorial-page-30-image"
+ }
+ }
+
+ ]
+ }
+
+};
+
+module.exports = SDC_CONFIG;
diff --git a/catalog-ui/configurations/prod.json b/catalog-ui/configurations/prod.json
deleted file mode 100644
index cbe579c3e9..0000000000
--- a/catalog-ui/configurations/prod.json
+++ /dev/null
@@ -1,432 +0,0 @@
-{
- "environment": "prod",
- "api": {
-
- "GET_component": "/v1/catalog/:type/:id",
- "PUT_component": "/v1/catalog/:type/:id/metadata",
- "GET_component_validate_name": "/v1/catalog/:type/validate-name/:name",
- "POST_changeLifecycleState": "/v1/catalog/",
- "component_api_root": "/v1/catalog/",
- "welcome_page_video_url": "http://0.0.0.0:8282/moti/movie",
-
- "GET_user": "/v1/user/:id",
- "GET_user_authorize": "/v1/user/authorize",
- "GET_all_users": "/v1/user/users",
- "POST_create_user": "/v1/user",
- "DELETE_delete_user": "/v1/user/:id",
- "POST_edit_user_role": "/v1/user/:id/role",
- "GET_resource": "/v1/catalog/resources/:id",
- "GET_resources_latestversion_notabstract":"/v1/catalog/:type/latestversion/notabstract/:id",
- "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
- "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
- "GET_resource_property": "/v1/catalog/:type/:entityId/properties/:id",
- "PUT_resource": "/v1/catalog/resources/:id/metadata",
- "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
- "GET_download_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstances/:instanceId/artifacts/:id",
- "POST_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstance/:instanceId/artifacts/:id",
- "GET_resource_additional_information": "/v1/catalog/:type/:entityId/additionalinfo/:id",
- "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
- "GET_resource_interface_artifact": "/v1/catalog/:type/:entityId/standard/:operation/artifacts/:id",
- "GET_resource_api_artifact": "/v1/catalog/:type/:entityId/artifacts/api/:id",
- "GET_configuration_ui": "/v1/configuration/ui",
- "GET_resource_validate_name": "/v1/catalog/resources/validate-name/:name",
- "GET_activity_log": "/v1/catalog/audit-records/:type/:id",
- "GET_service": "/v1/catalog/services/:id",
- "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
- "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
- "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
- "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
- "GET_element": "/v1/followed",
- "GET_catalog": "/v1/screen",
- "GET_ecomp_menu_items": "/v1/user/:userId/functionalmenu",
- "GET_resource_category": "/v1/resourceCategories",
- "GET_service_category": "/v1/serviceCategories",
- "resource_instance": "/v1/catalog/:entityType/:entityId/resourceInstance/:id",
- "GET_resource_instance_property": "/v1/catalog/:type/:entityId/resourceInstance/:componentInstanceId/property/:propertyValueId",
- "GET_relationship": "/v1/catalog/:entityType/:entityId/resourceInstance/:action",
- "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
- "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
- "GET_lifecycle_state_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST",
- "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
- "root": "/sdc1/feProxy/rest",
- "PUT_service": "/v1/catalog/services/:id/metadata",
- "GET_download_artifact": "/v1/catalog/",
- "GET_SDC_Version": "/version",
- "GET_categories": "/v1/categories/:types",
- "POST_category": "/v1/category/:types/:categoryId",
- "POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
- "POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
- "GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
- "GET_resource_artifact_types": "/v1/artifactTypes",
- "GET_product_catalog": "/v1/productScreen",
- "GET_product_category": "/v1/productCategories",
- "GET_product_category_temp": "/v1/artifactTypes",
- "POST_product": "/v1/catalog/products/:id/metadata",
- "GET_product_validate_name": "/v1/catalog/services/validate-name/:name",
- "GET_product": "/v1/catalog/products/:id",
- "GET_product_sub_category": "/v1/productSubCategories",
- "GET_onboarding": "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
- "GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
- "kibana": "/sdc1/kibanaProxy/"
- },
- "resourceTypesFilter":{
- "resource":["CP","VFC"],
- "service":["CP","VF"],
- "product":[]
- },
- "logConfig": {
- "minLogLevel": "debug",
- "prefix": "sdcApp"
- },
- "cookie": {
- "junctionName": "IV_JCT",
- "prefix": "AMWEBJCT!",
- "userIdSuffix": "USER_ID",
- "userFirstName": "HTTP_CSP_FIRSTNAME",
- "userLastName": "HTTP_CSP_LASTNAME",
- "userEmail": "HTTP_CSP_EMAIL",
- "xEcompRequestId": " X-ECOMP-RequestID"
- },
- "imagesPath": "/sdc1",
- "cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
- "toscaFileExtension":"yaml,yml",
- "csarFileExtension":"csar",
- "openSource": true,
- "categories": {},
- "testers": {
- "RESOURCE": {
- "Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
- "Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
- "Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
- "default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
- },
- "SERVICE": {
- "Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
- "Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
- "default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
- }
- },
- "roles": ["ADMIN", "TESTER", "GOVERNOR", "OPS", "DESIGNER", "PRODUCT_MANAGER", "PRODUCT_STRATEGIST"],
- "tutorial": {
- "tabs": [
- {
- "id":1,
- "name":"TUTRIAL_GENERAL_TAB_1",
- "defaultPage":1
- },
- {
- "id":2,
- "name":"TUTRIAL_GENERAL_TAB_2",
- "defaultPage":9
- },
- {
- "id":3,
- "name":"TUTRIAL_GENERAL_TAB_3",
- "defaultPage":12
- }
- ],
- "pages":
- [
- {
- "id":1,
- "template": "text-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE1_TITLE",
- "description":"TUTORIAL_PAGE1_TEXT"
- }
-
- },
- {
- "id":2,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE2_TITLE",
- "description":"TUTORIAL_PAGE2_TEXT",
- "imageClass":"sdc-tutorial-page-2-image"
- }
- },
- {
- "id":3,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE3_TITLE",
- "description":"TUTORIAL_PAGE3_TEXT",
- "imageClass":"sdc-tutorial-page-3-image"
- }
- },
- {
- "id":4,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE4_TITLE",
- "description":"TUTORIAL_PAGE4_TEXT",
- "imageClass":"sdc-tutorial-page-4-image"
- }
- },
- {
- "id":5,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE5_TITLE",
- "description":"TUTORIAL_PAGE5_TEXT",
- "imageClass":"sdc-tutorial-page-5-image"
- }
- },
- {
- "id":6,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE6_TITLE",
- "description":"TUTORIAL_PAGE6_TEXT",
- "imageClass":"sdc-tutorial-page-6-image"
- }
- },
- {
- "id":7,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE7_TITLE",
- "description":"TUTORIAL_PAGE7_TEXT",
- "imageClass":"sdc-tutorial-page-7-image"
- }
- },
- {
- "id":8,
- "template": "image-template",
- "tab": 1,
- "data":{
- "title":"TUTORIAL_PAGE8_TITLE",
- "description":"TUTORIAL_PAGE8_TEXT",
- "imageClass":"sdc-tutorial-page-8-image"
- }
- },
- {
- "id":9,
- "template": "text-template",
- "tab": 2,
- "data":{
- "title":"TUTORIAL_PAGE9_TITLE",
- "description":"TUTORIAL_PAGE9_TEXT"
- }
- },
- {
- "id":10,
- "template": "image-template",
- "tab": 2,
- "data":{
- "title":"TUTORIAL_PAGE10_TITLE",
- "description":"TUTORIAL_PAGE10_TEXT",
- "imageClass":"sdc-tutorial-page-10-image"
- }
- },
- {
- "id":11,
- "template": "image-template",
- "tab": 2,
- "data":{
- "title":"TUTORIAL_PAGE11_TITLE",
- "description":"TUTORIAL_PAGE11_TEXT",
- "imageClass":"sdc-tutorial-page-11-image"
- }
- },
- {
- "id":12,
- "template": "text-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE12_TITLE",
- "description":"TUTORIAL_PAGE12_TEXT"
- }
- },
- {
- "id":13,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE13_TITLE",
- "description":"TUTORIAL_PAGE13_TEXT",
- "imageClass":"sdc-tutorial-page-13-image"
- }
- },
- {
- "id":14,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE14_TITLE",
- "description":"TUTORIAL_PAGE14_TEXT",
- "imageClass":"sdc-tutorial-page-14-image"
- }
- },
- {
- "id":15,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE15_TITLE",
- "description":"TUTORIAL_PAGE15_TEXT",
- "imageClass":"sdc-tutorial-page-15-image"
- }
- },
- {
- "id":16,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE16_TITLE",
- "description":"TUTORIAL_PAGE16_TEXT",
- "imageClass":"sdc-tutorial-page-16-image"
- }
- },
- {
- "id":17,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE17_TITLE",
- "description":"TUTORIAL_PAGE17_TEXT",
- "imageClass":"sdc-tutorial-page-17-image"
- }
- },
- {
- "id":18,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE18_TITLE",
- "description":"TUTORIAL_PAGE18_TEXT",
- "imageClass":"sdc-tutorial-page-18-image"
- }
- },
- {
- "id":19,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE19_TITLE",
- "description":"TUTORIAL_PAGE19_TEXT",
- "imageClass":"sdc-tutorial-page-19-image"
- }
- },
- {
- "id":20,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE20_TITLE",
- "description":"TUTORIAL_PAGE20_TEXT",
- "imageClass":"sdc-tutorial-page-20-image"
- }
- },
- {
- "id":21,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE21_TITLE",
- "description":"TUTORIAL_PAGE21_TEXT",
- "imageClass":"sdc-tutorial-page-21-image"
- }
- },
- {
- "id":22,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE22_TITLE",
- "description":"TUTORIAL_PAGE22_TEXT",
- "imageClass":"sdc-tutorial-page-22-image"
- }
- },
- {
- "id":23,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE23_TITLE",
- "description":"TUTORIAL_PAGE23_TEXT",
- "imageClass":"sdc-tutorial-page-23-image"
- }
- },
- {
- "id":24,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE24_TITLE",
- "description":"TUTORIAL_PAGE24_TEXT",
- "imageClass":"sdc-tutorial-page-24-image"
- }
- },
- {
- "id":25,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE25_TITLE",
- "description":"TUTORIAL_PAGE25_TEXT",
- "imageClass":"sdc-tutorial-page-25-image"
- }
- },
- {
- "id":26,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE26_TITLE",
- "description":"TUTORIAL_PAGE26_TEXT",
- "imageClass":"sdc-tutorial-page-26-image"
- }
- },
- {
- "id":27,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE27_TITLE",
- "description":"TUTORIAL_PAGE27_TEXT",
- "imageClass":"sdc-tutorial-page-27-image"
- }
- },
- {
- "id":28,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE28_TITLE",
- "description":"TUTORIAL_PAGE28_TEXT",
- "imageClass":"sdc-tutorial-page-28-image"
- }
- },
- {
- "id":29,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE29_TITLE",
- "description":"TUTORIAL_PAGE29_TEXT",
- "imageClass":"sdc-tutorial-page-29-image"
- }
- },
- {
- "id":30,
- "template": "image-template",
- "tab": 3,
- "data":{
- "title":"TUTORIAL_PAGE30_TITLE",
- "description":"TUTORIAL_PAGE30_TEXT",
- "imageClass":"sdc-tutorial-page-30-image"
- }
- }
-
- ]
- }
-
-}
diff --git a/catalog-ui/configurations/validation.json b/catalog-ui/configurations/validation.json
new file mode 100644
index 0000000000..01b899d7bd
--- /dev/null
+++ b/catalog-ui/configurations/validation.json
@@ -0,0 +1,12 @@
+{
+ "propertyValue": {
+ "max": 2500,
+ "min": 0
+ },
+
+ "validationPatterns": {
+ "string": "^[\\sa-zA-Z0-9+-]+$",
+ "comment": "^[\\u0000-\\u00BF]*$",
+ "integer": "^(([-+]?\\d+)|([-+]?0x[0-9a-fA-F]+))$"
+ }
+}