+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2018 Amdocs
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
package org.onap.aai.sparky.viewandinspect;
import static org.junit.Assert.assertEquals;
Mockito
.when(aaiAdapter.queryActiveInventoryWithRetries(Matchers.contains("customer-4"),
- Mockito.anyString(), Mockito.anyInt()))
+ Mockito.anyString(), Mockito.anyInt(),Mockito.anyString()))
.thenReturn(new OperationResult(200, TestResourceLoader
.getTestResourceDataJson("/sync/aai/aai-resources/customer/customer-4.json")));
Mockito
.when(aaiAdapter.queryActiveInventoryWithRetries(Matchers.contains("tenant/tenant-1"),
- Mockito.anyString(), Mockito.anyInt()))
+ Mockito.anyString(), Mockito.anyInt(),Mockito.anyString()))
.thenReturn(new OperationResult(200, TestResourceLoader
.getTestResourceDataJson("/sync/aai/aai-resources/tenant/tenant-1.json")));
Mockito
.when(aaiAdapter.queryActiveInventoryWithRetries(
Matchers.contains("generic-query/service-subscription-2"), Mockito.anyString(),
- Mockito.anyInt()))
+ Mockito.anyInt(),Mockito.anyString()))
.thenReturn(new OperationResult(200, TestResourceLoader.getTestResourceDataJson(
"/sync/aai/aai-traversal/generic-query/service-subscription/service-subscription-2.json")));
Mockito
.when(aaiAdapter.queryActiveInventoryWithRetries(
Matchers.contains("generic-query/service-instance-id/service-instance-54"),
- Mockito.anyString(), Mockito.anyInt()))
+ Mockito.anyString(), Mockito.anyInt(),Mockito.anyString()))
.thenReturn(new OperationResult(200, TestResourceLoader.getTestResourceDataJson(
"/sync/aai/aai-traversal/generic-query/service-instance/service-instance-54.json")));
Mockito
.when(aaiAdapter.queryActiveInventoryWithRetries(
Matchers.contains("generic-query/service-instance-id/service-instance-55"),
- Mockito.anyString(), Mockito.anyInt()))
+ Mockito.anyString(), Mockito.anyInt(),Mockito.anyString()))
.thenReturn(new OperationResult(200, TestResourceLoader.getTestResourceDataJson(
"/sync/aai/aai-traversal/generic-query/service-instance/service-instance-55.json")));