d49c99153c307a86336b96389afdc5e620681e98
[ccsdk/cds.git] /
1 /*
2  * Copyright © 2017-2018 AT&T Intellectual Property.
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 package org.onap.ccsdk.apps.blueprintsprocessor.functions.netconf.executor.data
17
18 class NetconfAdaptorConstant {
19     companion object{
20         const val STATUS_CODE_SUCCESS = "200"
21         const val STATUS_CODE_FAILURE = "400"
22
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"
27
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"
32
33         const val DEFAULT_NETCONF_SESSION_MANAGER_TYPE = "DEFAULT_NETCONF_SESSION"
34
35         const val CONFIG_STATUS_PENDING = "pending"
36         const val CONFIG_STATUS_FAILED = "failed"
37         const val CONFIG_STATUS_SUCCESS = "success"
38
39         const val DEFAULT_MESSAGE_TIME_OUT = 30
40
41
42     }
43 }