From 4aa20bc42b7bd98dde15f7594084669eb92412c2 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Wed, 29 Jan 2020 17:38:07 +0000 Subject: Configuration file runtime reload Reloads the backend configuration file when the file listener catches a change. Forces validations errors when the configuration file could not be parsed. Remove not used configurations. Change-Id: Ic6fcb2b557d52ec53074c38ab8e0fcfa96e9be67 Issue-ID: SDC-2758 Signed-off-by: andre.schmid --- .../config/common/workspace-configuration.yaml | 199 --------------------- .../config/fe/workspace-configuration.yaml | 199 +++++++++++++++++++++ 2 files changed, 199 insertions(+), 199 deletions(-) delete mode 100644 common-app-api/src/test/resources/config/common/workspace-configuration.yaml create mode 100644 common-app-api/src/test/resources/config/fe/workspace-configuration.yaml (limited to 'common-app-api/src/test/resources/config') diff --git a/common-app-api/src/test/resources/config/common/workspace-configuration.yaml b/common-app-api/src/test/resources/config/common/workspace-configuration.yaml deleted file mode 100644 index fd382592b7..0000000000 --- a/common-app-api/src/test/resources/config/common/workspace-configuration.yaml +++ /dev/null @@ -1,199 +0,0 @@ -workspaceMenuConfiguration: - VFC: - - text: General - action: onMenuItemPressed - state: workspace.general - - 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: Attributes - action: onMenuItemPressed - state: workspace.attributes - - text: Req. & Capabilities - action: onMenuItemPressed - state: workspace.reqAndCap - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - VL: - - text: General - action: onMenuItemPressed - state: workspace.general - - 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: Attributes - action: onMenuItemPressed - state: workspace.attributes - - text: Req. & Capabilities - action: onMenuItemPressed - state: workspace.reqAndCap - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - CP: - - text: General - action: onMenuItemPressed - state: workspace.general - - 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: Attributes - action: onMenuItemPressed - state: workspace.attributes - - text: Req. & Capabilities - action: onMenuItemPressed - state: workspace.reqAndCap - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - VF: - - text: General - action: onMenuItemPressed - state: workspace.general - - 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: Composition - action: onMenuItemPressed - state: workspace.composition.details - - text: Operation - action: onMenuItemPressed - state: workspace.interface_operation - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - - text: Deployment - action: onMenuItemPressed - state: workspace.deployment - - text: Properties Assignment - action: onMenuItemPressed - state: workspace.properties_assignment - - text: Req. & Capabilities - action: onMenuItemPressed - state: workspace.reqAndCapEditable - PNF: - - text: General - action: onMenuItemPressed - state: workspace.general - - 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: Composition - action: onMenuItemPressed - state: workspace.composition.details - - text: Operation - action: onMenuItemPressed - state: workspace.interface_operation - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - - text: Properties Assignment - action: onMenuItemPressed - state: workspace.properties_assignment - - text: Req. & Capabilities - action: onMenuItemPressed - state: workspace.reqAndCapEditable - CR: - - text: General - action: onMenuItemPressed - state: workspace.general - - 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: Composition - action: onMenuItemPressed - state: workspace.composition.details - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - - text: Properties Assignment - action: onMenuItemPressed - state: workspace.properties_assignment - SERVICE: - - text: General - action: onMenuItemPressed - state: workspace.general - - text: TOSCA Artifacts - action: onMenuItemPressed - state: workspace.tosca_artifacts - - text: Composition - action: onMenuItemPressed - state: workspace.composition.details - - text: Operation - action: onMenuItemPressed - state: workspace.interface_operation - - text: Activity Log - action: onMenuItemPressed - state: workspace.activity_log - - text: Management Workflow - action: onMenuItemPressed - state: workspace.management_workflow - - text: 'Network Call Flow ' - action: onMenuItemPressed - state: workspace.network_call_flow - - text: Distribution - action: onMenuItemPressed - state: workspace.distribution - disabledRoles: - - ADMIN - - TESTER - - GOVERNOR - - DESIGNER - - text: Deployment - action: onMenuItemPressed - state: workspace.deployment - - text: Properties Assignment - action: onMenuItemPressed - state: workspace.properties_assignment - - text: Outputs - action: onMenuItemPressed - state: workspace.outputs_assignment - - text: Req. & Capabilities - action: onMenuItemPressed - state: workspace.reqAndCapEditable diff --git a/common-app-api/src/test/resources/config/fe/workspace-configuration.yaml b/common-app-api/src/test/resources/config/fe/workspace-configuration.yaml new file mode 100644 index 0000000000..fd382592b7 --- /dev/null +++ b/common-app-api/src/test/resources/config/fe/workspace-configuration.yaml @@ -0,0 +1,199 @@ +workspaceMenuConfiguration: + VFC: + - text: General + action: onMenuItemPressed + state: workspace.general + - 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: Attributes + action: onMenuItemPressed + state: workspace.attributes + - text: Req. & Capabilities + action: onMenuItemPressed + state: workspace.reqAndCap + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + VL: + - text: General + action: onMenuItemPressed + state: workspace.general + - 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: Attributes + action: onMenuItemPressed + state: workspace.attributes + - text: Req. & Capabilities + action: onMenuItemPressed + state: workspace.reqAndCap + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + CP: + - text: General + action: onMenuItemPressed + state: workspace.general + - 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: Attributes + action: onMenuItemPressed + state: workspace.attributes + - text: Req. & Capabilities + action: onMenuItemPressed + state: workspace.reqAndCap + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + VF: + - text: General + action: onMenuItemPressed + state: workspace.general + - 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: Composition + action: onMenuItemPressed + state: workspace.composition.details + - text: Operation + action: onMenuItemPressed + state: workspace.interface_operation + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + - text: Deployment + action: onMenuItemPressed + state: workspace.deployment + - text: Properties Assignment + action: onMenuItemPressed + state: workspace.properties_assignment + - text: Req. & Capabilities + action: onMenuItemPressed + state: workspace.reqAndCapEditable + PNF: + - text: General + action: onMenuItemPressed + state: workspace.general + - 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: Composition + action: onMenuItemPressed + state: workspace.composition.details + - text: Operation + action: onMenuItemPressed + state: workspace.interface_operation + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + - text: Properties Assignment + action: onMenuItemPressed + state: workspace.properties_assignment + - text: Req. & Capabilities + action: onMenuItemPressed + state: workspace.reqAndCapEditable + CR: + - text: General + action: onMenuItemPressed + state: workspace.general + - 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: Composition + action: onMenuItemPressed + state: workspace.composition.details + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + - text: Properties Assignment + action: onMenuItemPressed + state: workspace.properties_assignment + SERVICE: + - text: General + action: onMenuItemPressed + state: workspace.general + - text: TOSCA Artifacts + action: onMenuItemPressed + state: workspace.tosca_artifacts + - text: Composition + action: onMenuItemPressed + state: workspace.composition.details + - text: Operation + action: onMenuItemPressed + state: workspace.interface_operation + - text: Activity Log + action: onMenuItemPressed + state: workspace.activity_log + - text: Management Workflow + action: onMenuItemPressed + state: workspace.management_workflow + - text: 'Network Call Flow ' + action: onMenuItemPressed + state: workspace.network_call_flow + - text: Distribution + action: onMenuItemPressed + state: workspace.distribution + disabledRoles: + - ADMIN + - TESTER + - GOVERNOR + - DESIGNER + - text: Deployment + action: onMenuItemPressed + state: workspace.deployment + - text: Properties Assignment + action: onMenuItemPressed + state: workspace.properties_assignment + - text: Outputs + action: onMenuItemPressed + state: workspace.outputs_assignment + - text: Req. & Capabilities + action: onMenuItemPressed + state: workspace.reqAndCapEditable -- cgit 1.2.3-korg