2  * Copyright © 2017-2018 AT&T Intellectual Property.
 
   4  * Licensed under the Apache License, Version 2.0 (the "License");
 
   5  * you may not use this file except in compliance with the License.
 
   6  * 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
 
  11  * distributed under the License is distributed on an "AS IS" BASIS,
 
  12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
  13  * See the License for the specific language governing permissions and
 
  14  * limitations under the License.
 
  16 package org.onap.ccsdk.apps.blueprintsprocessor.functions.netconf.executor.data
 
  18 class NetconfAdaptorConstant {
 
  20         const val STATUS_CODE_SUCCESS = "200"
 
  21         const val STATUS_CODE_FAILURE = "400"
 
  23         const val STATUS_SUCCESS = "success"
 
  24         const val STATUS_FAILURE = "failure"
 
  25         const val STATUS_SKIPPED = "skipped"
 
  26         const val LOG_MESSAGE_TYPE_LOG = "Log"
 
  28         const val CONFIG_TARGET_RUNNING = "running"
 
  29         const val CONFIG_TARGET_CANDIDATE = "candidate"
 
  30         const val CONFIG_DEFAULT_OPERATION_MERGE = "merge"
 
  31         const val CONFIG_DEFAULT_OPERATION_REPLACE = "replace"
 
  33         const val DEFAULT_NETCONF_SESSION_MANAGER_TYPE = "DEFAULT_NETCONF_SESSION"
 
  35         const val CONFIG_STATUS_PENDING = "pending"
 
  36         const val CONFIG_STATUS_FAILED = "failed"
 
  37         const val CONFIG_STATUS_SUCCESS = "success"
 
  39         const val DEFAULT_MESSAGE_TIME_OUT = 30