X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fbabel%2Fcsar%2Fvnfcatalog%2FSdcToscaHelper.java;h=6fbb1f109e5598f74e7de1318e638e6685e6b309;hb=refs%2Fchanges%2F88%2F77888%2F1;hp=9fcc5a46d9ec28155d9f2ff600d629e06947283c;hpb=1954294aed95c2db4eb2659dcef91248535de079;p=aai%2Fbabel.git diff --git a/src/test/java/org/onap/aai/babel/csar/vnfcatalog/SdcToscaHelper.java b/src/test/java/org/onap/aai/babel/csar/vnfcatalog/SdcToscaHelper.java index 9fcc5a4..6fbb1f1 100644 --- a/src/test/java/org/onap/aai/babel/csar/vnfcatalog/SdcToscaHelper.java +++ b/src/test/java/org/onap/aai/babel/csar/vnfcatalog/SdcToscaHelper.java @@ -2,8 +2,8 @@ * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ - * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. - * Copyright © 2017-2018 European Software Marketing Ltd. + * Copyright © 2017-2019 AT&T Intellectual Property. All rights reserved. + * Copyright © 2017-2019 European Software Marketing Ltd. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,7 +31,9 @@ public class SdcToscaHelper { private ArrayList smnodetemplates = new ArrayList<>(); /** - * @return + * Create the test SubstitutionMappings. + * + * @return the new Substitution Mappings */ public SubstitutionMappings buildMappings() { LinkedHashMap defProps = getImagesDefProps(); @@ -78,7 +80,7 @@ public class SdcToscaHelper { } /** - * + * Create a new NodeTemplate and add it to the list (for populating the Substitution Mappings). */ public void addNodeTemplate() { String name = "node name"; @@ -98,7 +100,11 @@ public class SdcToscaHelper { } /** + * Simulate the creation of a NodeTemplate by the SDC TOSCA parser. Populate the properties of the NodeTemplate with + * the supplied images. + * * @param images + * the value of the images property */ public void addNodeTemplate(Object images) { LinkedHashMap properties = new LinkedHashMap<>();