Commit c1bc5074 authored by Spiros Koulouzis's avatar Spiros Koulouzis

write cloudstrom schema

parent 05902775
...@@ -228,6 +228,7 @@ class CloudStormService { ...@@ -228,6 +228,7 @@ class CloudStormService {
private void writeCloudStormInfrasCodeFiles(String infrasCodeTempInputDirPath, List<CloudsStormSubTopology> cloudStormSubtopologies) throws ApiException { private void writeCloudStormInfrasCodeFiles(String infrasCodeTempInputDirPath, List<CloudsStormSubTopology> cloudStormSubtopologies) throws ApiException {
List<NodeTemplateMap> vmTopologiesMaps = helper.getVMTopologyTemplates(); List<NodeTemplateMap> vmTopologiesMaps = helper.getVMTopologyTemplates();
int i = 0; int i = 0;
InfrasCodes ce =new
for (NodeTemplateMap vmTopologyMap : vmTopologiesMaps) { for (NodeTemplateMap vmTopologyMap : vmTopologiesMaps) {
Map<String, Object> provisionInterface = helper.getProvisionerInterfaceFromVMTopology(vmTopologyMap); Map<String, Object> provisionInterface = helper.getProvisionerInterfaceFromVMTopology(vmTopologyMap);
String operation = provisionInterface.keySet().iterator().next(); String operation = provisionInterface.keySet().iterator().next();
......
OpCode: OpCode:
type: "object" type: "object"
properties: properties:
Operation:
type: "string"
Operation: Operation:
type: "string" type: "string"
Objects: Objects:
...@@ -12,4 +10,4 @@ ...@@ -12,4 +10,4 @@
Log: Log:
type: "boolean" type: "boolean"
Options: Options:
type: $ref: "https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/Options.yml#/Options" $ref: "https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/Options.yml#/Options"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment