import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;
+import static com.google.common.base.Splitter.on;
+import static com.google.common.collect.Lists.newArrayList;
import static org.onap.vfc.nfvo.driver.vnfm.svnfm.nokia.util.CbamUtils.SEPARATOR;
/**
return vnfId + SEPARATOR + cbamVnfcId;
}
+ /**
+ * @param onapVnfcId the identifier of the VNFC in AAI
+ * @return the identifier of the VNFC in CBAM
+ */
+ public static String buildCbamId(String onapVnfcId) {
+ return newArrayList(on(SEPARATOR).split(onapVnfcId)).get(1);
+ }
+
@Override
protected Logger getLogger() {
return logger;