Skip to content

Commit e0a92ec

Browse files
committed
Adding ngsildContext to entities
1 parent 1460a8d commit e0a92ec

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/main/java/org/computate/frFR/java/IndexerClasse.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6384,6 +6384,21 @@ else if("location".equals(fieldName))
63846384
wSmartDataModel.l(" * {@inheritDoc}");
63856385
wSmartDataModel.l(" * DocValues: true");
63866386
wSmartDataModel.l(" * Persist: true");
6387+
wSmartDataModel.l(" * DisplayName: NGSILD context");
6388+
wSmartDataModel.l(" * Description: The NGSILD context URL for @context data");
6389+
wSmartDataModel.l(" * HtmRow: ", row, "");
6390+
wSmartDataModel.l(" * HtmCell: ", cell, "");
6391+
wSmartDataModel.l(" * Facet: true");
6392+
wSmartDataModel.l(" */");
6393+
wSmartDataModel.l(" protected void _ngsildContext(Wrap<String> w) {");
6394+
wSmartDataModel.l(" w.o(", i18nGlobale.getString(I18n.var_requeteSite), "_.getConfig().getString(ComputateConfigKeys.CONTEXT_BROKER_CONTEXT));");
6395+
wSmartDataModel.l(" }");
6396+
cell++;
6397+
wSmartDataModel.l();
6398+
wSmartDataModel.l(" /**");
6399+
wSmartDataModel.l(" * {@inheritDoc}");
6400+
wSmartDataModel.l(" * DocValues: true");
6401+
wSmartDataModel.l(" * Persist: true");
63876402
wSmartDataModel.l(" * DisplayName: NGSILD data");
63886403
wSmartDataModel.l(" * Description: The NGSILD data with @context from the context broker");
63896404
wSmartDataModel.l(" * HtmRow: ", row, "");
@@ -6412,21 +6427,6 @@ else if("location".equals(fieldName))
64126427
wSmartDataModel.l();
64136428
}
64146429
}
6415-
6416-
wSmartDataModel.l("");
6417-
wSmartDataModel.l(" /**");
6418-
wSmartDataModel.l(" * @Override");
6419-
wSmartDataModel.l(" * DocValues: true");
6420-
wSmartDataModel.l(" * Persist: true");
6421-
wSmartDataModel.l(" * DisplayName: NGSILD context");
6422-
wSmartDataModel.l(" * escription: The NGSILD context URL for @context data. ");
6423-
wSmartDataModel.l(" * HtmRow: 13");
6424-
wSmartDataModel.l(" * HtmCell: ", cell + 1);
6425-
wSmartDataModel.l(" * Facet: true");
6426-
wSmartDataModel.l(" */");
6427-
wSmartDataModel.l(" protected void _ngsildContext(Wrap<String> w) {");
6428-
wSmartDataModel.l(" w.o(String.format(\"https://raw.githubusercontent.com/%s/%s/main/fiware/context.jsonld\", siteRequest_.getConfig().getString(ComputateConfigKeys.GITHUB_ORG), siteRequest_.getConfig().getString(ComputateConfigKeys.SITE_STATIC_NAME)));");
6429-
wSmartDataModel.l(" }");
64306430
wSmartDataModel.l("}");
64316431

64326432
wSmartDataModel.l();

0 commit comments

Comments
 (0)