2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.mso.bpmn.infrastructure.scripts;
23 import static org.junit.Assert.*
24 import static org.mockito.Mockito.*
26 import org.junit.Before
27 import org.junit.Ignore
29 import org.junit.runner.RunWith
30 import org.mockito.MockitoAnnotations
31 import org.mockito.runners.MockitoJUnitRunner
33 import com.github.tomakehurst.wiremock.junit.WireMockRule
35 @RunWith(MockitoJUnitRunner.class)
36 @Ignore // No Junits exists in this class to run
37 class UpdateVfModuleVolumeInfraV1Test {
42 <related-to>tenant</related-to>
43 <related-link>https://aai-ext1.test.com:8443/aai/v7/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mdt1/tenants/tenant/fba1bd1e195a404cacb9ce17a9b2b421/</related-link>
45 <relationship-key>tenant.tenant-id</relationship-key>
46 <relationship-value>fba1bd1e195a404cacb9ce17a9b2b421</relationship-value>
49 <relationship-key>cloud-region.cloud-owner</relationship-key>
50 <relationship-value>att-aic</relationship-value>
53 <relationship-key>cloud-region.cloud-region-id</relationship-key>
54 <relationship-value>mdt1</relationship-value>
57 <property-key>tenant.tenant-name</property-key>
58 <property-value>ECOMP_MDT1</property-value>
59 </related-to-property>
62 <related-to>vf-module</related-to>
63 <related-link>https://aai-ext1.test.com:8443/aai/v7/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mdt1/tenants/tenant/fba1bd1e195a404cacb9ce17a9b2b421/</related-link>
65 <relationship-key>vf-module.vf-module-ids</relationship-key>
66 <relationship-value>fba1bd1e195a404cacb9ce17a9b2b421</relationship-value>
69 <relationship-key>cloud-region.cloud-owner</relationship-key>
70 <relationship-value>att-aic</relationship-value>
73 <relationship-key>cloud-region.cloud-region-id</relationship-key>
74 <relationship-value>mdt1</relationship-value>
77 <property-key>vf-module.vf-module-name</property-key>
78 <property-value>ECOMP_MDT1</property-value>
79 </related-to-property>
85 public WireMockRule wireMockRule = new WireMockRule(28090);
90 MockitoAnnotations.initMocks(this)