2  * ============LICENSE_START==========================================
 
   3  * Copyright (c) 2019 PANTHEON.tech s.r.o.
 
   4  * ===================================================================
 
   5  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 
   6  * the License. You may obtain a copy of the License at
 
   8  *        http://www.apache.org/licenses/LICENSE-2.0
 
  10  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 
  11  * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
 
  12  * OF ANY KIND, either express or implied. See the License for the specific language governing permissions and
 
  13  * limitations under the License.
 
  14  * ============LICENSE_END============================================
 
  17 package org.onap.ccsdk.sli.plugins.prop.lighty;
 
  19 import io.lighty.core.controller.api.AbstractLightyModule;
 
  20 import io.lighty.core.controller.api.LightyModule;
 
  21 import org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode;
 
  24  * The implementation of the {@link io.lighty.core.controller.api.LightyModule} that manages and provides services from
 
  25  * the restapi-call-node-provider artifact.
 
  27 public class RestApiCallNodeModule extends AbstractLightyModule implements LightyModule {
 
  29     private RestapiCallNode restapiCallNode;
 
  32     protected boolean initProcedure() {
 
  33         this.restapiCallNode = new RestapiCallNode();
 
  38     protected boolean stopProcedure() {
 
  42     public RestapiCallNode getPropertiesNode() {
 
  43         return this.restapiCallNode;