diff options
Diffstat (limited to 'asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes')
10 files changed, 0 insertions, 605 deletions
diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaCapabilitiesNodeTemplatesDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaCapabilitiesNodeTemplatesDefinition.java deleted file mode 100644 index 76c0c86680..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaCapabilitiesNodeTemplatesDefinition.java +++ /dev/null @@ -1,25 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -public class ToscaCapabilitiesNodeTemplatesDefinition { - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaDefinition.java deleted file mode 100644 index 766d4d9fd5..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaDefinition.java +++ /dev/null @@ -1,79 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -import java.util.List; - -/** - * First Level tosca yml structure - * @author al714h - * - */ -public class ToscaDefinition { - - String toscaDefinitionVersion; - List<ToscaImportsDefinition> toscaImports; - List<ToscaNodeTypesDefinition> toscaNodeTypes; - ToscaTopologyTemplateDefinition toscaTopologyTemplate; - - public ToscaDefinition() { - super(); - } - - public String getToscaDefinitionVersion() { - return toscaDefinitionVersion; - } - - public void setToscaDefinitionVersion(String toscaDefinitionVersion) { - this.toscaDefinitionVersion = toscaDefinitionVersion; - } - - public List<ToscaImportsDefinition> getToscaImports() { - return toscaImports; - } - - public void setToscaImports(List<ToscaImportsDefinition> toscaImports) { - this.toscaImports = toscaImports; - } - - public List<ToscaNodeTypesDefinition> getToscaNodeTypes() { - return toscaNodeTypes; - } - - public void setToscaNodeTypes(List<ToscaNodeTypesDefinition> toscaNodeTypes) { - this.toscaNodeTypes = toscaNodeTypes; - } - - public ToscaTopologyTemplateDefinition getToscaTopologyTemplate() { - return toscaTopologyTemplate; - } - - public void setToscaTopologyTemplate(ToscaTopologyTemplateDefinition toscaTopologyTemplate) { - this.toscaTopologyTemplate = toscaTopologyTemplate; - } - - @Override - public String toString() { - return "ToscaDefinition [toscaDefinitionVersion=" + toscaDefinitionVersion + ", toscaImports=" + toscaImports - + ", toscaNodeTypes=" + toscaNodeTypes + ", toscaTopologyTemplate=" + toscaTopologyTemplate + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaGroupsTopologyTemplateDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaGroupsTopologyTemplateDefinition.java deleted file mode 100644 index e19fcb3aba..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaGroupsTopologyTemplateDefinition.java +++ /dev/null @@ -1,78 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -import java.util.List; - -// spec page 102 -public class ToscaGroupsTopologyTemplateDefinition { - - String type; // required - String description; - // List<ToscaGroupsProperiesDefinition> toscaGroupsProperiesDefinition; - List<String> targets; // required - // List<ToscaGroupsInterfacesDefinition> toscaGroupsInterfacesDefinition; - List<String> members; - - public ToscaGroupsTopologyTemplateDefinition() { - super(); - // TODO Auto-generated constructor stub - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public List<String> getTargets() { - return targets; - } - - public void setTargets(List<String> targets) { - this.targets = targets; - } - - public List<String> getMembers() { - return members; - } - - public void setMembers(List<String> members) { - this.members = members; - } - - @Override - public String toString() { - return "ToscaGroupsTopologyTemplateDefinition [type=" + type + ", description=" + description + ", targets=" - + targets + ", members=" + members + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaImportsDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaImportsDefinition.java deleted file mode 100644 index 5363223c38..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaImportsDefinition.java +++ /dev/null @@ -1,59 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -import java.util.List; - -import org.openecomp.sdc.ci.tests.datatypes.GroupHeatMetaDefinition; - -public class ToscaImportsDefinition { - - String typeName; - - List<GroupHeatMetaDefinition> groupHeatMetaDefinition; - - public ToscaImportsDefinition() { - super(); - } - - public String getTypeName() { - return typeName; - } - - public void setTypeName(String typeName) { - this.typeName = typeName; - } - - public List<GroupHeatMetaDefinition> getGroupHeatMetaDefinition() { - return groupHeatMetaDefinition; - } - - public void setGroupHeatMetaDefinition(List<GroupHeatMetaDefinition> groupHeatMetaDefinition) { - this.groupHeatMetaDefinition = groupHeatMetaDefinition; - } - - @Override - public String toString() { - return "TypeHeatMetaDefinition [typeName=" + typeName + ", groupHeatMetaDefinition=" + groupHeatMetaDefinition - + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaInputsTopologyTemplateDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaInputsTopologyTemplateDefinition.java deleted file mode 100644 index 62f859c567..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaInputsTopologyTemplateDefinition.java +++ /dev/null @@ -1,25 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -public class ToscaInputsTopologyTemplateDefinition { - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaNodeTemplatesTopologyTemplateDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaNodeTemplatesTopologyTemplateDefinition.java deleted file mode 100644 index 8970467e9c..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaNodeTemplatesTopologyTemplateDefinition.java +++ /dev/null @@ -1,83 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -import java.util.List; - -public class ToscaNodeTemplatesTopologyTemplateDefinition { - - String name; - String type; - List<ToscaPropertiesNodeTemplatesDefinition> properties; - List<ToscaRequirementsNodeTemplatesDefinition> requirements; - List<ToscaCapabilitiesNodeTemplatesDefinition> capabilities; - - public ToscaNodeTemplatesTopologyTemplateDefinition() { - super(); - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public List<ToscaPropertiesNodeTemplatesDefinition> getProperties() { - return properties; - } - - public void setProperties(List<ToscaPropertiesNodeTemplatesDefinition> properties) { - this.properties = properties; - } - - public List<ToscaRequirementsNodeTemplatesDefinition> getRequirements() { - return requirements; - } - - public void setRequirements(List<ToscaRequirementsNodeTemplatesDefinition> requirements) { - this.requirements = requirements; - } - - public List<ToscaCapabilitiesNodeTemplatesDefinition> getCapabilities() { - return capabilities; - } - - public void setCapabilities(List<ToscaCapabilitiesNodeTemplatesDefinition> capabilities) { - this.capabilities = capabilities; - } - - @Override - public String toString() { - return "ToscaNodeTemplatesTopologyTemplateDefinition [name=" + name + ", type=" + type + ", properties=" - + properties + ", requirements=" + requirements + ", capabilities=" + capabilities + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaNodeTypesDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaNodeTypesDefinition.java deleted file mode 100644 index 148e99c58c..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaNodeTypesDefinition.java +++ /dev/null @@ -1,54 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -// spec page 88 -public class ToscaNodeTypesDefinition { - - String name; - String derivedFrom; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDerivedFrom() { - return derivedFrom; - } - - public void setDerivedFrom(String derivedFrom) { - this.derivedFrom = derivedFrom; - } - - public ToscaNodeTypesDefinition() { - super(); - } - - @Override - public String toString() { - return "CsarNodeTypesDefinition [name=" + name + ", derivedFrom=" + derivedFrom + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaPropertiesNodeTemplatesDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaPropertiesNodeTemplatesDefinition.java deleted file mode 100644 index cf0add050d..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaPropertiesNodeTemplatesDefinition.java +++ /dev/null @@ -1,53 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -public class ToscaPropertiesNodeTemplatesDefinition { - - String name; - Object value; - - public ToscaPropertiesNodeTemplatesDefinition() { - super(); - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Object getValue() { - return value; - } - - public void setValue(Object value) { - this.value = value; - } - - @Override - public String toString() { - return "ToscaPropertyNodeTemplatesTopologyTemplateDefinition [name=" + name + ", value=" + value + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaRequirementsNodeTemplatesDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaRequirementsNodeTemplatesDefinition.java deleted file mode 100644 index bd9f0f0f5e..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaRequirementsNodeTemplatesDefinition.java +++ /dev/null @@ -1,72 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -public class ToscaRequirementsNodeTemplatesDefinition { - - String name; - String capability; - String node; - String relationship; - - public ToscaRequirementsNodeTemplatesDefinition() { - super(); - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getCapability() { - return capability; - } - - public void setCapability(String capability) { - this.capability = capability; - } - - public String getNode() { - return node; - } - - public void setNode(String node) { - this.node = node; - } - - public String getRelationship() { - return relationship; - } - - public void setRelationship(String relationship) { - this.relationship = relationship; - } - - @Override - public String toString() { - return "ToscaRequirementsDefinition [name=" + name + ", capability=" + capability + ", node=" + node - + ", relationship=" + relationship + "]"; - } - -} diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaTopologyTemplateDefinition.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaTopologyTemplateDefinition.java deleted file mode 100644 index 549867a562..0000000000 --- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/tosca/datatypes/ToscaTopologyTemplateDefinition.java +++ /dev/null @@ -1,77 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.ci.tests.tosca.datatypes; - -import java.util.List; - -// spec page 104 -public class ToscaTopologyTemplateDefinition { - - String description; - List<ToscaInputsTopologyTemplateDefinition> toscaInputsTopologyTemplateDefinition; - List<ToscaNodeTemplatesTopologyTemplateDefinition> toscaNodeTemplatesTopologyTemplateDefinition; - // List<ToscaRelationshipTemplatesTopologyTemplateDefinition> - List<ToscaGroupsTopologyTemplateDefinition> toscaGroupsTopologyTemplateDefinition; - // List<ToscaPoliciesTopologyTemplateDefinition> - // toscaPolociesTopologyTemplateDefinition; - // List<ToscaOutputsTopologyTemplateDefinition> - // toscaOutputsTopologyTemplateDefinition; - - public ToscaTopologyTemplateDefinition() { - super(); - } - - public List<ToscaInputsTopologyTemplateDefinition> getToscaInputsTopologyTemplateDefinition() { - return toscaInputsTopologyTemplateDefinition; - } - - public void setToscaInputsTopologyTemplateDefinition( - List<ToscaInputsTopologyTemplateDefinition> toscaInputsTopologyTemplateDefinition) { - this.toscaInputsTopologyTemplateDefinition = toscaInputsTopologyTemplateDefinition; - } - - public List<ToscaNodeTemplatesTopologyTemplateDefinition> getToscaNodeTemplatesTopologyTemplateDefinition() { - return toscaNodeTemplatesTopologyTemplateDefinition; - } - - public void setToscaNodeTemplatesTopologyTemplateDefinition( - List<ToscaNodeTemplatesTopologyTemplateDefinition> toscaNodeTemplatesTopologyTemplateDefinition) { - this.toscaNodeTemplatesTopologyTemplateDefinition = toscaNodeTemplatesTopologyTemplateDefinition; - } - - public List<ToscaGroupsTopologyTemplateDefinition> getToscaGroupsTopologyTemplateDefinition() { - return toscaGroupsTopologyTemplateDefinition; - } - - public void setToscaGroupsTopologyTemplateDefinition( - List<ToscaGroupsTopologyTemplateDefinition> toscaGroupsTopologyTemplateDefinition) { - this.toscaGroupsTopologyTemplateDefinition = toscaGroupsTopologyTemplateDefinition; - } - - @Override - public String toString() { - return "ToscaTopologyTemplateDefinition [toscaInputsTopologyTemplateDefinition=" - + toscaInputsTopologyTemplateDefinition + ", toscaNodeTemplatesTopologyTemplateDefinition=" - + toscaNodeTemplatesTopologyTemplateDefinition + ", toscaGroupsTopologyTemplateDefinition=" - + toscaGroupsTopologyTemplateDefinition + "]"; - } - -} |