Updated shared folders
Change-Id: I57f797989f05db4cb1e7b9685e32a0252b72a077
diff --git a/frontend/docker-compose-bootstrap.yml b/frontend/docker-compose-bootstrap.yml
index 26a41de..66ca64e 100644
--- a/frontend/docker-compose-bootstrap.yml
+++ b/frontend/docker-compose-bootstrap.yml
@@ -20,6 +20,10 @@
- ../../xos/xos/api/utility:/opt/xos/api/utility
- ../../xos/xos/core/models:/opt/xos/core/models
- ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
+ - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
+ - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
+ - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
+ - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
- ../../xos/xos/xos:/opt/xos/xos
- ../../xos/xos/tosca:/opt/xos/tosca
- ../../xos/xos/synchronizers:/opt/xos/synchronizers
diff --git a/frontend/mocks/addictional_services.yaml b/frontend/mocks/addictional_services.yaml
new file mode 100644
index 0000000..6c01b40
--- /dev/null
+++ b/frontend/mocks/addictional_services.yaml
@@ -0,0 +1,24 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+description: Setup CORD-related services
+
+imports:
+ - custom_types/xos.yaml
+
+topology_template:
+ node_templates:
+ service#test:
+ type: tosca.nodes.Service
+ properties:
+ view_url: /admin/test/testservice/$id$/
+ requirements:
+ - test_tenant:
+ node: service#volt
+ relationship: tosca.relationships.TenantOfService
+
+ service#volt:
+ type: tosca.nodes.VOLTService
+ properties:
+ no-delete: true
+ no-create: true
+ no-update: true
\ No newline at end of file
diff --git a/frontend/xos.yaml b/frontend/xos.yaml
index 04bffef..76d23f1 100644
--- a/frontend/xos.yaml
+++ b/frontend/xos.yaml
@@ -46,6 +46,56 @@
node: xos
relationship: tosca.relationships.UsedByXOS
+ /opt/xos/core/templatetags:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ /opt/xos/core/xoslib/dashboards:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ /opt/xos/core/xoslib/static/css:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ /opt/xos/core/xoslib/static/images:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ /opt/xos/core/xoslib/static/js:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
/opt/xos/templates:
type: tosca.nodes.XOSVolume
properties:
diff --git a/test-standalone/docker-compose-bootstrap.yml b/test-standalone/docker-compose-bootstrap.yml
index 5e51f60..eb54cc9 100644
--- a/test-standalone/docker-compose-bootstrap.yml
+++ b/test-standalone/docker-compose-bootstrap.yml
@@ -14,6 +14,7 @@
- ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
- ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
- ../../xos_services:/opt/xos_services
+ - ../../xos/xos/core/tests:/opt/xos/core/tests
xos_synchronizer_onboarding:
image: xosproject/xos-synchronizer-onboarding
diff --git a/test-standalone/xos.yaml b/test-standalone/xos.yaml
index ee6be6b..81446a3 100644
--- a/test-standalone/xos.yaml
+++ b/test-standalone/xos.yaml
@@ -17,7 +17,7 @@
frontend_only: true
source_ui_image: xosproject/xos-test
- /opt/xos/xos_configuration/xos_common_config:
+ /opt/xos/core/xos_common_config:
type: tosca.nodes.XOSVolume
properties:
host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }