Introduction
This page details the Design Specifications for the Tuscany SCA Native M4 Release.
The release contents can be found here: SCA Native Next Release Contents
Design Specifications
The design specifications for each topic are detailed below.
SCA Artifact Schemas
Currently, when the TuscanySCA runtime starts, it loads the following schemas:
- <install_root>/xsd/sca.xsd
- <install_root>/xsd/tuscany.xsd
- <install_root>/extensions/<every extension>/xsd/*.xsd
The schema file sca.xsd simply includes the following:
- <install_root>/xsd/sca-core.xsd
- <install_root>/xsd/sca-interface-java.xsd
- <install_root>/xsd/sca-interface-wsdl.xsd
- <install_root>/xsd/sca-implementation-java.xsd
- <install_root>/xsd/sca-implementation-composite.xsd
For the Tuscany M4 release, this will change so that any xsd file in the following directories will be loaded:
- <install_root>/xsd/*.xsd
- <install_root>/extensions/<extension directories>/xsd/*.xsd
The following TuscanySCA XML Schemas are what will be loaded for the M4 release.
They will need to be modified to reflect the SCA Assembly model and Client and Implementation version 1.0 specifications.
Those schemas that are loaded but ignored will be loaded for compatibility with TuscanySCA Java and other implementations.
The runtime will start without failure with relevant logging message will be generated, but the services will not be
available at runtime.
- runtime/core/xsd/ <font color="green"> deployed to <install_root>/xsd </font>
- sca-implementation-composite.xsd
- sca-interface-wsdl.xsd
- tuscany.xsd
- sca-core.xsd
- <font color="red"> sca.xsd : removed </font>
- <font color="blue"> sca-implementation-java.xsd : loaded but ignored </font>
- <font color="blue"> sca-interface-java.xsd : loaded but ignored </font>
- runtime/extensions/cpp/xsd/ <font color="green"> deployed to <install_root>/extensions/cpp/xsd </font>
- sca-implementation-cpp.xsd
- sca-interface-cpp.xsd
- runtime/extensions/php/xsd/ <font color="green"> deployed to <install_root>/extensions/php/xsd </font>
- sca-implementation-cpp.xsd
- runtime/extensions/python/xsd/ <font color="green"> deployed to <install_root>/extensions/python/xsd </font>
- sca-implementation-python.xsd
- sca-interface-python.xsd
- runtime/extensions/rest/xsd/ <font color="green"> deployed to <install_root>/extensions/rest/xsd </font>
- sca-binding-rest.xsd
- sca-interface-rest.xsd
- runtime/extensions/ruby/xsd/ <font color="green"> deployed to <install_root>/extensions/ruby/xsd </font>
- sca-implementation-ruby.xsd
- runtime/extensions/sca/xsd/ <font color="green"> deployed to <install_root>/extensions/sca/xsd </font>
- sca-binding-sca.xsd
- runtime/extensions/ws/xsd/ <font color="green"> deployed to <install_root>/extensions/ws/xsd </font>
- sca-binding-webservice.xsd