Merge "[SO] create generic pnf healthcheck workflow"
authorByung-Woo Jun <byung-woo.jun@est.tech>
Fri, 31 Jul 2020 01:13:18 +0000 (01:13 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 31 Jul 2020 01:13:18 +0000 (01:13 +0000)
1  2 
mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/ServiceInstancesTest.java

@@@ -1,8 -1,6 +1,6 @@@
  /*-
   * ============LICENSE_START=======================================================
-  * ONAP - SO
-  * ================================================================================
-  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  *  Copyright (C) 2020 Nordix Foundation.
   * ================================================================================
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
@@@ -15,6 -13,8 +13,8 @@@
   * 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.
+  *
+  * SPDX-License-Identifier: Apache-2.0
   * ============LICENSE_END=========================================================
   */
  
@@@ -97,8 -97,6 +97,8 @@@ public class ServiceInstancesTest exten
  
      private final String servInstanceuri = "/onap/so/infra/serviceInstantiation/";
      private final String servInstanceUriPrev7 = "/onap/so/infra/serviceInstances/";
 +    private final String orchestration_path = "/onap/so/infra";
 +
      private String uri;
      private URL selfLink;
      private URL initialUrl;
          headers.set(ONAP_PARTNER_NAME, "VID");
          headers.set(REQUESTOR_ID, "xxxxxx");
          try { // generate one-time port number to avoid RANDOM port number later.
 -            initialUrl = new URL(createURLWithPort(Constants.ORCHESTRATION_REQUESTS_PATH));
 +            initialUrl = new URL(createURLWithPort(Constants.ORCHESTRATION_REQUESTS_PATH, orchestration_path));
              initialPort = initialUrl.getPort();
          } catch (MalformedURLException e) {
              e.printStackTrace();