@@ -53,113 +53,11 @@ public class ProtocolAdapterApiUtils {
5353
5454    private  static  final  Logger  LOG  = LoggerFactory .getLogger (ProtocolAdapterApiUtils .class );
5555    private  static  final  String  DEFAULT_SCHEMA  = "{\n "  +
56-             "  \" ui:tabs\" : [\n "  +
57-             "    {\n "  +
58-             "      \" id\" : \" coreFields\" ,\n "  +
59-             "      \" title\" : \" Core Fields\" ,\n "  +
60-             "      \" properties\" : [\" id\" , \" port\" , \" host\" , \" uri\" , \" url\" , \" timeout\" ]\n "  +
61-             "    },\n "  +
62-             "    {\n "  +
63-             "      \" id\" : \" subFields\" ,\n "  +
64-             "      \" title\" : \" Subscription\" ,\n "  +
65-             "      \" properties\" : [\" subscriptions\" ]\n "  +
66-             "    },\n "  +
67-             "    {\n "  +
68-             "      \" id\" : \" security\" ,\n "  +
69-             "      \" title\" : \" protocolAdapter.uiSchema.groups.security\" ,\n "  +
70-             "      \" properties\" : [\" security\" , \" tls\" ]\n "  +
71-             "    },\n "  +
72-             "    {\n "  +
73-             "      \" id\" : \" publishing\" ,\n "  +
74-             "      \" title\" : \" protocolAdapter.uiSchema.groups.publishing\" ,\n "  +
75-             "      \" properties\" : [\n "  +
76-             "        \" maxPollingErrorsBeforeRemoval\" ,\n "  +
77-             "        \" publishChangedDataOnly\" ,\n "  +
78-             "        \" publishingInterval\" ,\n "  +
79-             "        \" pollingIntervalMillis\" ,\n "  +
80-             "        \" destination\" ,\n "  +
81-             "        \" qos\" ,\n "  +
82-             "        \" minValue\" ,\n "  +
83-             "        \" maxValue\" \n "  +
84-             "      ]\n "  +
85-             "    },\n "  +
86-             "    {\n "  +
87-             "      \" id\" : \" authentication\" ,\n "  +
88-             "      \" title\" : \" protocolAdapter.uiSchema.groups.authentication\" ,\n "  +
89-             "      \" properties\" : [\" auth\" ]\n "  +
90-             "    },\n "  +
91-             "    {\n "  +
92-             "      \" id\" : \" http\" ,\n "  +
93-             "      \" title\" : \" protocolAdapter.uiSchema.groups.http\" ,\n "  +
94-             "      \" properties\" : [\n "  +
95-             "        \" httpRequestMethod\" ,\n "  +
96-             "        \" httpRequestBodyContentType\" ,\n "  +
97-             "        \" httpRequestBody\" ,\n "  +
98-             "        \" httpHeaders\" ,\n "  +
99-             "        \" httpConnectTimeout\" ,\n "  +
100-             "        \" httpRequestBodyContentType\" ,\n "  +
101-             "        \" assertResponseIsJson\" ,\n "  +
102-             "        \" httpPublishSuccessStatusCodeOnly\" ,\n "  +
103-             "        \" allowUntrustedCertificates\" \n "  +
104-             "      ]\n "  +
105-             "    },\n "  +
106-             "    {\n "  +
107-             "      \" id\" : \" ads\" ,\n "  +
108-             "      \" title\" : \" protocolAdapter.uiSchema.groups.ads\" ,\n "  +
109-             "      \" properties\" : [\" sourceAmsPort\" , \" targetAmsPort\" , \" sourceAmsNetId\" , \" targetAmsNetId\" ]\n "  +
110-             "    },\n "  +
111-             "    {\n "  +
112-             "      \" id\" : \" eip\" ,\n "  +
113-             "      \" title\" : \" protocolAdapter.uiSchema.groups.eip\" ,\n "  +
114-             "      \" properties\" : [\" slot\" , \" backplane\" ]\n "  +
115-             "    },\n "  +
116-             "    {\n "  +
117-             "      \" id\" : \" s7advanced\" ,\n "  +
118-             "      \" title\" : \" protocolAdapter.uiSchema.groups.s7advanced\" ,\n "  +
119-             "      \" properties\" : [\n "  +
120-             "        \" controllerType\" ,\n "  +
121-             "        \" remoteRack\" ,\n "  +
122-             "        \" remoteSlot\" ,\n "  +
123-             "        \" ping\" ,\n "  +
124-             "        \" pingTime\" ,\n "  +
125-             "        \" maxAmqCaller\" ,\n "  +
126-             "        \" maxAmqCallee\" ,\n "  +
127-             "        \" remoteTsap\" ,\n "  +
128-             "        \" remoteRack2\" ,\n "  +
129-             "        \" remoteSlot2\" ,\n "  +
130-             "        \" pduSize\" ,\n "  +
131-             "        \" retryTime\" ,\n "  +
132-             "        \" retryTimeout\" ,\n "  +
133-             "        \" readTimeout\" \n "  +
134-             "      ]\n "  +
135-             "    }\n "  +
136-             "  ],\n "  +
137-             "  \" ui:submitButtonOptions\" : {\n "  +
138-             "    \" norender\" : true\n "  +
139-             "  },\n "  +
56+             "  \" ui:tabs\" : [],\n "  +
14057            "  \" id\" : {\n "  +
14158            "    \" ui:disabled\" : true\n "  +
14259            "  },\n "  +
143-             "  \" port\" : {\n "  +
144-             "    \" ui:widget\" : \" updown\" \n "  +
145-             "  },\n "  +
146-             "  \" httpRequestBody\" : {\n "  +
147-             "    \" ui:widget\" : \" textarea\" \n "  +
148-             "  },\n "  +
149-             "  \" subscriptions\" : {\n "  +
150-             "    \" ui:batchMode\" : true,\n "  +
151-             "    \" items\" : {\n "  +
152-             "      \" ui:order\" : [\" node\" , \" holding-registers\" , \" mqtt-topic\" , \" destination\" , \" qos\" , \" *\" ],\n "  +
153-             "      \" ui:collapsable\" : {\n "  +
154-             "        \" titleKey\" : \" destination\" \n "  +
155-             "      }\n "  +
156-             "    }\n "  +
157-             "  },\n "  +
158-             "  \" auth\" : {\n "  +
159-             "    \" basic\" : {\n "  +
160-             "      \" ui:order\" : [\" username\" , \" password\" , \" *\" ]\n "  +
161-             "    }\n "  +
162-             "  }\n "  +
60+             "  \" ui:order\" : [\" id\" ,  \" *\" ]\n "  +
16361            "}" ;
16462
16563    /** 
0 commit comments