Topology tree: enrich vfModules data from other versions of same model
[vid.git] / vid-app-common / src / main / java / org / onap / vid / services / VidService.java
index f7bc1f2..30802f9 100644 (file)
@@ -23,10 +23,13 @@ package org.onap.vid.services;
 
 import org.onap.vid.asdc.AsdcCatalogException;
 import org.onap.vid.model.ServiceModel;
+import org.springframework.lang.NonNull;
 
 public interface VidService extends ProbeInterface {
 
        ServiceModel getService(String uuid) throws AsdcCatalogException;
 
+       @NonNull ServiceModel getServiceModelOrThrow(String modelVersionId);
+
     void invalidateServiceCache();
 }