Improving service

This commit is contained in:
luca.frosini 2023-07-17 10:45:14 +02:00
parent 4c3c8d0115
commit 9a1d7c197d
2 changed files with 4 additions and 2 deletions

View File

@ -70,8 +70,8 @@ public class GRSFInitializator implements ApplicationManager {
facetBasedISConfigurationProxy.setServiceEServiceID(grsfEServiceID);
facetBasedISConfigurationProxy.createCallsForToVirtualService();
}catch (Exception e) {
logger.warn("Gcat is not configured through the Facet Based IS in context {}. Please create/addToContext the expected resources ASAP. The Gcore IS will be used.", context);
logger.trace("Gcat is not configured through the Facet Based IS in context {}. The reason is:\n", context, e);
logger.warn("{} is not configured through the Facet Based IS in context {}. Please create/addToContext the expected resources ASAP. The Gcore IS will be used.", NAME, context);
logger.trace("{} is not configured through the Facet Based IS in context {}. The reason is:\n", NAME, context, e);
}
logger.trace(

View File

@ -354,6 +354,8 @@ public abstract class Record extends CKANPackage {
JsonNode jNode = objectMapper.readTree(json);
elaborate(jNode);
jsonNode = checkAndFixAuthorAndMaintainer((ObjectNode) jsonNode);
String jsonString = objectMapper.writeValueAsString(jsonNode);
sendPostRequest(CREATE, jsonString);