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