Move the VNFM Simulator into CSIT
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / vnfm-simulator / vnfm-service / src / main / java / org / onap / so / svnfm / simulator / notifications / VnfInstantiationNotification.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
4  * ================================================================================
5  *  Modifications Copyright (c) 2019 Samsung
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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  *
19  * SPDX-License-Identifier: Apache-2.0
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.onap.so.svnfm.simulator.notifications;
24
25 import org.slf4j.Logger;
26 import org.slf4j.LoggerFactory;
27
28 /**
29  * 
30  * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
31  * @author Ronan Kenny (ronan.kenny@est.tech)
32  */
33 public class VnfInstantiationNotification implements Runnable {
34
35     private static final Logger logger = LoggerFactory.getLogger(VnfInstantiationNotification.class);
36
37     @Override
38     public void run() {
39         try {
40             Thread.sleep(10000);
41         } catch (final InterruptedException e) {
42             logger.error("Error occured while simulating instantiation ", e);
43             Thread.currentThread().interrupt();
44         }
45         logger.info("Instantiation process finished");
46     }
47 }