rollback EXTAPI-108 call tosca
[externalapi/nbi.git] / src / test / java / org / onap / nbi / apis / ApiTest.java
index 78d5b2a..5e07486 100644 (file)
@@ -136,14 +136,24 @@ public class ApiTest {
 
 
     @Test
-    public void testServiceCatalogGetResource() throws Exception {
+    @Ignore
+    public void testServiceResourceGetCatalog() throws Exception {
 
-        ResponseEntity<Object> resource = serviceSpecificationResource
-                .getServiceSpecification("1e3feeb0-8e36-46c6-862c-236d9c626439", null);
+        ResponseEntity<Object> resource =
+            serviceSpecificationResource.getServiceSpecification("1e3feeb0-8e36-46c6-862c-236d9c626439", null);
         ServiceCatalogAssertions.assertGetServiceCatalog(resource);
 
     }
 
+    @Test
+    public void testServiceCatalogGetResourceWithoutTosca() throws Exception {
+
+        ResponseEntity<Object> resource = serviceSpecificationResource
+            .getServiceSpecification("1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca", null);
+        ServiceCatalogAssertions.assertGetServiceCatalogWithoutTosca(resource);
+
+    }
+
     @Test
     public void testServiceCatalogFind() throws Exception {