6128cfdf4610c38cdc9b0446cae2c6e5260b6636
[sdc/sdc-workflow-designer.git] /
1 /**
2  * Copyright (c) 2017-2018 ZTE Corporation.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the Apache License, Version 2.0
5  * and the Eclipse Public License v1.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *     ZTE - initial API and implementation and/or initial documentation
11  */
12 package org.onap.sdc.workflowdesigner.parser;
13
14 public interface JsonKeys {
15
16
17         /*
18          * Field names of BPMN4Tosca Model
19          */
20         public static final String DATA = "data";
21         public static final String NODES = "nodes";
22         public static final String REST_CONFIGS = "restConfigs";
23         public static final String CONFIGS = "configs";
24         
25         
26         // microservice info
27         public static final String MICROSERVICE_URL = "url";
28         public static final String MICROSERVICE_NAME = "name";
29         public static final String MICROSERVICE_VERSION = "version";
30         
31         public static final String NAME = "name";
32
33         public static final String ID = "id";
34
35         public static final String TYPE = "type";
36
37         public static final String INPUT = "input";
38
39         public static final String OUTPUT = "output";
40
41         public static final String VALUE = "value";
42
43         public static final String NODE_TEMPLATE = "node_template";
44
45         public static final String NODE_OPERATION = "node_operation";
46
47         public static final String NODE_INTERFACE_NAME = "interface";
48
49         public static final String CONNECTIONS = "connection";
50         
51         public static final String SOURCE_REF = "sourceRef";
52         
53         public static final String TARGET_REF = "targetRef";
54         
55         public static final String CONDITIONS = "conditions";
56         
57         public static final String CONDITION = "condition";
58         
59         public static final String DEFAULT = "default";
60
61
62         /*
63          * Exclusive-Gateway, Event, Management-Task Types
64          *
65          */
66         public static final String NODE_TYPE_MGMT_TASK = "ToscaNodeManagementTask";
67
68         public static final String NODE_TYPE_START_EVENT = "StartEvent";
69
70         public static final String NODE_TYPE_END_EVENT = "EndEvent";
71         
72         public static final String NODE_TYPE_GATEWAY_EXCLUSIVE = "ExclusiveGateway";
73         
74         public static final String NODE_TYPE_GATEWAY_EXCLUSIVE_END = "ExclusiveGatewayEnd";
75
76
77         /*
78          * Parameter Types
79          */
80         public static final String PARAM_TYPE_VALUE_STRING = "string";
81
82         public static final String PARAM_TYPE_VALUE_TOPOLOGY = "topology";
83
84         public static final String PARAM_TYPE_VALUE_PLAN = "plan";
85
86         public static final String PARAM_TYPE_VALUE_CONCAT = "concat";
87
88         public static final String PARAM_TYPE_VALUE_IA = "implementation_artifact";
89
90         public static final String PARAM_TYPE_VALUE_DA = "deployment_artifact";
91
92 }