2237d8dd02593896a241dc64cfadc4d79ba1459f
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-server / src / main / java / org / onap / sdc / workflowdesigner / parser / JsonKeys.java
1 /**\r
2  * Copyright (c) 2017 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the Apache License, Version 2.0\r
5  * and the Eclipse Public License v1.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 package org.onap.sdc.workflowdesigner.parser;\r
13 \r
14 public interface JsonKeys {\r
15     // workflow keys\r
16     public static final String NODES = "nodes";\r
17     public static final String CONFIGS = "configs";\r
18     \r
19     // configs keys\r
20     public static final String REST_CONFIGS = "restConfigs";\r
21     public static final String TYPE = "type";\r
22     \r
23     // workflow node keys\r
24     public static final String SEQUENCE_FLOWS = "sequenceFlows";\r
25     \r
26     // sequence flow keys\r
27     public static final String SOURCE_REF = "sourceRef";\r
28     public static final String TARGET_REF = "targetRef";\r
29     public static final String CONDITION = "condition";\r
30     \r
31     \r
32  // microservice info\r
33     public static final String MICROSERVICE_URL = "url";\r
34     public static final String MICROSERVICE_NAME = "name";\r
35     public static final String MICROSERVICE_VERSION = "version";\r
36     \r
37     public static final String ID = "id";\r
38 }\r