Skip to content

Commit

Permalink
Adding ngsildContext to entities
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Jan 17, 2025
1 parent 1460a8d commit e0a92ec
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/main/java/org/computate/frFR/java/IndexerClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -6384,6 +6384,21 @@ else if("location".equals(fieldName))
wSmartDataModel.l(" * {@inheritDoc}");
wSmartDataModel.l(" * DocValues: true");
wSmartDataModel.l(" * Persist: true");
wSmartDataModel.l(" * DisplayName: NGSILD context");
wSmartDataModel.l(" * Description: The NGSILD context URL for @context data");
wSmartDataModel.l(" * HtmRow: ", row, "");
wSmartDataModel.l(" * HtmCell: ", cell, "");
wSmartDataModel.l(" * Facet: true");
wSmartDataModel.l(" */");
wSmartDataModel.l(" protected void _ngsildContext(Wrap<String> w) {");
wSmartDataModel.l(" w.o(", i18nGlobale.getString(I18n.var_requeteSite), "_.getConfig().getString(ComputateConfigKeys.CONTEXT_BROKER_CONTEXT));");
wSmartDataModel.l(" }");
cell++;
wSmartDataModel.l();
wSmartDataModel.l(" /**");
wSmartDataModel.l(" * {@inheritDoc}");
wSmartDataModel.l(" * DocValues: true");
wSmartDataModel.l(" * Persist: true");
wSmartDataModel.l(" * DisplayName: NGSILD data");
wSmartDataModel.l(" * Description: The NGSILD data with @context from the context broker");
wSmartDataModel.l(" * HtmRow: ", row, "");
Expand Down Expand Up @@ -6412,21 +6427,6 @@ else if("location".equals(fieldName))
wSmartDataModel.l();
}
}

wSmartDataModel.l("");
wSmartDataModel.l(" /**");
wSmartDataModel.l(" * @Override");
wSmartDataModel.l(" * DocValues: true");
wSmartDataModel.l(" * Persist: true");
wSmartDataModel.l(" * DisplayName: NGSILD context");
wSmartDataModel.l(" * escription: The NGSILD context URL for @context data. ");
wSmartDataModel.l(" * HtmRow: 13");
wSmartDataModel.l(" * HtmCell: ", cell + 1);
wSmartDataModel.l(" * Facet: true");
wSmartDataModel.l(" */");
wSmartDataModel.l(" protected void _ngsildContext(Wrap<String> w) {");
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)));");
wSmartDataModel.l(" }");
wSmartDataModel.l("}");

wSmartDataModel.l();
Expand Down

0 comments on commit e0a92ec

Please sign in to comment.