Commit 32b608e10d701f7679b9a925ffbe99587d9f50eb
Merge remote-tracking branch 'origin/develop/2.6-edge' into develop/3.3-edge
Showing
9 changed files
with
2 additions
and
16 deletions
... | ... | @@ -976,7 +976,7 @@ public final class EdgeGrpcSession implements Closeable { |
976 | 976 | .setSecret(edge.getSecret()) |
977 | 977 | .setEdgeLicenseKey(edge.getEdgeLicenseKey()) |
978 | 978 | .setCloudEndpoint(edge.getCloudEndpoint()) |
979 | - .setConfiguration(JacksonUtil.toString(edge.getConfiguration())) | |
979 | + .setAdditionalInfo(JacksonUtil.toString(edge.getAdditionalInfo())) | |
980 | 980 | .setCloudType("CE"); |
981 | 981 | if (edge.getCustomerId() != null) { |
982 | 982 | builder.setCustomerIdMSB(edge.getCustomerId().getId().getMostSignificantBits()) | ... | ... |
... | ... | @@ -47,7 +47,6 @@ public class Edge extends SearchTextBasedWithAdditionalInfo<EdgeId> implements H |
47 | 47 | private String secret; |
48 | 48 | private String edgeLicenseKey; |
49 | 49 | private String cloudEndpoint; |
50 | - private transient JsonNode configuration; | |
51 | 50 | |
52 | 51 | public Edge() { |
53 | 52 | super(); |
... | ... | @@ -68,7 +67,6 @@ public class Edge extends SearchTextBasedWithAdditionalInfo<EdgeId> implements H |
68 | 67 | this.secret = edge.getSecret(); |
69 | 68 | this.edgeLicenseKey = edge.getEdgeLicenseKey(); |
70 | 69 | this.cloudEndpoint = edge.getCloudEndpoint(); |
71 | - this.configuration = edge.getConfiguration(); | |
72 | 70 | } |
73 | 71 | |
74 | 72 | @Override | ... | ... |
... | ... | @@ -465,7 +465,6 @@ public class ModelConstants { |
465 | 465 | public static final String EDGE_NAME_PROPERTY = "name"; |
466 | 466 | public static final String EDGE_LABEL_PROPERTY = "label"; |
467 | 467 | public static final String EDGE_TYPE_PROPERTY = "type"; |
468 | - public static final String EDGE_CONFIGURATION_PROPERTY = "configuration"; | |
469 | 468 | public static final String EDGE_ADDITIONAL_INFO_PROPERTY = ADDITIONAL_INFO_PROPERTY; |
470 | 469 | public static final String EDGE_BY_TENANT_AND_SEARCH_TEXT_COLUMN_FAMILY_NAME = "edge_by_tenant_and_search_text"; |
471 | 470 | public static final String EDGE_BY_TENANT_BY_TYPE_AND_SEARCH_TEXT_COLUMN_FAMILY_NAME = "edge_by_tenant_by_type_and_search_text"; | ... | ... |
... | ... | @@ -87,10 +87,6 @@ public abstract class AbstractEdgeEntity<T extends Edge> extends BaseSqlEntity<T |
87 | 87 | private String cloudEndpoint; |
88 | 88 | |
89 | 89 | @Type(type = "json") |
90 | - @Column(name = ModelConstants.EDGE_CONFIGURATION_PROPERTY) | |
91 | - private JsonNode configuration; | |
92 | - | |
93 | - @Type(type = "json") | |
94 | 90 | @Column(name = ModelConstants.EDGE_ADDITIONAL_INFO_PROPERTY) |
95 | 91 | private JsonNode additionalInfo; |
96 | 92 | |
... | ... | @@ -118,7 +114,6 @@ public abstract class AbstractEdgeEntity<T extends Edge> extends BaseSqlEntity<T |
118 | 114 | this.secret = edge.getSecret(); |
119 | 115 | this.edgeLicenseKey = edge.getEdgeLicenseKey(); |
120 | 116 | this.cloudEndpoint = edge.getCloudEndpoint(); |
121 | - this.configuration = edge.getConfiguration(); | |
122 | 117 | this.additionalInfo = edge.getAdditionalInfo(); |
123 | 118 | } |
124 | 119 | |
... | ... | @@ -135,7 +130,6 @@ public abstract class AbstractEdgeEntity<T extends Edge> extends BaseSqlEntity<T |
135 | 130 | this.secret = edgeEntity.getSecret(); |
136 | 131 | this.edgeLicenseKey = edgeEntity.getEdgeLicenseKey(); |
137 | 132 | this.cloudEndpoint = edgeEntity.getCloudEndpoint(); |
138 | - this.configuration = edgeEntity.getConfiguration(); | |
139 | 133 | this.additionalInfo = edgeEntity.getAdditionalInfo(); |
140 | 134 | } |
141 | 135 | |
... | ... | @@ -172,7 +166,6 @@ public abstract class AbstractEdgeEntity<T extends Edge> extends BaseSqlEntity<T |
172 | 166 | edge.setSecret(secret); |
173 | 167 | edge.setEdgeLicenseKey(edgeLicenseKey); |
174 | 168 | edge.setCloudEndpoint(cloudEndpoint); |
175 | - edge.setConfiguration(configuration); | |
176 | 169 | edge.setAdditionalInfo(additionalInfo); |
177 | 170 | return edge; |
178 | 171 | } | ... | ... |