1 package org.openecomp.sdc.be.tosca.utils;
4 import org.openecomp.sdc.be.datatypes.elements.OperationDataDefinition;
5 import org.openecomp.sdc.be.tosca.CsarUtils;
7 public class OperationArtifactUtil {
10 * This method assumes that operation.getImplementation() is not NULL ( it should be verified by the caller method)
12 * @param componentName component's normalized name
13 * @param interfaceType the specific interface name
14 * @param operation teh specific operation name
15 * @return the full path including file name for operation's artifacts
18 public static String createOperationArtifactPath(String componentName, String interfaceType,
19 OperationDataDefinition operation) {
20 return CsarUtils.ARTIFACTS + File.separator + componentName + File.separator + interfaceType + File.separator
21 + CsarUtils.DEPLOYMENT_ARTIFACTS_DIR + CsarUtils.WORKFLOW_ARTIFACT_DIR + operation