diff options
Diffstat (limited to 'jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython')
12 files changed, 115 insertions, 0 deletions
diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyCapability.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyCapability.java new file mode 100644 index 0000000..1956932 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyCapability.java @@ -0,0 +1,9 @@ +package org.openecomp.sdc.toscaparser.jython; + +import java.util.List; + +public interface JyCapability { + + String getJyName(); + List<JyProperty> getJyProperties(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyEntityTemplate.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyEntityTemplate.java new file mode 100644 index 0000000..cdcb8a0 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyEntityTemplate.java @@ -0,0 +1,16 @@ +package org.openecomp.sdc.toscaparser.jython; + +import java.util.List; +import java.util.Map; + +import org.openecomp.sdc.toscaparser.jython.elements.JyStatefulEntityType; + +public interface JyEntityTemplate { + + String getJyName(); + String getJyDescription(); + JyStatefulEntityType getJyTypeDefinition(); + List<JyProperty> getJyProperties(); + List<JyCapability> getJyCapabilities(); + List<Map<String, Map<String, Object>>> getJyRequirements(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyGroup.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyGroup.java new file mode 100644 index 0000000..c155dc6 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyGroup.java @@ -0,0 +1,5 @@ +package org.openecomp.sdc.toscaparser.jython; + +public interface JyGroup extends JyEntityTemplate { + +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyNodeTemplate.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyNodeTemplate.java new file mode 100644 index 0000000..b04a337 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyNodeTemplate.java @@ -0,0 +1,5 @@ +package org.openecomp.sdc.toscaparser.jython; + +public interface JyNodeTemplate extends JyEntityTemplate { + +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyProperty.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyProperty.java new file mode 100644 index 0000000..4c33b92 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyProperty.java @@ -0,0 +1,11 @@ +package org.openecomp.sdc.toscaparser.jython; + +public interface JyProperty { + + String getJyName(); + Object getJyValue(); + String getJyValueClassName(); + String getJyType(); + boolean isJyRequired(); + String getJyDescription(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JySubstitutionMappings.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JySubstitutionMappings.java new file mode 100644 index 0000000..bd95cdc --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JySubstitutionMappings.java @@ -0,0 +1,13 @@ +package org.openecomp.sdc.toscaparser.jython; + +import java.util.List; + +import org.openecomp.sdc.toscaparser.jython.elements.JyNodeType; +import org.openecomp.sdc.toscaparser.jython.parameters.JyInput; + +public interface JySubstitutionMappings { + + List<JyNodeTemplate> getJyNodeTemplates(); + List<JyInput> getJyInputs(); + JyNodeType getJyNodeDefinition(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyTopologyTemplate.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyTopologyTemplate.java new file mode 100644 index 0000000..c6fe053 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyTopologyTemplate.java @@ -0,0 +1,14 @@ +package org.openecomp.sdc.toscaparser.jython; + +import java.util.List; + +import org.openecomp.sdc.toscaparser.jython.parameters.JyInput; + +public interface JyTopologyTemplate { + + String getJyDescription(); + List<JyNodeTemplate> getJyNodeTemplates(); + List<JyInput> getJyInputs(); + List<JyGroup> getJyGroups(); + JySubstitutionMappings getJySubstitutionMappings(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyToscaTemplate.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyToscaTemplate.java new file mode 100644 index 0000000..c58a042 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/JyToscaTemplate.java @@ -0,0 +1,11 @@ +package org.openecomp.sdc.toscaparser.jython; + +import java.util.List; + +public interface JyToscaTemplate { + + String getJyVersion(); + String getJyDescription(); + List<JyNodeTemplate> getJyNodeTemplates(); + JyTopologyTemplate getJyTopologyTemplate(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyGroupType.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyGroupType.java new file mode 100644 index 0000000..1ad2492 --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyGroupType.java @@ -0,0 +1,7 @@ +package org.openecomp.sdc.toscaparser.jython.elements; + +public interface JyGroupType extends JyStatefulEntityType { + + String getJyVersion(); + String getJyDescription(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyNodeType.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyNodeType.java new file mode 100644 index 0000000..885dcda --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyNodeType.java @@ -0,0 +1,8 @@ +package org.openecomp.sdc.toscaparser.jython.elements; + +import java.util.List; + +public interface JyNodeType extends JyStatefulEntityType { + + List<?> getJyRequirements(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyStatefulEntityType.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyStatefulEntityType.java new file mode 100644 index 0000000..890bc6c --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/elements/JyStatefulEntityType.java @@ -0,0 +1,7 @@ +package org.openecomp.sdc.toscaparser.jython.elements; + +public interface JyStatefulEntityType { + + String getJyType(); + String getJyClassName(); +} diff --git a/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/parameters/JyInput.java b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/parameters/JyInput.java new file mode 100644 index 0000000..320e91b --- /dev/null +++ b/jython-tosca-parser/src/main/java/org/openecomp/sdc/toscaparser/jython/parameters/JyInput.java @@ -0,0 +1,9 @@ +package org.openecomp.sdc.toscaparser.jython.parameters; + +public interface JyInput { + + String getJyName(); + String getJyType(); + boolean isJyRequired(); + String getJyDescription(); +} |