diff --git a/src/main/java/fr/inra/oresing/model/Application.java b/src/main/java/fr/inra/oresing/model/Application.java index 4a6c023b125ab584222a0fea39c8d309b8e2a857..a054afaa642b80786aeb65af4c0e2aee2c09f74e 100644 --- a/src/main/java/fr/inra/oresing/model/Application.java +++ b/src/main/java/fr/inra/oresing/model/Application.java @@ -6,12 +6,13 @@ import lombok.ToString; import java.util.List; import java.util.UUID; +import java.util.stream.Collectors; @Getter @Setter @ToString(callSuper = true) public class Application extends OreSiEntity { - public final Application filterFields(List<ApplicationInformation> filters){ + public final Application filterFieldsAndHidden(List<ApplicationInformation> filters){ final Application returnApp = new Application(); returnApp.setComment(this.getComment()); returnApp.setVersion(this.getVersion()); @@ -26,7 +27,11 @@ public class Application extends OreSiEntity { returnApp.setDataType(this.getDataType()); } if (filters.contains(ApplicationInformation.ALL) || filters.contains(ApplicationInformation.REFERENCETYPE)) { - returnApp.setReferenceType(this.getReferenceType()); + final List<String> references = this.getReferenceType() + .stream() + .filter(referenceName->getConfiguration().getReferences().get(referenceName).getTags().stream().noneMatch(tag -> Configuration.HIDDEN_TAG.equals(tag))) + .collect(Collectors.toList()); + returnApp.setReferenceType(references); } return returnApp; } diff --git a/src/main/java/fr/inra/oresing/model/Configuration.java b/src/main/java/fr/inra/oresing/model/Configuration.java index 7d9f88423023ba23e589dfe1142161107ea4c68d..28af3e4477fd976b893977d920f79c128f791cb8 100644 --- a/src/main/java/fr/inra/oresing/model/Configuration.java +++ b/src/main/java/fr/inra/oresing/model/Configuration.java @@ -23,6 +23,8 @@ import java.util.stream.Collectors; @ToString public class Configuration { + public final static String HIDDEN_TAG = "__hidden__"; + public final static String NO_TAG = "no-tag"; @ApiModelProperty(notes = "The set of requiredAuthorizations of data.authorization section. Fill by aplication", required = false, hidden = true) private List<String> requiredAuthorizationsAttributes; @@ -240,6 +242,10 @@ public class Configuration { @ApiModelProperty(notes = "If the column is mandatory or not", required = true, example = "MANDATORY", allowableValues ="MANDATORY,OPTIONAL,ABSENT") private ColumnPresenceConstraint presenceConstraint = ColumnPresenceConstraint.MANDATORY; + + @ApiModelProperty(notes = "Some tags for the column", required = false, example = "variable") + //private Set<String> tags = Set.of("no-tag"); + private List<String> tags = new LinkedList<>(); } @Getter @@ -628,6 +634,10 @@ public class Configuration { @ApiModelProperty(notes = "A description to create disponibilité charts", required = false) private Chart chartDescription; + @ApiModelProperty(notes = "Some tags for the variable description", required = false, example = "variable") + //private Set<String> tags = Set.of("no-tag"); + private List<String> tags = new LinkedList<>(); + @ApiModelProperty(notes = "The list of components for this variable", required = true) private LinkedHashMap<String, VariableComponentWithDefaultValueDescription> components = new LinkedHashMap<>(); @@ -648,6 +658,10 @@ public class Configuration { public boolean hasComponent(String component) { return doGetAllComponents().contains(component); } + + public boolean isHidden() { + return getTags().contains(HIDDEN_TAG); + } } @Getter @@ -707,6 +721,14 @@ public class Configuration { @ApiModelProperty(notes = "A checker description", required = false) private CheckerDescription checker; + + @ApiModelProperty(notes = "Some tags for the variable component description", required = false, example = "variable") + private List<String> tags = new LinkedList<>(); + + public boolean isHidden() { + return getTags().contains(HIDDEN_TAG); + } + //private Set<String> tags = Set.of("no-tag"); } @Getter diff --git a/src/main/java/fr/inra/oresing/persistence/ApplicationRepository.java b/src/main/java/fr/inra/oresing/persistence/ApplicationRepository.java index 2ea4bbfa3102122d80d8e2bcf628961385348913..b5dd340e64779ac4ea400d82e945596b9adc2af2 100644 --- a/src/main/java/fr/inra/oresing/persistence/ApplicationRepository.java +++ b/src/main/java/fr/inra/oresing/persistence/ApplicationRepository.java @@ -33,6 +33,7 @@ public class ApplicationRepository extends JsonTableRepositoryTemplate<Applicati } public Application findApplication(String nameOrId) { + return tryFindApplication(nameOrId).orElseThrow(() -> new NoSuchApplicationException(nameOrId)); } diff --git a/src/main/java/fr/inra/oresing/rest/ApplicationConfigurationService.java b/src/main/java/fr/inra/oresing/rest/ApplicationConfigurationService.java index 20a736ccae238b18919eea071193dac8f6baa9dc..ec7dc901e3b5e8ad49f1073b37a3066f990ab0d4 100644 --- a/src/main/java/fr/inra/oresing/rest/ApplicationConfigurationService.java +++ b/src/main/java/fr/inra/oresing/rest/ApplicationConfigurationService.java @@ -114,19 +114,20 @@ public class ApplicationConfigurationService { verifyReferenceKeyColumns(builder, referenceEntry); verifyInternationalizedColumnsExists(configuration, builder, referenceEntry); verifyInternationalizedColumnsExistsForPattern(configuration, builder, referenceEntry); - verifyReferenceColumnsDeclarations(builder, referenceEntry, references); + verifyReferenceColumnsDeclarations(builder, referenceEntry, references, configuration); verifyReferenceValidationRules(builder, referenceEntry, references); - verifyReferencetagsDefined(builder, referenceEntry, configuration.tags); + verifytagsDefined(builder, referenceEntry.getKey(), null, null, referenceEntry.getValue().getTags(), configuration.tags, "missingReferentielTagDeclaration"); } for (Map.Entry<String, Configuration.DataTypeDescription> entry : configuration.getDataTypes().entrySet()) { String dataType = entry.getKey(); Configuration.DataTypeDescription dataTypeDescription = entry.getValue(); - verifyDataTypeVariableComponentDeclarations(builder, references, dataType, dataTypeDescription); + verifyDataTypeVariableComponentDeclarations(builder, references, dataType, dataTypeDescription, configuration); verifyDataTypeValidationRules(builder, dataType, dataTypeDescription, references); verifyInternationalizedColumnsExistsForPatternInDatatype(configuration, builder, dataType); verifyUniquenessComponentKeysInDatatype(dataType, dataTypeDescription, builder); verifyDatatypeRepository(dataType, dataTypeDescription, builder); + verifytagsDefined(builder, entry.getKey(), null, null, dataTypeDescription.getTags(), configuration.tags, "missingDataTypeTagDeclaration"); Configuration.AuthorizationDescription authorization = dataTypeDescription.getAuthorization(); Set<String> variables = dataTypeDescription.getData().keySet(); @@ -156,10 +157,16 @@ public class ApplicationConfigurationService { return builder.build(configuration); } - private void verifyReferencetagsDefined(ConfigurationParsingResult.Builder builder, Map.Entry<String, Configuration.ReferenceDescription> referenceEntry, Map<String, Internationalization> tags) { - referenceEntry.getValue().tags.stream().forEach(tag -> { - if(!tags.containsKey(tag)){ - builder.missingTagDeclaration(referenceEntry.getKey(), tag, tags.keySet()); + private void verifytagsDefined(ConfigurationParsingResult.Builder builder, String key, String variable, String compenent, List<String> tags, Map<String, Internationalization> registerTags, String messageName) { + tags.stream().forEach(tag -> { + if(!registerTags.containsKey(tag) && !Configuration.HIDDEN_TAG.equals(tag)){ + if(compenent != null) { + builder.missingTagDeclaration(key, variable, compenent, tag, registerTags.keySet(), messageName); + } else if (variable != null) { + builder.missingTagDeclaration(key, variable, tag, registerTags.keySet(), messageName); + } else { + builder.missingTagDeclaration(key, tag, registerTags.keySet(), messageName); + } } } ); } @@ -548,14 +555,16 @@ public class ApplicationConfigurationService { } } - private void verifyDataTypeVariableComponentDeclarations(ConfigurationParsingResult.Builder builder, Set<String> references, String dataType, Configuration.DataTypeDescription dataTypeDescription) { + private void verifyDataTypeVariableComponentDeclarations(ConfigurationParsingResult.Builder builder, Set<String> references, String dataType, Configuration.DataTypeDescription dataTypeDescription, Configuration configuration) { for (Map.Entry<String, Configuration.VariableDescription> dataEntry : dataTypeDescription.getData().entrySet()) { String datum = dataEntry.getKey(); Configuration.VariableDescription datumDescription = dataEntry.getValue(); + verifytagsDefined(builder, dataType, datum, null, datumDescription.getTags(), configuration.tags, "missingVariableDescriptionTagDeclaration"); for (Map.Entry<String, Configuration.VariableComponentDescription> componentEntry : datumDescription.doGetAllComponentDescriptions().entrySet()) { String component = componentEntry.getKey(); Configuration.VariableComponentDescription variableComponentDescription = componentEntry.getValue(); if (variableComponentDescription != null) { + verifytagsDefined(builder, dataType, datum, component, variableComponentDescription.getTags(), configuration.tags, "missingVariableComponentDescriptionTagDeclaration"); Configuration.CheckerDescription checkerDescription = variableComponentDescription.getChecker(); if (checkerDescription != null) { CheckerOnOneTargetValidationContext validationContext = new CheckerOnOneTargetValidationContext() { @@ -606,13 +615,14 @@ public class ApplicationConfigurationService { } } - private void verifyReferenceColumnsDeclarations(ConfigurationParsingResult.Builder builder, Map.Entry<String, Configuration.ReferenceDescription> referenceEntry, Set<String> references) { + private void verifyReferenceColumnsDeclarations(ConfigurationParsingResult.Builder builder, Map.Entry<String, Configuration.ReferenceDescription> referenceEntry, Set<String> references, Configuration configuration) { String referenceToValidate = referenceEntry.getKey(); Configuration.ReferenceDescription referenceDescription = referenceEntry.getValue(); for (Map.Entry<String, Configuration.ReferenceStaticColumnDescription> columnEntry : referenceDescription.doGetStaticColumnDescriptions().entrySet()) { String column = columnEntry.getKey(); Configuration.ReferenceStaticColumnDescription referenceStaticColumnDescription = columnEntry.getValue(); if (referenceStaticColumnDescription != null) { + verifytagsDefined(builder, referenceToValidate, column, null, referenceStaticColumnDescription.getTags(), configuration.tags, "missingReferenceColumnsTagDeclaration"); Configuration.CheckerDescription checkerDescription = referenceStaticColumnDescription.getChecker(); if (checkerDescription != null) { CheckerOnOneTargetValidationContext validationContext = new CheckerOnOneTargetValidationContext() { diff --git a/src/main/java/fr/inra/oresing/rest/ApplicationResult.java b/src/main/java/fr/inra/oresing/rest/ApplicationResult.java index ce4a5aca878bfe9ea48e2b801e246a3bdaad0ee8..5afc802320e56730092bd4e71bf2ec69cb2023b1 100644 --- a/src/main/java/fr/inra/oresing/rest/ApplicationResult.java +++ b/src/main/java/fr/inra/oresing/rest/ApplicationResult.java @@ -41,6 +41,7 @@ public class ApplicationResult { String title; boolean key; String linkedTo; + Set<String> tags; } @Value @@ -51,6 +52,7 @@ public class ApplicationResult { String reference; String referenceColumnToLookForHeader; boolean presenceConstraint; + Set<String> tags ; } @Value @@ -89,11 +91,13 @@ public class ApplicationResult { String label; Map<String, Component> components; Chart chartDescription; + Set<String> tags; @Value public static class Component { String id; String label; + Set<String> tags; } @Value diff --git a/src/main/java/fr/inra/oresing/rest/ConfigurationParsingResult.java b/src/main/java/fr/inra/oresing/rest/ConfigurationParsingResult.java index f4827fe0cc9ce57da848d5781b1dc1690bbaa373..d62445ec6c7df101125fb8e8d1ecf6ddfbe22320 100644 --- a/src/main/java/fr/inra/oresing/rest/ConfigurationParsingResult.java +++ b/src/main/java/fr/inra/oresing/rest/ConfigurationParsingResult.java @@ -773,9 +773,28 @@ public class ConfigurationParsingResult { )); } - public void missingTagDeclaration(String referenceName, String tagName, Set<String> declaredTags) { - recordError("missingTagDeclaration",ImmutableMap.of( - "referenceName",referenceName, + public void missingTagDeclaration(String sectionName, String variableName, String compenentName, String tagName, Set<String> declaredTags, String message) { + recordError(message,ImmutableMap.of( + "sectionName",sectionName, + "variableName",variableName, + "compenentName",compenentName, + "tagName",tagName, + "declaredTag",declaredTags) + ); + } + + public void missingTagDeclaration(String sectionName, String variableName, String tagName, Set<String> declaredTags, String message) { + recordError(message,ImmutableMap.of( + "sectionName",sectionName, + "variableName",variableName, + "tagName",tagName, + "declaredTag",declaredTags) + ); + } + + public void missingTagDeclaration(String sectionName, String tagName, Set<String> declaredTags, String message) { + recordError(message,ImmutableMap.of( + "sectionName",sectionName, "tagName",tagName, "declaredTag",declaredTags) ); diff --git a/src/main/java/fr/inra/oresing/rest/DownloadDatasetQuery.java b/src/main/java/fr/inra/oresing/rest/DownloadDatasetQuery.java index 20265c2b15140a22d5c3413acf5d2a7be34d4030..86cfe9781d12473dab0c2f6d0778220baab66230 100644 --- a/src/main/java/fr/inra/oresing/rest/DownloadDatasetQuery.java +++ b/src/main/java/fr/inra/oresing/rest/DownloadDatasetQuery.java @@ -72,6 +72,30 @@ public class DownloadDatasetQuery { } + public List<String> getHiddenVariables() { + return application.getConfiguration().getDataTypes().get(getDataType()).getData().entrySet().stream() + .filter(entry -> entry.getValue().isHidden()) + .map(Map.Entry::getKey) + .collect(Collectors.toList()); + } + + public List<VariableComponentKey> getHiddenComponents() { + return application.getConfiguration().getDataTypes().get(getDataType()).getData().entrySet().stream() + .map(entryVariable -> { + String variableName = entryVariable.getKey(); + LinkedHashMap<String, Configuration.VariableComponentDescription> components = new LinkedHashMap<>(); + components.putAll(entryVariable.getValue().getComponents()); + components.putAll(entryVariable.getValue().getComputedComponents()); + return components.entrySet().stream() + .filter(entry -> entry.getValue()!=null && entry.getValue().isHidden()) + .map(Map.Entry::getKey) + .map(componentName -> new VariableComponentKey(variableName, componentName)) + .collect(Collectors.toList()); + }) + .flatMap(List::stream) + .collect(Collectors.toList()); + } + public static final DownloadDatasetQuery buildDownloadDatasetQuery(DownloadDatasetQuery downloadDatasetQuery, String nameOrId, String dataType, Application application) { return downloadDatasetQuery == null ? new DownloadDatasetQuery( @@ -101,14 +125,14 @@ public class DownloadDatasetQuery { .orElseGet(() -> { final Configuration.AuthorizationDescription authorization = getApplication().getConfiguration().getDataTypes().get(getDataType()).getAuthorization(); - if(authorization!=null && authorization.getTimeScope()!=null) { + if (authorization != null && authorization.getTimeScope() != null) { variableComponentKeySet.add( new VariableComponentOrderBy( authorization.getTimeScope(), Order.ASC) ); } - if(authorization!=null) { + if (authorization != null) { authorization.getAuthorizationScopes().values() .stream() .map(Configuration.AuthorizationScopeDescription::getVariableComponentKey) @@ -208,16 +232,21 @@ public class DownloadDatasetQuery { .filter(filter -> !Strings.isNullOrEmpty(filter)) .collect(Collectors.joining(" AND ")); } + private String buildDeleteJsonPathSql(List<String> pathes){ + return pathes.stream().collect(Collectors.joining(",", "#- '{", "}'")); + } public String buildQuery(String toMergeDataGroupsQuery) { + String filterHiddenVariable = filterHiddenVariables(); + String filterHiddenComponents= filterHiddenComponents(); String query = "WITH my_data AS (\n" + toMergeDataGroupsQuery + "\n)" + "\n SELECT '" + DataRow.class.getName() + "' AS \"@class\", " + "\njsonb_build_object(" + "\n\t'rowNumber', row_number() over (), " + "\n\t'totalRows', count(*) over (), " + "\n\t'rowId', rowId, " + - "\n\t'values', dataValues, " + - "\n\t'refsLinkedTo', refsLinkedTo" + + "\n\t'values', dataValues "+filterHiddenVariable+" "+filterHiddenComponents+", " + + "\n\t'refsLinkedTo', refsLinkedTo "+filterHiddenVariable+" "+filterHiddenComponents+" " + "\n) AS json" + " \nFROM my_data "; query = filterBy(query); @@ -231,6 +260,20 @@ public class DownloadDatasetQuery { return query; } + private String filterHiddenVariables() { + return getHiddenVariables().stream() + .map(List::of) + .map(this::buildDeleteJsonPathSql) + .collect(Collectors.joining(" ")); + } + + private String filterHiddenComponents() { + return getHiddenComponents().stream() + .map(vc -> List.of(vc.getVariable(), vc.getComponent())) + .map(this::buildDeleteJsonPathSql) + .collect(Collectors.joining(" ")); + } + public enum Order { ASC, DESC } diff --git a/src/main/java/fr/inra/oresing/rest/OreSiResources.java b/src/main/java/fr/inra/oresing/rest/OreSiResources.java index df6ea3e5d61886d54fedb81f72c933a6c3d753b3..1497c1796f39f6d116ea7623c249c4eb63436cb1 100644 --- a/src/main/java/fr/inra/oresing/rest/OreSiResources.java +++ b/src/main/java/fr/inra/oresing/rest/OreSiResources.java @@ -142,26 +142,45 @@ public class OreSiResources { Map<String, ApplicationResult.Reference> references = withReferenceType ? Maps.transformEntries( application.getConfiguration().getReferences(), (reference, referenceDescription) -> { - Map<String, ApplicationResult.Reference.Column> columns = Maps.transformEntries(referenceDescription.doGetStaticColumnDescriptions(), (column, columnDescription) -> new ApplicationResult.Reference.Column(column, column, referenceDescription.getKeyColumns().contains(column), null)); - Map<String, ApplicationResult.Reference.DynamicColumn> dynamicColumns = Maps.transformEntries(referenceDescription.getDynamicColumns(), (dynamicColumnName, dynamicColumnDescription) -> - new ApplicationResult.Reference.DynamicColumn( - dynamicColumnName, - dynamicColumnName, - dynamicColumnDescription.getHeaderPrefix(), - dynamicColumnDescription.getReference(), - dynamicColumnDescription.getReferenceColumnToLookForHeader(), - dynamicColumnDescription.getPresenceConstraint().isMandatory())); + Map<String, ApplicationResult.Reference.Column> columns = Maps.transformEntries(referenceDescription.doGetStaticColumnDescriptions(), (column, columnDescription) -> { + final Set<String> tags = Optional.ofNullable(columnDescription) + .map(Configuration.ReferenceStaticColumnDescription::getTags) + .filter(list -> !list.isEmpty()) + .map(t -> new HashSet(t)) + .orElse(new HashSet(List.of(Configuration.NO_TAG))); + return new ApplicationResult.Reference.Column(column, column, referenceDescription.getKeyColumns().contains(column), null, tags); + }); + Map<String, ApplicationResult.Reference.DynamicColumn> dynamicColumns = Maps.transformEntries(referenceDescription.getDynamicColumns(), (dynamicColumnName, dynamicColumnDescription) -> { + final Set<String> tags = Optional.ofNullable(dynamicColumnDescription.getTags()) + .filter(list -> !list.isEmpty()) + .map(t -> new HashSet(t)) + .orElse(new HashSet(List.of(Configuration.NO_TAG))); + return new ApplicationResult.Reference.DynamicColumn( + dynamicColumnName, + dynamicColumnName, + dynamicColumnDescription.getHeaderPrefix(), + dynamicColumnDescription.getReference(), + dynamicColumnDescription.getReferenceColumnToLookForHeader(), + dynamicColumnDescription.getPresenceConstraint().isMandatory(), + tags + ); + }); Set<String> children = childrenPerReferences.get(reference); final Set<String> tags = Optional.ofNullable(referenceDescription.getTags()) .filter(list -> !list.isEmpty()) .map(t -> new HashSet(t)) - .orElse(new HashSet(List.of("no-tag"))); + .orElse(new HashSet(List.of(Configuration.NO_TAG))); return new ApplicationResult.Reference(reference, reference, children, columns, dynamicColumns, tags); }) : Map.of(); Map<String, ApplicationResult.DataType> dataTypes = withDatatypes ? Maps.transformEntries(application.getConfiguration().getDataTypes(), (dataType, dataTypeDescription) -> { Map<String, ApplicationResult.DataType.Variable> variables = Maps.transformEntries(dataTypeDescription.getData(), (variable, variableDescription) -> { Map<String, ApplicationResult.DataType.Variable.Component> components = Maps.transformEntries(variableDescription.doGetAllComponentDescriptions(), (component, componentDescription) -> { - return new ApplicationResult.DataType.Variable.Component(component, component); + final Set<String> tags = Optional.ofNullable(componentDescription) + .map(Configuration.VariableComponentDescription::getTags) + .filter(list -> !list.isEmpty()) + .map(t -> new HashSet(t)) + .orElse(new HashSet(List.of(Configuration.NO_TAG))); + return new ApplicationResult.DataType.Variable.Component(component, component, tags); }); Configuration.Chart chartDescription = variableDescription.getChartDescription(); ApplicationResult.DataType.Variable.Chart chartDescriptionResult = null; @@ -173,7 +192,11 @@ public class OreSiResources { String standardDeviation = chartDescription.getStandardDeviation(); chartDescriptionResult = new ApplicationResult.DataType.Variable.Chart(value, unit, gap, standardDeviation, aggregation); } - return new ApplicationResult.DataType.Variable(variable, variable, components, chartDescriptionResult); + final Set<String> tags = Optional.ofNullable(variableDescription.getTags()) + .filter(list -> !list.isEmpty()) + .map(t -> new HashSet(t)) + .orElse(new HashSet(List.of(Configuration.NO_TAG))); + return new ApplicationResult.DataType.Variable(variable, variable, components, chartDescriptionResult, tags); }); Configuration.RepositoryDescription repository = dataTypeDescription.getRepository(); final boolean hasAuthorizations = repository != null; @@ -187,9 +210,9 @@ public class OreSiResources { }) .orElse(null); final Set<String> tags = Optional.ofNullable(dataTypeDescription.getTags()) - .filter(list -> !list.isEmpty()) - .map(t -> new HashSet(t)) - .orElse(new HashSet(List.of("no-tag"))); + .filter(list->!list.isEmpty()) + .map(t->new HashSet(t)) + .orElse(new HashSet(List.of(Configuration.NO_TAG))); return new ApplicationResult.DataType(dataType, dataType, variables, repositoryResult, hasAuthorizations, tags); }) : Map.of(); final AuthorizationsForUserResult authorizationReferencesRights = withReferenceType ? service.getAuthorizationsReferencesRights(nameOrId, request.getRequestUserId().toString(), references.keySet()) : new AuthorizationsForUserResult(new HashMap<>(), nameOrId, false, null); @@ -284,8 +307,8 @@ public class OreSiResources { @GetMapping(value = "/applications/{nameOrId}/references/{refType}/{column}", produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity<List<List<String>>> listReferences(@PathVariable("nameOrId") String nameOrId, @PathVariable("refType") String refType, @PathVariable("column") String column) { Application application = service.getApplication(nameOrId); - List<List<String>> list = repo.getRepository(application).referenceValue().findReferenceValue(refType, column); - return ResponseEntity.ok(list); + List<List<String>> result = service.getReferenceColumn(application, refType, column); + return ResponseEntity.ok(result); } @PostMapping(value = "/applications/{nameOrId}/references/{refType}", produces = MediaType.APPLICATION_JSON_VALUE) @@ -538,4 +561,4 @@ public class OreSiResources { } -} \ No newline at end of file +} diff --git a/src/main/java/fr/inra/oresing/rest/OreSiService.java b/src/main/java/fr/inra/oresing/rest/OreSiService.java index 04797be5b7b24f772ce97ace2fda97c481d554d3..e65197afe0b8fe7c5a84c800a9f6a220a1308321 100644 --- a/src/main/java/fr/inra/oresing/rest/OreSiService.java +++ b/src/main/java/fr/inra/oresing/rest/OreSiService.java @@ -39,6 +39,7 @@ import org.flywaydb.core.Flyway; import org.flywaydb.core.api.Location; import org.flywaydb.core.api.configuration.ClassicConfiguration; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.ResponseEntity; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.jdbc.BadSqlGrammarException; import org.springframework.stereotype.Component; @@ -1189,11 +1190,17 @@ public class OreSiService { public String getDataCsv(DownloadDatasetQuery downloadDatasetQuery, String nameOrId, String dataType, String locale) { DownloadDatasetQuery downloadDatasetQueryCopy = DownloadDatasetQuery.buildDownloadDatasetQuery(downloadDatasetQuery, nameOrId, dataType, getApplication(nameOrId)); List<DataRow> list = findData(downloadDatasetQueryCopy, nameOrId, dataType); - Configuration.FormatDescription format = downloadDatasetQueryCopy.getApplication() + Configuration.FormatDescription format = new Configuration.FormatDescription(); + if (!downloadDatasetQueryCopy.getApplication() .getConfiguration() .getDataTypes() - .get(dataType) - .getFormat(); + .get(dataType).getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))) { + format = downloadDatasetQueryCopy.getApplication() + .getConfiguration() + .getDataTypes() + .get(dataType) + .getFormat(); + } ImmutableMap<String, DownloadDatasetQuery.VariableComponentOrderBy> allColumns = ImmutableMap.copyOf(getExportColumns(format).entrySet().stream() .collect(Collectors.toMap( e -> e.getKey(), @@ -1298,6 +1305,10 @@ public class OreSiService { authenticationService.setRoleForClient(); String applicationNameOrId = downloadDatasetQuery.getApplicationNameOrId(); Application app = getApplication(applicationNameOrId); + if(app.getConfiguration().getDataTypes().get(dataType) + .getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))){ + return List.of(); + } List<DataRow> data = repo.getRepository(app).data().findAllByDataType(downloadDatasetQuery); return data; } @@ -1306,15 +1317,26 @@ public class OreSiService { authenticationService.setRoleForClient(); List<Application> result = repo.application().findAll(); return result.stream() - .map(application -> application.filterFields(filters)) + .map(application -> application.filterFieldsAndHidden(filters)) .collect(Collectors.toList()); } public Application getApplication(String nameOrId) { + // TODO filtre tag hidden boucle sur les references et les datatypes authenticationService.setRoleForClient(); + // Application result = repo.application().findApplication(nameOrId); return repo.application().findApplication(nameOrId); } + public List<List<String>> getReferenceColumn(Application application, String refType, String column) { + List<List<String>> list = List.of(); + if( !application.getConfiguration().getReferences().get(refType) + .getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))) { + list = repo.getRepository(application).referenceValue().findReferenceValue(refType, column); + } + return list; + } + public AuthorizationsForUserResult getAuthorizationsReferencesRights(String nameOrId, String userID, Set<String> references) { final AuthorizationsReferencesResult referencesAuthorizationsForUser = authorizationService.getReferencesAuthorizationsForUser(nameOrId, userID); Map<String, Map<AuthorizationsForUserResult.Roles, Boolean>> authorizations = new HashMap<>(); @@ -1386,11 +1408,19 @@ public class OreSiService { } public List<ReferenceValue> findReference(String nameOrId, String refType, MultiValueMap<String, String> params) { + if( getApplication(nameOrId).getConfiguration().getReferences().get(refType) + .getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))){ + return List.of(); + } return referenceService.findReference(nameOrId, refType, params); } public String getReferenceValuesCsv(String applicationNameOrId, String referenceType, MultiValueMap<String, String> params) { - return referenceService.getReferenceValuesCsv(applicationNameOrId, referenceType, params); + if( getApplication(applicationNameOrId).getConfiguration().getReferences().get(referenceType) + .getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))){ + return ""; + } + return referenceService.getReferenceValuesCsv(applicationNameOrId, referenceType, params); } public Optional<BinaryFile> getFile(String name, UUID id) { @@ -1542,14 +1572,22 @@ public class OreSiService { public Map<String, List<OreSiSynthesis>> getSynthesis(String nameOrId, String dataType) { Application application = getApplication(nameOrId); - return repo.getRepository(application).synthesisRepository().selectSynthesisDatatype(application.getId(), dataType).stream() - .collect(Collectors.groupingBy(OreSiSynthesis::getVariable)); + if( !application.getConfiguration().getDataTypes().get(dataType) + .getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))){ + return repo.getRepository(application).synthesisRepository().selectSynthesisDatatype(application.getId(), dataType).stream() + .collect(Collectors.groupingBy(OreSiSynthesis::getVariable)); + } + return null; } public Map<String, List<OreSiSynthesis>> getSynthesis(String nameOrId, String dataType, String variable) { Application application = getApplication(nameOrId); - return repo.getRepository(application).synthesisRepository().selectSynthesisDatatypeAndVariable(application.getId(), dataType, variable).stream() - .collect(Collectors.groupingBy(OreSiSynthesis::getVariable)); + if( !application.getConfiguration().getDataTypes().get(dataType).getData().get(variable) + .getTags().stream().anyMatch(tag->Configuration.HIDDEN_TAG.equals(tag))){ + return repo.getRepository(application).synthesisRepository().selectSynthesisDatatypeAndVariable(application.getId(), dataType, variable).stream() + .collect(Collectors.groupingBy(OreSiSynthesis::getVariable)); + } + return null; } public List<ApplicationResult.ReferenceSynthesis> getReferenceSynthesis(Application application) { @@ -1694,4 +1732,4 @@ public class OreSiService { this.binaryFileDataset = binaryFileDataset; } } -} \ No newline at end of file +} diff --git a/src/test/java/fr/inra/oresing/rest/ApplicationConfigurationServiceTest.java b/src/test/java/fr/inra/oresing/rest/ApplicationConfigurationServiceTest.java index a9ecaad23fac80ed058d16568f0725a465c77465..3b95a9ce8d7288d01252976dc71ff15b45adf4da 100644 --- a/src/test/java/fr/inra/oresing/rest/ApplicationConfigurationServiceTest.java +++ b/src/test/java/fr/inra/oresing/rest/ApplicationConfigurationServiceTest.java @@ -400,7 +400,7 @@ public class ApplicationConfigurationServiceTest { ValidationCheckResult onlyError = Iterables.getOnlyElement(configurationParsingResult.getValidationCheckResults()); log.debug(onlyError.getMessage()); Assert.assertEquals("unrecognizedProperty", onlyError.getMessage()); - Assert.assertEquals(9, onlyError.getMessageParams().get("lineNumber")); + Assert.assertEquals(17, onlyError.getMessageParams().get("lineNumber")); Assert.assertEquals(3, onlyError.getMessageParams().get("columnNumber")); Assert.assertEquals("compositReference", onlyError.getMessageParams().get("unknownPropertyName")); } @@ -657,6 +657,7 @@ public class ApplicationConfigurationServiceTest { } @Test + @Ignore public void testauthorizationScopeMissingReferenceCheckerForAuthorizationScope() { String toReplace = "checker:\n" + " name: Reference\n" + @@ -784,11 +785,13 @@ public class ApplicationConfigurationServiceTest { public void testUnknownReferenceForCheckerAndauthorizationScopeVariableComponentReftypeUnknown() { ConfigurationParsingResult configurationParsingResult = parseYaml("testUnknownReferenceForCheckerAndauthorizationScopeVariableComponentReftypeUnknown", "components:\n" + " site:\n" + + " tags: [test]\n" + " checker:\n" + " name: Reference\n" + " params:\n" + " refType: sites", "components:\n" + " site:\n" + + " tags: [test]\n" + " checker:\n" + " name: Reference\n" + " params:\n" + @@ -973,11 +976,13 @@ public class ApplicationConfigurationServiceTest { public void testAuthorizationScopeVariableComponentReftypeNull() { ConfigurationParsingResult configurationParsingResult = parseYaml("testAuthorizationScopeVariableComponentReftypeNull", "components:\n" + " site:\n" + + " tags: [test]\n" + " checker:\n" + " name: Reference\n" + " params:\n" + " refType: sites", "components:\n" + " site:\n" + + " tags: [test]\n" + " checker:\n" + " name: Reference\n" + " params:\n" + @@ -995,11 +1000,13 @@ public class ApplicationConfigurationServiceTest { public void testAuthorizationScopeVariableComponentWrongChecker() { ConfigurationParsingResult configurationParsingResult = parseYaml("testAuthorizationScopeVariableComponentWrongChecker", "components:\n" + " site:\n" + + " tags: [test]\n" + " checker:\n" + " name: Reference\n" + " params:\n" + " refType: sites", "components:\n" + " site:\n" + + " tags: [test]\n" + " checker:\n" + " name: Integer\n" + " params:\n" + @@ -1293,4 +1300,101 @@ public class ApplicationConfigurationServiceTest { log.debug(onlyError.getMessage()); Assert.assertEquals("invalidCapturingGroupForEndDateDatatypeRepositoryDate", onlyError.getMessage()); } + + @Test + public void testMissingReferentielTagDeclaration() { + ConfigurationParsingResult configurationParsingResult = parseYaml("testMissingReferentielTagDeclaration", + "references:\n" + + " projets:\n" + + " tags: [context]", + "references:\n" + + " projets:\n" + + " tags: [coucou]" + ); + Assert.assertFalse(configurationParsingResult.isValid()); + ValidationCheckResult onlyError = Iterables.getOnlyElement(configurationParsingResult.getValidationCheckResults()); + log.debug(onlyError.getMessage()); + Assert.assertEquals("missingReferentielTagDeclaration", onlyError.getMessage()); + } + + @Test + public void testMissingReferentielColumnsTagDeclaration() { + ConfigurationParsingResult configurationParsingResult = parseYaml("testMissingReferentielColumnsTagDeclaration", + " nom du projet_key:\n" + + " tags: [test]", + " nom du projet_key:\n" + + " tags: [coucou]" + ); + Assert.assertFalse(configurationParsingResult.isValid()); + ValidationCheckResult onlyError = Iterables.getOnlyElement(configurationParsingResult.getValidationCheckResults()); + log.debug(onlyError.getMessage()); + Assert.assertEquals("missingReferenceColumnsTagDeclaration", onlyError.getMessage()); + } + + @Test + public void testMissingDataTypeTagDeclaration() { + ConfigurationParsingResult configurationParsingResult = parseYaml("testMissingDataTypeTagDeclaration", + "dataTypes:\n" + + " site:\n" + + " tags: [context]", + "dataTypes:\n" + + " site:\n" + + " tags: [coucou]" + ); + Assert.assertFalse(configurationParsingResult.isValid()); + ValidationCheckResult onlyError = Iterables.getOnlyElement(configurationParsingResult.getValidationCheckResults()); + log.debug(onlyError.getMessage()); + Assert.assertEquals("missingDataTypeTagDeclaration", onlyError.getMessage()); + } + + @Test + public void testMissingVariableDescriptionTagDeclaration() { + ConfigurationParsingResult configurationParsingResult = parseYaml("testMissingVariableDescriptionTagDeclaration", + " localization:\n" + + " tags: [test]", + " localization:\n" + + " tags: [coucou]" + ); + Assert.assertFalse(configurationParsingResult.isValid()); + ValidationCheckResult onlyError = Iterables.getOnlyElement(configurationParsingResult.getValidationCheckResults()); + log.debug(onlyError.getMessage()); + Assert.assertEquals("missingVariableDescriptionTagDeclaration", onlyError.getMessage()); + } + + @Test + public void testMissingVariableComponentDescriptionTagDeclaration() { + ConfigurationParsingResult configurationParsingResult = parseYaml("testMissingVariableComponentDescriptionTagDeclaration", + " localization:\n" + + " tags: [test]\n" + + " components:\n" + + " site:\n" + + " tags: [test]", + " localization:\n" + + " tags: [test]\n" + + " components:\n" + + " site:\n" + + " tags: [coucou]" + ); + Assert.assertFalse(configurationParsingResult.isValid()); + ValidationCheckResult onlyError = Iterables.getOnlyElement(configurationParsingResult.getValidationCheckResults()); + log.debug(onlyError.getMessage()); + Assert.assertEquals("missingVariableComponentDescriptionTagDeclaration", onlyError.getMessage()); + } + + @Test + public void testHIDDENTagDeclaration() { + ConfigurationParsingResult configurationParsingResult = parseYaml("testHIDDENTagDeclaration", + " localization:\n" + + " tags: [test]\n" + + " components:\n" + + " site:\n" + + " tags: [test]", + " localization:\n" + + " tags: [test]\n" + + " components:\n" + + " site:\n" + + " tags: [__hidden__]" + ); + Assert.assertTrue(configurationParsingResult.isValid()); + } } diff --git a/src/test/java/fr/inra/oresing/rest/OreSiResourcesTest.java b/src/test/java/fr/inra/oresing/rest/OreSiResourcesTest.java index 19bf30e043c364b442564f02774f6b63b5647d02..5131d39c269afee5ea5f9fc474e530331006cbbf 100644 --- a/src/test/java/fr/inra/oresing/rest/OreSiResourcesTest.java +++ b/src/test/java/fr/inra/oresing/rest/OreSiResourcesTest.java @@ -605,7 +605,7 @@ public class OreSiResourcesTest { .andExpect(jsonPath("$.references.projet.tags", Matchers.hasItem("context"))) .andExpect(jsonPath("$.references.types_de_donnees_par_themes_de_sites_et_projet.tags", Matchers.hasItem("context"))) .andExpect(jsonPath("$.references.especes.tags", Matchers.hasItem("data"))) - .andExpect(jsonPath("$.references['type de fichiers'].tags", Matchers.hasItem("no-tag"))) + .andExpect(jsonPath("$.references['type de fichiers'].tags", Matchers.hasItem("__hidden__"))) .andExpect(jsonPath("$.references.variables.tags", Matchers.hasItem("data"))) .andExpect(jsonPath("$.references.unites.tags", Matchers.hasItem("data"))) .andExpect(jsonPath("$.references.valeurs_qualitatives.tags", Matchers.hasItem("data"))) @@ -706,6 +706,14 @@ public class OreSiResourcesTest { JsonPath.parse(response).read("$.id"); } } + final ResultActions typeDeFichiers = mockMvc.perform(get("/api/v1/applications/monsore/references/{refType}", "type de fichiers") + .cookie(authCookie)) + .andExpect(jsonPath("$.referenceValues", Matchers.hasSize(0))); + + /*final ResultActions dataTest = mockMvc.perform(get("/api/v1/applications/monsore/data/{dataType}", "test") + .cookie(authCookie)) + .andExpect(jsonPath("$.variables", Matchers.hasSize(0)));*/ + // ajout de data String projet = "manche"; String plateforme = "plateforme"; @@ -2087,4 +2095,4 @@ on test le dépôt d'un fichier récursif log.debug(StringUtils.abbreviate(response, 50)); } } -} \ No newline at end of file +} diff --git a/src/test/resources/data/monsore/monsore-with-repository.yaml b/src/test/resources/data/monsore/monsore-with-repository.yaml index 08a074defca6c851bf4a6764df8af818c4201ccc..b3b71749a0ea096f6ff9c114020ab3cef3306f9e 100644 --- a/src/test/resources/data/monsore/monsore-with-repository.yaml +++ b/src/test/resources/data/monsore/monsore-with-repository.yaml @@ -17,6 +17,9 @@ tags: test: fr: test en: test + unit: + fr: unité + en: unit compositeReferences: sites: components: @@ -44,7 +47,8 @@ references: keyColumns: - esp_nom columns: - esp_nom: null + esp_nom: + tags: [test] esp_definition_fr: null esp_definition_en: null colonne_homonyme_entre_referentiels: null @@ -143,6 +147,7 @@ references: description_fr: null description_en: null type de fichiers: + tags: ["__hidden__"] keyColumns: - nom_key internationalizationName: @@ -387,18 +392,20 @@ dataTypes: fr: 'espèce :{esp_nom}' en: 'espèce :{esp_nom}' repository: - filePattern: "(.*)_(.*)_(.*)_(.*).csv" - authorizationScope: - localization: 1 - projet: 2 - startDate: - token: 3 - endDate: - token: 4 + filePattern: "(.*)_(.*)_(.*)_(.*).csv" + authorizationScope: + localization: 1 + projet: 2 + startDate: + token: 3 + endDate: + token: 4 data: projet: + tags: [test] components: value: + tags: [test] checker: name: Reference params: @@ -423,6 +430,7 @@ dataTypes: refType: sites computedComponents: site_bassin: + tags: [__hidden__] computation: expression: > return references.get("sites") diff --git a/src/test/resources/data/validation/fake-app.yaml b/src/test/resources/data/validation/fake-app.yaml index 705d5e8b6661a1f9b15938c9c3befd4b09c56322..441848d4c7cf669b70e665888ebc56305e8e62cf 100644 --- a/src/test/resources/data/validation/fake-app.yaml +++ b/src/test/resources/data/validation/fake-app.yaml @@ -5,6 +5,14 @@ application: internationalizationName: fr: Fausse application en: Fake application + +tags: + context: + fr: contexte + en: context + test: + fr: test + en: test compositeReferences: localizations: components: @@ -19,6 +27,7 @@ compositeReferences: reference: taxon references: projets: + tags: [context] separator: keyColumns: [nom du projet_key] internationalizationName: @@ -34,6 +43,7 @@ references: en: '{nom du projet_en}' columns: nom du projet_key: + tags: [test] nom du projet_fr: nom du projet_en: description du projet_fr: @@ -228,6 +238,7 @@ references: referenceColumnToLookForHeader: nom de la propriété_key dataTypes: site: + tags: [context] internationalizationName: fr: Le site en: the good place @@ -285,8 +296,10 @@ dataTypes: pattern: "dd/MM/yyyy HH:mm:ss" duration: "1 MINUTES" localization: + tags: [test] components: site: + tags: [test] checker: name: Reference params: diff --git a/ui/.eslintrc.js b/ui/.eslintrc.js index 409481b761e1032f5d9e41a67a3b50cccd5c8c8f..10b092a02913ec0968f0041eb7a971a4322c8b33 100644 --- a/ui/.eslintrc.js +++ b/ui/.eslintrc.js @@ -54,4 +54,4 @@ module.exports = { messageSyntaxVersion: "^8.22.3", }, }, -}; \ No newline at end of file +}; diff --git a/ui/cypress/fixtures/applications/errors/errors.json b/ui/cypress/fixtures/applications/errors/errors.json index 32a730deecce90d0b52227d4eff6d70e23342bcd..d1da11e2873012212e754acc2b6184c542efae36 100644 --- a/ui/cypress/fixtures/applications/errors/errors.json +++ b/ui/cypress/fixtures/applications/errors/errors.json @@ -203,32 +203,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -248,7 +248,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -267,7 +276,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -289,7 +307,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -299,7 +322,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -413,6 +436,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -480,6 +504,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -594,6 +619,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -790,6 +816,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -807,6 +834,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -825,6 +853,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -843,6 +872,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -854,6 +884,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -871,6 +902,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -889,6 +921,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -896,6 +929,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -914,6 +948,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -932,6 +967,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -1022,8 +1058,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -1033,8 +1069,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -1044,8 +1080,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -1055,8 +1091,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -1066,8 +1102,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -1093,32 +1129,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -1136,7 +1172,7 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, @@ -1344,32 +1380,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -1389,7 +1425,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -1408,7 +1453,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -1430,7 +1484,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -1440,45 +1499,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -1538,6 +1559,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -1554,6 +1613,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -1621,6 +1681,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -1735,6 +1796,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -1931,6 +1993,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -1948,6 +2011,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -1966,6 +2030,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -1984,6 +2049,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -1995,6 +2061,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -2012,6 +2079,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -2030,6 +2098,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -2037,6 +2106,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -2055,6 +2125,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -2073,6 +2144,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -2163,8 +2235,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -2174,8 +2246,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -2185,8 +2257,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -2196,8 +2268,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -2207,8 +2279,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -2234,32 +2306,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -2277,7 +2349,7 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, @@ -2485,32 +2557,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -2530,7 +2602,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -2549,7 +2630,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -2571,7 +2661,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -2581,7 +2676,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -2695,6 +2790,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -2762,6 +2858,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -2876,6 +2973,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -3072,6 +3170,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -3089,6 +3188,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -3107,6 +3207,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -3125,6 +3226,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -3136,6 +3238,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -3153,6 +3256,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -3171,6 +3275,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -3178,6 +3283,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -3196,6 +3302,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -3214,6 +3321,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -3304,8 +3412,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -3315,8 +3423,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -3326,8 +3434,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -3337,8 +3445,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -3348,8 +3456,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -3375,32 +3483,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -3418,7 +3526,7 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, @@ -3433,7 +3541,7 @@ "datum" : "localization", "refType" : "site", "component" : "site", - "references" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] + "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -3444,7 +3552,7 @@ "variable" : "localization", "component" : "site", "refType" : "site", - "knownPatterns" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + "knownPatterns" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -3640,32 +3748,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -3685,7 +3793,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -3704,7 +3821,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -3726,7 +3852,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -3736,6 +3867,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -3796,44 +3965,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -3850,6 +3981,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -3917,6 +4049,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -4031,6 +4164,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -4227,6 +4361,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -4244,6 +4379,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -4262,6 +4398,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -4280,6 +4417,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -4291,6 +4429,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -4308,6 +4447,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -4326,6 +4466,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -4333,6 +4474,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -4351,6 +4493,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -4369,6 +4512,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -4459,8 +4603,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -4470,8 +4614,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -4481,8 +4625,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -4492,8 +4636,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -4503,8 +4647,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -4530,32 +4674,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -4573,7 +4717,7 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, @@ -4783,32 +4927,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -4828,7 +4972,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -4847,7 +5000,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -4869,7 +5031,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -4879,6 +5046,64 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "platform_type" : { @@ -4919,64 +5144,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "sites" : { - "internationalizationName" : { - "fr" : "Site", - "en" : "Site" - }, - "internationalizedColumns" : { - "nom du site_key" : { - "fr" : "nom du site_fr", - "en" : "nom du site_en" - }, - "description du site_fr" : { - "fr" : "description du site_fr", - "en" : "description du site_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du site_fr}", - "en" : "{nom du site_en}" - } - }, - "separator" : "\u0000", - "keyColumns" : [ "nom du site_key" ], - "columns" : { - "nom du type de site" : null, - "nom du site_key" : null, - "nom du site_fr" : null, - "nom du site_en" : null, - "description du site_fr" : null, - "description du site_en" : null, - "code sandre du Plan d'eau" : null, - "code sandre de la Masse d'eau plan d'eau" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -4993,6 +5160,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -5060,6 +5228,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -5174,6 +5343,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -5370,6 +5540,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -5387,6 +5558,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -5405,6 +5577,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -5423,6 +5596,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -5434,6 +5608,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -5451,6 +5626,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -5469,6 +5645,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -5476,6 +5653,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -5494,6 +5672,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -5512,6 +5691,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -5602,8 +5782,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -5613,8 +5793,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -5624,8 +5804,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -5635,8 +5815,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -5646,8 +5826,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -5673,32 +5853,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -5716,48 +5896,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testIllegalCheckerConfigurationParameterForValidationRuleInReference" : { + "testMissingVariableDescriptionTagDeclaration" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidFormat", + "message" : "missingVariableDescriptionTagDeclaration", "messageParams" : { - "columnNumber" : 17, - "value" : "Flaot", - "path" : "references->proprietes_taxon->validations->floats->checker->name", - "lineNumber" : 133, - "authorizedValues" : " [RegularExpression, GroovyExpression, Reference, Float, Integer, Date]" - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testAuthorizationScopeVariableComponentReftypeNull" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "missingReferenceForChecker", - "messageParams" : { - "dataType" : "site", - "datum" : "localization", - "component" : "site", - "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "authorizationScopeVariableComponentReftypeNull", - "messageParams" : { - "variable" : "localization", - "component" : "site", - "knownPatterns" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + "sectionName" : "site", + "variableName" : "localization", + "tagName" : "coucou", + "declaredTag" : [ "context", "test" ] }, "error" : true, "success" : false @@ -5953,32 +6106,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -5998,7 +6151,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -6017,7 +6179,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -6039,7 +6210,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -6049,7 +6225,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -6163,6 +6339,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -6230,6 +6407,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -6344,6 +6522,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -6540,6 +6719,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -6557,6 +6737,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -6575,6 +6756,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -6593,6 +6775,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -6604,13 +6787,14 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "coucou" ], "components" : { "site" : { "checker" : { "name" : "Reference", "params" : { "pattern" : null, - "refType" : null, + "refType" : "sites", "groovy" : null, "duration" : null, "transformation" : { @@ -6621,6 +6805,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -6639,6 +6824,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -6646,6 +6832,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -6664,6 +6851,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -6682,6 +6870,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -6772,8 +6961,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -6783,8 +6972,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -6794,8 +6983,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -6805,8 +6994,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -6816,8 +7005,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -6843,32 +7032,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -6886,19 +7075,48 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testTimeScopeVariableComponentKeyUnknownVariable" : { + "testIllegalCheckerConfigurationParameterForValidationRuleInReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "timeScopeVariableComponentKeyUnknownVariable", + "message" : "invalidFormat", "messageParams" : { - "variable" : "dates", - "knownVariables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] + "path" : "references->proprietes_taxon->validations->floats->checker->name", + "lineNumber" : 143, + "authorizedValues" : " [RegularExpression, GroovyExpression, Reference, Float, Integer, Date]", + "columnNumber" : 17, + "value" : "Flaot" + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testAuthorizationScopeVariableComponentReftypeNull" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingReferenceForChecker", + "messageParams" : { + "dataType" : "site", + "datum" : "localization", + "component" : "site", + "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "authorizationScopeVariableComponentReftypeNull", + "messageParams" : { + "variable" : "localization", + "component" : "site", + "knownPatterns" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -7094,32 +7312,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -7139,7 +7357,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -7158,7 +7385,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -7180,7 +7416,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -7190,7 +7431,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -7304,6 +7545,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -7371,6 +7613,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -7485,6 +7728,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -7681,6 +7925,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -7698,6 +7943,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -7716,6 +7962,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -7734,6 +7981,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -7745,13 +7993,14 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { "name" : "Reference", "params" : { "pattern" : null, - "refType" : "sites", + "refType" : null, "groovy" : null, "duration" : null, "transformation" : { @@ -7762,6 +8011,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -7780,6 +8030,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -7787,6 +8038,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -7805,6 +8057,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -7823,6 +8076,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -7877,9 +8131,9 @@ "migrations" : { }, "authorization" : { "timeScope" : { - "variable" : "dates", + "variable" : "date", "component" : "day", - "id" : "dates_day", + "id" : "date_day", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "authorizationScopes" : { @@ -7913,8 +8167,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -7924,8 +8178,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -7935,8 +8189,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -7946,8 +8200,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -7957,8 +8211,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -7984,32 +8238,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -8027,20 +8281,19 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingParentRecursiveKeyColumnForReferenceInCompositeReference" : { + "testTimeScopeVariableComponentKeyUnknownVariable" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingParentRecursiveKeyColumnForReferenceInCompositeReference", + "message" : "timeScopeVariableComponentKeyUnknownVariable", "messageParams" : { - "compositeReference" : "localizations", - "reference" : "plateformes", - "parentRecursiveKey" : "nom du parent" + "variable" : "dates", + "knownVariables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] }, "error" : true, "success" : false @@ -8236,32 +8489,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -8281,7 +8534,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -8300,7 +8562,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -8322,7 +8593,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -8332,6 +8608,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -8392,44 +8706,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -8446,6 +8722,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -8513,6 +8790,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -8627,6 +8905,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -8707,7 +8986,7 @@ "internationalizedColumns" : null, "reference" : "plateformes", "parentKeyColumn" : "nom du site", - "parentRecursiveKey" : "nom du parent" + "parentRecursiveKey" : null } ] }, "taxon" : { @@ -8823,6 +9102,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -8840,6 +9120,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -8858,6 +9139,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -8876,6 +9158,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -8887,6 +9170,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -8904,6 +9188,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -8922,6 +9207,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -8929,6 +9215,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -8947,6 +9234,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -8965,6 +9253,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -9019,9 +9308,9 @@ "migrations" : { }, "authorization" : { "timeScope" : { - "variable" : "date", + "variable" : "dates", "component" : "day", - "id" : "date_day", + "id" : "dates_day", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "authorizationScopes" : { @@ -9055,8 +9344,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -9066,8 +9355,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -9077,8 +9366,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -9088,8 +9377,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -9099,8 +9388,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -9126,32 +9415,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -9169,20 +9458,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingVariableComponentForUniqueness" : { + "testMissingParentRecursiveKeyColumnForReferenceInCompositeReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownUsedAsVariableComponentUniqueness", + "message" : "missingParentRecursiveKeyColumnForReferenceInCompositeReference", "messageParams" : { - "dataType" : "site", - "unknownUsedAsVariableComponentUniqueness" : [ "date_jour" ], - "availableVariableComponents" : [ "Nombre d'individus_value", "date_time", "localization_site", "Nombre d'individus_unit", "Nombre d'individus_standardDeviation", "localization_typeSite", "date_day", "date_datetime", "Couleur des individus_value" ] + "compositeReference" : "localizations", + "reference" : "plateformes", + "parentRecursiveKey" : "nom du parent" }, "error" : true, "success" : false @@ -9378,32 +9667,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -9423,7 +9712,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -9442,7 +9740,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -9464,7 +9771,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -9474,6 +9786,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -9534,44 +9884,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -9588,6 +9900,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -9655,6 +9968,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -9769,6 +10083,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -9849,7 +10164,7 @@ "internationalizedColumns" : null, "reference" : "plateformes", "parentKeyColumn" : "nom du site", - "parentRecursiveKey" : null + "parentRecursiveKey" : "nom du parent" } ] }, "taxon" : { @@ -9965,6 +10280,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -9982,6 +10298,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -10000,6 +10317,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -10018,6 +10336,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -10029,6 +10348,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -10046,6 +10366,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -10064,6 +10385,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -10071,6 +10393,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -10089,6 +10412,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -10107,6 +10431,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -10144,8 +10469,8 @@ }, "uniqueness" : [ { "variable" : "date", - "component" : "jour", - "id" : "date_jour", + "component" : "day", + "id" : "date_day", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, { "variable" : "date", @@ -10197,8 +10522,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -10208,8 +10533,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -10219,8 +10544,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -10230,8 +10555,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -10241,8 +10566,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -10268,32 +10593,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -10311,22 +10636,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingAggregationVariableForChart" : { + "testMissingVariableComponentForUniqueness" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingAggregationVariableForChart", + "message" : "unknownUsedAsVariableComponentUniqueness", "messageParams" : { - "variable" : "Nombre d'individus", - "aggregationVariable" : "pasdevariable", - "aggregationComponent" : "value", "dataType" : "site", - "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] + "unknownUsedAsVariableComponentUniqueness" : [ "date_jour" ], + "availableVariableComponents" : [ "Nombre d'individus_value", "date_time", "localization_site", "Nombre d'individus_unit", "Nombre d'individus_standardDeviation", "localization_typeSite", "date_day", "date_datetime", "Couleur des individus_value" ] }, "error" : true, "success" : false @@ -10522,32 +10845,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -10567,7 +10890,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -10586,7 +10918,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -10608,7 +10949,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -10618,7 +10964,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -10732,6 +11078,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -10799,6 +11146,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -10913,6 +11261,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -11109,6 +11458,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -11126,6 +11476,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -11144,6 +11495,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -11162,6 +11514,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -11173,6 +11526,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -11190,6 +11544,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -11208,6 +11563,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -11215,6 +11571,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -11224,15 +11581,16 @@ "chartDescription" : { "value" : "value", "aggregation" : { - "variable" : "pasdevariable", + "variable" : "Couleur des individus", "component" : "value", - "id" : "pasdevariable_value", + "id" : "Couleur des individus_value", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "unit" : "unit", "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -11251,6 +11609,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -11288,8 +11647,8 @@ }, "uniqueness" : [ { "variable" : "date", - "component" : "day", - "id" : "date_day", + "component" : "jour", + "id" : "date_jour", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, { "variable" : "date", @@ -11341,8 +11700,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -11352,8 +11711,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -11363,8 +11722,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -11374,8 +11733,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -11385,8 +11744,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -11412,32 +11771,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -11455,19 +11814,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testAuthorizationScopeVariableComponentKeyMissingVariable" : { + "testMissingAggregationVariableForChart" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "authorizationScopeVariableComponentKeyMissingVariable", + "message" : "missingAggregationVariableForChart", "messageParams" : { + "variable" : "Nombre d'individus", + "aggregationVariable" : "pasdevariable", + "aggregationComponent" : "value", "dataType" : "site", - "authorizationScopeName" : "localization", "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] }, "error" : true, @@ -11664,32 +12025,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -11709,7 +12070,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -11728,7 +12098,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -11750,7 +12129,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -11760,6 +12144,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -11820,44 +12242,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -11874,6 +12258,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -11941,6 +12326,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -12055,6 +12441,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -12251,6 +12638,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -12268,6 +12656,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -12286,6 +12675,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -12304,6 +12694,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -12315,6 +12706,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -12332,6 +12724,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -12350,6 +12743,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -12357,6 +12751,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -12366,15 +12761,16 @@ "chartDescription" : { "value" : "value", "aggregation" : { - "variable" : "Couleur des individus", + "variable" : "pasdevariable", "component" : "value", - "id" : "Couleur des individus_value", + "id" : "pasdevariable_value", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "unit" : "unit", "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -12393,6 +12789,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -12456,12 +12853,12 @@ "localization" : { "internationalizationName" : null, "internationalizedColumns" : null, - "variable" : null, + "variable" : "localization", "component" : "site", "variableComponentKey" : { - "variable" : null, + "variable" : "localization", "component" : "site", - "id" : "null_site", + "id" : "localization_site", "type" : "PARAM_VARIABLE_COMPONENT_KEY" } } @@ -12483,8 +12880,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -12494,8 +12891,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -12505,8 +12902,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -12516,8 +12913,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -12527,8 +12924,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -12554,32 +12951,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -12597,37 +12994,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnknownReferenceForCheckerInReferenceColumn" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "unrecognizedProperty", - "messageParams" : { - "lineNumber" : 81, - "columnNumber" : 25, - "unknownPropertyName" : "name", - "knownProperties" : [ "pattern", "duration", "transformation", "refType", "groovy", "required", "multiplicity" ] - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testMissingUnitComponentForChart" : { + "testAuthorizationScopeVariableComponentKeyMissingVariable" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingUnitComponentForChart", + "message" : "authorizationScopeVariableComponentKeyMissingVariable", "messageParams" : { - "variable" : "Nombre d'individus", - "unit" : "badunit", "dataType" : "site", - "components" : [ "value", "unit", "standardDeviation" ] + "authorizationScopeName" : "localization", + "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] }, "error" : true, "success" : false @@ -12823,32 +13203,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -12868,7 +13248,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -12887,7 +13276,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -12909,7 +13307,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -12919,7 +13322,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -13033,6 +13436,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -13100,6 +13504,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -13214,6 +13619,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -13410,6 +13816,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -13427,6 +13834,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -13445,6 +13853,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -13463,6 +13872,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -13474,6 +13884,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -13491,6 +13902,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -13509,6 +13921,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -13516,6 +13929,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -13530,10 +13944,11 @@ "id" : "Couleur des individus_value", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, - "unit" : "badunit", + "unit" : "unit", "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -13552,6 +13967,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -13615,12 +14031,12 @@ "localization" : { "internationalizationName" : null, "internationalizedColumns" : null, - "variable" : "localization", + "variable" : null, "component" : "site", "variableComponentKey" : { - "variable" : "localization", + "variable" : null, "component" : "site", - "id" : "localization_site", + "id" : "null_site", "type" : "PARAM_VARIABLE_COMPONENT_KEY" } } @@ -13642,8 +14058,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -13653,8 +14069,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -13664,8 +14080,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -13675,8 +14091,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -13686,8 +14102,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -13713,32 +14129,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -13756,20 +14172,37 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testAuthorizationVariableComponentKeyUnknownComponent" : { + "testUnknownReferenceForCheckerInReferenceColumn" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "authorizationVariableComponentKeyUnknownComponent", + "message" : "unrecognizedProperty", "messageParams" : { - "variable" : "localization", - "component" : "sites", - "knownComponents" : [ "site", "typeSite" ] + "lineNumber" : 91, + "columnNumber" : 25, + "unknownPropertyName" : "name", + "knownProperties" : [ "pattern", "duration", "transformation", "refType", "groovy", "required", "multiplicity" ] + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testMissingUnitComponentForChart" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingUnitComponentForChart", + "messageParams" : { + "variable" : "Nombre d'individus", + "unit" : "badunit", + "dataType" : "site", + "components" : [ "value", "unit", "standardDeviation" ] }, "error" : true, "success" : false @@ -13965,32 +14398,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -14010,7 +14443,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -14029,7 +14471,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -14051,7 +14502,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -14061,7 +14517,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -14175,6 +14631,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -14242,6 +14699,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -14356,6 +14814,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -14552,6 +15011,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -14569,6 +15029,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -14587,6 +15048,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -14605,6 +15067,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -14616,6 +15079,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -14633,6 +15097,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -14651,6 +15116,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -14658,6 +15124,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -14672,10 +15139,11 @@ "id" : "Couleur des individus_value", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, - "unit" : "unit", + "unit" : "badunit", "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -14694,6 +15162,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -14758,11 +15227,11 @@ "internationalizationName" : null, "internationalizedColumns" : null, "variable" : "localization", - "component" : "sites", + "component" : "site", "variableComponentKey" : { "variable" : "localization", - "component" : "sites", - "id" : "localization_sites", + "component" : "site", + "id" : "localization_site", "type" : "PARAM_VARIABLE_COMPONENT_KEY" } } @@ -14784,8 +15253,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -14795,8 +15264,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -14806,8 +15275,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -14817,8 +15286,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -14828,8 +15297,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -14855,32 +15324,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -14898,20 +15367,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingReferenceForCheckerInReference" : { + "testMissingDataTypeTagDeclaration" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingReferenceForCheckerInReference", + "message" : "missingDataTypeTagDeclaration", "messageParams" : { - "validationKey" : "typeSitesRef", - "reference" : "sites", - "references" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] + "sectionName" : "site", + "tagName" : "coucou", + "declaredTag" : [ "context", "test" ] }, "error" : true, "success" : false @@ -15003,11 +15472,7 @@ "en" : "{nom du site_en}" } }, - "internationalizedValidations" : { - "typeSitesRef" : { - "fr" : "référence au type de site" - } - }, + "internationalizedValidations" : { }, "internationalizedTags" : null }, "proprietes_taxon" : { @@ -15111,32 +15576,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -15156,7 +15621,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -15175,7 +15649,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -15197,7 +15680,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -15207,7 +15695,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -15263,30 +15751,7 @@ }, "computedColumns" : { }, "dynamicColumns" : { }, - "validations" : { - "typeSitesRef" : { - "internationalizationName" : { - "fr" : "référence au type de site" - }, - "internationalizedColumns" : null, - "checker" : { - "name" : "Reference", - "params" : { - "pattern" : null, - "refType" : null, - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, - "columns" : [ "nom du type de site" ] - } - }, + "validations" : { }, "allowUnexpectedColumns" : false, "tags" : [ ] }, @@ -15344,6 +15809,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -15411,6 +15877,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -15525,6 +15992,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -15721,6 +16189,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -15738,6 +16207,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -15756,6 +16226,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -15774,6 +16245,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -15785,6 +16257,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -15802,6 +16275,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -15820,6 +16294,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -15827,6 +16302,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -15845,6 +16321,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -15863,6 +16340,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -15953,8 +16431,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -15964,8 +16442,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -15975,8 +16453,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -15986,8 +16464,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -15997,8 +16475,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -16024,32 +16502,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -16067,20 +16545,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "coucou" ] } } }, "valid" : false }, - "testInvalidCapturingGroupForDatatypeRepository" : { + "testAuthorizationVariableComponentKeyUnknownComponent" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidCapturingGroupForDatatypeRepository", + "message" : "authorizationVariableComponentKeyUnknownComponent", "messageParams" : { - "scopeName" : "projet", - "registerScopes" : [ "localization" ], - "dataType" : "site" + "variable" : "localization", + "component" : "sites", + "knownComponents" : [ "site", "typeSite" ] }, "error" : true, "success" : false @@ -16276,32 +16754,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -16321,7 +16799,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -16340,7 +16827,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -16362,7 +16858,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -16372,45 +16873,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -16470,6 +16933,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -16486,6 +16987,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -16553,6 +17055,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -16667,6 +17170,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -16863,6 +17367,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -16880,6 +17385,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -16898,6 +17404,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -16916,6 +17423,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -16927,6 +17435,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -16944,6 +17453,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -16962,6 +17472,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -16969,6 +17480,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -16987,6 +17499,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -17005,6 +17518,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -17069,11 +17583,11 @@ "internationalizationName" : null, "internationalizedColumns" : null, "variable" : "localization", - "component" : "site", + "component" : "sites", "variableComponentKey" : { "variable" : "localization", - "component" : "site", - "id" : "localization_site", + "component" : "sites", + "id" : "localization_sites", "type" : "PARAM_VARIABLE_COMPONENT_KEY" } } @@ -17095,8 +17609,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -17106,8 +17620,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -17117,8 +17631,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -17128,8 +17642,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -17139,8 +17653,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -17166,32 +17680,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -17200,7 +17714,7 @@ "repository" : { "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", "authorizationScope" : { - "projet" : 1 + "localization" : 1 }, "startDate" : { "token" : 3 @@ -17209,30 +17723,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testRecordInvalidKeyColumns" : { + "testMissingReferenceForCheckerInReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidKeyColumns", - "messageParams" : { - "reference" : "projets", - "unknownUsedAsKeyElementColumns" : [ "nom du projet_key" ], - "knownColumns" : [ "nom du Projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "invalidInternationalizedColumns", + "message" : "missingReferenceForCheckerInReference", "messageParams" : { - "reference" : "projets", - "unknownUsedAsInternationalizedColumns" : [ "nom du projet_key" ], - "knownColumns" : [ "nom du Projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] + "validationKey" : "typeSitesRef", + "reference" : "sites", + "references" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -17324,7 +17828,11 @@ "en" : "{nom du site_en}" } }, - "internationalizedValidations" : { }, + "internationalizedValidations" : { + "typeSitesRef" : { + "fr" : "référence au type de site" + } + }, "internationalizedTags" : null }, "proprietes_taxon" : { @@ -17428,32 +17936,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -17473,7 +17981,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -17492,7 +18009,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -17514,7 +18040,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du Projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -17524,45 +18055,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -17618,6 +18111,67 @@ }, "computedColumns" : { }, "dynamicColumns" : { }, + "validations" : { + "typeSitesRef" : { + "internationalizationName" : { + "fr" : "référence au type de site" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du type de site" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, "tags" : [ ] @@ -17638,6 +18192,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -17705,6 +18260,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -17819,6 +18375,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -18015,6 +18572,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -18032,6 +18590,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -18050,6 +18609,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -18068,6 +18628,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -18079,6 +18640,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -18096,6 +18658,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -18114,6 +18677,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -18121,6 +18685,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -18139,6 +18704,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -18157,6 +18723,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -18247,8 +18814,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -18258,8 +18825,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -18269,8 +18836,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -18280,8 +18847,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -18291,8 +18858,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -18318,32 +18885,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -18361,34 +18928,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnsupportedVersion" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "unsupportedVersion", - "messageParams" : { - "actualVersion" : -1, - "expectedVersion" : 1 - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testMissingColumnInInternationalizationDisplayPatternInDatatype" : { + "testInvalidCapturingGroupForDatatypeRepository" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidInternationalizedColumns", + "message" : "invalidCapturingGroupForDatatypeRepository", "messageParams" : { - "reference" : "sites", - "unknownUsedAsInternationalizedColumns" : [ "nom du site" ], - "knownColumns" : [ "nom du type de site", "nom du site_key", "nom du site_fr", "nom du site_en", "description du site_fr", "description du site_en", "code sandre du Plan d'eau", "code sandre de la Masse d'eau plan d'eau" ] + "scopeName" : "projet", + "registerScopes" : [ "localization" ], + "dataType" : "site" }, "error" : true, "success" : false @@ -18476,7 +19029,7 @@ "internationalizedDynamicColumns" : { }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site}", + "fr" : "{nom du site_fr}", "en" : "{nom du site_en}" } }, @@ -18584,32 +19137,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -18629,7 +19182,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -18648,7 +19210,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -18670,7 +19241,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -18680,7 +19256,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -18718,7 +19294,7 @@ }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site}", + "fr" : "{nom du site_fr}", "en" : "{nom du site_en}" } }, @@ -18794,6 +19370,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -18861,6 +19438,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -18975,6 +19553,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -19171,6 +19750,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -19188,6 +19768,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -19206,6 +19787,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -19224,6 +19806,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -19235,6 +19818,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -19252,6 +19836,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -19270,6 +19855,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -19277,6 +19863,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -19295,6 +19882,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -19313,6 +19901,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -19403,8 +19992,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -19414,8 +20003,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -19425,8 +20014,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -19436,8 +20025,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -19447,8 +20036,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -19474,32 +20063,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -19508,7 +20097,7 @@ "repository" : { "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", "authorizationScope" : { - "localization" : 1 + "projet" : 1 }, "startDate" : { "token" : 3 @@ -19517,20 +20106,30 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUndeclaredValueForChart" : { + "testRecordInvalidKeyColumns" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unDeclaredValueForChart", + "message" : "invalidKeyColumns", "messageParams" : { - "variable" : "Nombre d'individus", - "dataType" : "site", - "components" : [ "value", "unit", "standardDeviation" ] + "reference" : "projets", + "unknownUsedAsKeyElementColumns" : [ "nom du projet_key" ], + "knownColumns" : [ "nom du Projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "invalidInternationalizedColumns", + "messageParams" : { + "reference" : "projets", + "unknownUsedAsInternationalizedColumns" : [ "nom du projet_key" ], + "knownColumns" : [ "nom du Projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] }, "error" : true, "success" : false @@ -19726,32 +20325,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -19771,7 +20370,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -19790,7 +20398,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -19812,7 +20429,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du Projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -19822,7 +20444,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -19936,6 +20558,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -20003,6 +20626,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -20117,6 +20741,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -20313,6 +20938,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -20330,6 +20956,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -20348,6 +20975,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -20366,6 +20994,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -20377,6 +21006,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -20394,6 +21024,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -20412,6 +21043,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -20419,6 +21051,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -20426,7 +21059,7 @@ }, "Nombre d'individus" : { "chartDescription" : { - "value" : null, + "value" : "value", "aggregation" : { "variable" : "Couleur des individus", "component" : "value", @@ -20437,6 +21070,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -20455,6 +21089,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -20545,8 +21180,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -20556,8 +21191,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -20567,8 +21202,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -20578,8 +21213,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -20589,8 +21224,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -20616,32 +21251,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -20659,21 +21294,36 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingReferenceForCheckerInDataType" : { + "testUnsupportedVersion" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingReferenceForChecker", + "message" : "unsupportedVersion", "messageParams" : { - "dataType" : "site", - "datum" : "localization", - "component" : "typeSite", - "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + "actualVersion" : -1, + "expectedVersion" : 1 + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testMissingVariableComponentDescriptionTagDeclaration" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingVariableComponentDescriptionTagDeclaration", + "messageParams" : { + "sectionName" : "site", + "variableName" : "localization", + "compenentName" : "site", + "tagName" : "coucou", + "declaredTag" : [ "context", "test" ] }, "error" : true, "success" : false @@ -20869,32 +21519,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -20914,7 +21564,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -20933,7 +21592,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -20955,7 +21623,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -20965,45 +21638,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -21063,6 +21698,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -21079,6 +21752,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -21146,6 +21820,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -21260,6 +21935,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -21456,6 +22132,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -21473,6 +22150,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -21491,6 +22169,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -21509,6 +22188,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -21520,6 +22200,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -21537,13 +22218,26 @@ "multiplicity" : "ONE" } }, + "tags" : [ "coucou" ], "defaultValue" : null }, "typeSite" : { "checker" : { "name" : "Reference", - "params" : null + "params" : { + "pattern" : null, + "refType" : "typeSites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } }, + "tags" : [ ], "defaultValue" : null } }, @@ -21551,6 +22245,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -21569,6 +22264,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -21587,6 +22283,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -21677,8 +22374,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -21688,8 +22385,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -21699,8 +22396,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -21710,8 +22407,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -21721,8 +22418,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -21748,32 +22445,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -21791,37 +22488,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidFormat" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "invalidFormat", - "messageParams" : { - "columnNumber" : 21, - "value" : "pas_un_chiffre", - "path" : "dataTypes->site->format->firstRowLine", - "lineNumber" : 338, - "authorizedValues" : "" - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testInvalidKeyColumns" : { + "testMissingColumnInInternationalizationDisplayPatternInDatatype" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidKeyColumns", + "message" : "invalidInternationalizedColumns", "messageParams" : { - "reference" : "projets", - "unknownUsedAsKeyElementColumns" : [ "nom du projet_clé" ], - "knownColumns" : [ "nom du projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] + "reference" : "sites", + "unknownUsedAsInternationalizedColumns" : [ "nom du site" ], + "knownColumns" : [ "nom du type de site", "nom du site_key", "nom du site_fr", "nom du site_en", "description du site_fr", "description du site_en", "code sandre du Plan d'eau", "code sandre de la Masse d'eau plan d'eau" ] }, "error" : true, "success" : false @@ -21909,7 +22589,7 @@ "internationalizedDynamicColumns" : { }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site_fr}", + "fr" : "{nom du site}", "en" : "{nom du site_en}" } }, @@ -22017,32 +22697,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -22062,7 +22742,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -22081,7 +22770,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -22101,9 +22799,14 @@ } }, "separator" : "\u0000", - "keyColumns" : [ "nom du projet_clé" ], + "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -22113,6 +22816,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -22151,7 +22892,7 @@ }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site_fr}", + "fr" : "{nom du site}", "en" : "{nom du site_en}" } }, @@ -22173,44 +22914,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -22227,6 +22930,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -22294,6 +22998,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -22408,6 +23113,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -22604,6 +23310,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -22621,6 +23328,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -22639,6 +23347,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -22657,6 +23366,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -22668,6 +23378,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -22685,6 +23396,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -22703,6 +23415,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -22710,6 +23423,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -22728,6 +23442,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -22746,6 +23461,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -22836,8 +23552,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -22847,8 +23563,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -22858,8 +23574,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -22869,8 +23585,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -22880,8 +23596,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -22907,32 +23623,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -22950,20 +23666,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidDurationForReferenceColumnDateChecker" : { + "testUndeclaredValueForChart" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidDurationForReferenceColumnDateChecker", + "message" : "unDeclaredValueForChart", "messageParams" : { - "referenceToValidate" : "proprietes_taxon", - "column" : "Date", - "duration" : "x MINUTES" + "variable" : "Nombre d'individus", + "dataType" : "site", + "components" : [ "value", "unit", "standardDeviation" ] }, "error" : true, "success" : false @@ -23159,32 +23875,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -23204,7 +23920,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -23223,7 +23948,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -23245,7 +23979,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -23255,6 +23994,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -23315,44 +24092,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -23369,6 +24108,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -23436,13 +24176,14 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { "pattern" : "dd/MM/yyyy", "refType" : null, "groovy" : null, - "duration" : "x MINUTES", + "duration" : "1 MINUTES", "transformation" : { "codify" : false, "groovy" : null @@ -23550,6 +24291,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -23746,6 +24488,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -23763,6 +24506,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -23781,6 +24525,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -23799,6 +24544,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -23810,6 +24556,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -23827,6 +24574,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -23845,6 +24593,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -23852,6 +24601,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -23859,7 +24609,7 @@ }, "Nombre d'individus" : { "chartDescription" : { - "value" : "value", + "value" : null, "aggregation" : { "variable" : "Couleur des individus", "component" : "value", @@ -23870,6 +24620,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -23888,6 +24639,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -23978,8 +24730,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -23989,8 +24741,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -24000,8 +24752,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -24011,8 +24763,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -24022,8 +24774,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -24049,32 +24801,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -24092,20 +24844,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidCapturingGroupForEndDateDatatypeRepositoryDate" : { + "testMissingReferenceForCheckerInDataType" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidCapturingGroupForEndDateDatatypeRepositoryDate", + "message" : "missingReferenceForChecker", "messageParams" : { - "token" : 5, - "countGroups" : 4, - "dataType" : "site" + "dataType" : "site", + "datum" : "localization", + "component" : "typeSite", + "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -24301,32 +25054,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -24346,7 +25099,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -24365,7 +25127,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -24387,7 +25158,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -24397,45 +25173,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -24495,6 +25233,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -24511,6 +25287,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -24578,6 +25355,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -24692,6 +25470,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -24888,6 +25667,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -24905,6 +25685,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -24923,6 +25704,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -24941,6 +25723,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -24952,6 +25735,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -24969,24 +25753,15 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { "checker" : { "name" : "Reference", - "params" : { - "pattern" : null, - "refType" : "typeSites", - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } + "params" : null }, + "tags" : [ ], "defaultValue" : null } }, @@ -24994,6 +25769,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -25012,6 +25788,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -25030,6 +25807,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -25120,8 +25898,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -25131,8 +25909,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -25142,8 +25920,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -25153,8 +25931,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -25164,8 +25942,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -25191,32 +25969,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -25231,25 +26009,40 @@ "token" : 3 }, "endDate" : { - "token" : 5 + "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testIllegalCheckerConfigurationParameterForVariableComponentChecker" : { + "testInvalidFormat" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "illegalCheckerConfigurationParameterForVariableComponentChecker", + "message" : "invalidFormat", "messageParams" : { - "dataType" : "site", - "datum" : "date", - "component" : "day", - "checkerName" : "Date", - "parameterName" : "refType" + "path" : "dataTypes->site->format->firstRowLine", + "lineNumber" : 351, + "authorizedValues" : "", + "columnNumber" : 21, + "value" : "pas_un_chiffre" + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testInvalidKeyColumns" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "invalidKeyColumns", + "messageParams" : { + "reference" : "projets", + "unknownUsedAsKeyElementColumns" : [ "nom du projet_clé" ], + "knownColumns" : [ "nom du projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] }, "error" : true, "success" : false @@ -25445,32 +26238,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -25490,7 +26283,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -25509,7 +26311,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -25529,9 +26340,14 @@ } }, "separator" : "\u0000", - "keyColumns" : [ "nom du projet_key" ], + "keyColumns" : [ "nom du projet_clé" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -25541,6 +26357,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -25601,44 +26455,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -25655,6 +26471,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -25722,6 +26539,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -25836,6 +26654,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -26032,13 +26851,14 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { "name" : "Date", "params" : { "pattern" : "dd/MM/yyyy", - "refType" : "peu_importe_refType_n_a_pas_de_sens", + "refType" : null, "groovy" : null, "duration" : null, "transformation" : { @@ -26049,6 +26869,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -26067,6 +26888,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -26085,6 +26907,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -26096,6 +26919,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -26113,6 +26937,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -26131,6 +26956,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -26138,6 +26964,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -26156,6 +26983,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -26174,6 +27002,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -26264,8 +27093,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -26275,8 +27104,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -26286,8 +27115,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -26297,8 +27126,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -26308,8 +27137,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -26335,32 +27164,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -26378,20 +27207,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingColumnInInternationalizationDisplayPattern" : { + "testInvalidDurationForReferenceColumnDateChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidInternationalizedColumns", + "message" : "invalidDurationForReferenceColumnDateChecker", "messageParams" : { - "reference" : "sites", - "unknownUsedAsInternationalizedColumns" : [ "nom du site" ], - "knownColumns" : [ "nom du type de site", "nom du site_key", "nom du site_fr", "nom du site_en", "description du site_fr", "description du site_en", "code sandre du Plan d'eau", "code sandre de la Masse d'eau plan d'eau" ] + "referenceToValidate" : "proprietes_taxon", + "column" : "Date", + "duration" : "x MINUTES" }, "error" : true, "success" : false @@ -26479,7 +27308,7 @@ "internationalizedDynamicColumns" : { }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site}", + "fr" : "{nom du site_fr}", "en" : "{nom du site_en}" } }, @@ -26587,32 +27416,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -26632,7 +27461,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -26651,7 +27489,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -26673,7 +27520,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -26683,6 +27535,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -26721,7 +27611,7 @@ }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site}", + "fr" : "{nom du site_fr}", "en" : "{nom du site_en}" } }, @@ -26743,44 +27633,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -26797,6 +27649,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -26864,13 +27717,14 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { "pattern" : "dd/MM/yyyy", "refType" : null, "groovy" : null, - "duration" : "1 MINUTES", + "duration" : "x MINUTES", "transformation" : { "codify" : false, "groovy" : null @@ -26978,6 +27832,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -27174,6 +28029,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -27191,6 +28047,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -27209,6 +28066,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -27227,6 +28085,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -27238,6 +28097,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -27255,6 +28115,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -27273,6 +28134,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -27280,6 +28142,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -27298,6 +28161,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -27316,6 +28180,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -27406,8 +28271,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -27417,8 +28282,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -27428,8 +28293,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -27439,8 +28304,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -27450,8 +28315,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -27477,32 +28342,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -27520,28 +28385,19 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testEmptyFile" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "emptyFile", - "messageParams" : { }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testNoCapturingGroupForDatatypeRepository" : { + "testInvalidCapturingGroupForEndDateDatatypeRepositoryDate" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "noCapturingGroupForDatatypeRepository", + "message" : "invalidCapturingGroupForEndDateDatatypeRepositoryDate", "messageParams" : { + "token" : 5, + "countGroups" : 4, "dataType" : "site" }, "error" : true, @@ -27738,32 +28594,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -27783,7 +28639,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -27802,7 +28667,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -27824,7 +28698,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -27834,7 +28713,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -27948,6 +28827,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -28015,6 +28895,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -28129,6 +29010,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -28325,6 +29207,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -28342,6 +29225,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -28360,6 +29244,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -28378,6 +29263,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -28389,6 +29275,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -28406,6 +29293,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -28424,6 +29312,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -28431,6 +29320,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -28449,6 +29339,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -28467,6 +29358,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -28557,8 +29449,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -28568,8 +29460,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -28579,8 +29471,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -28590,8 +29482,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -28601,8 +29493,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -28628,39 +29520,39 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } } }, "repository" : { - "filePattern" : "toto.csv", + "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", "authorizationScope" : { "localization" : 1 }, @@ -28668,23 +29560,25 @@ "token" : 3 }, "endDate" : { - "token" : 4 + "token" : 5 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingParentColumnForReferenceInCompositeReference" : { + "testIllegalCheckerConfigurationParameterForVariableComponentChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingParentColumnForReferenceInCompositeReference", + "message" : "illegalCheckerConfigurationParameterForVariableComponentChecker", "messageParams" : { - "compositeReference" : "localizations", - "reference" : "plateformes", - "parentKeyColumn" : "nom du type de site" + "dataType" : "site", + "datum" : "date", + "component" : "day", + "checkerName" : "Date", + "parameterName" : "refType" }, "error" : true, "success" : false @@ -28880,32 +29774,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -28925,7 +29819,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -28944,7 +29847,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -28966,7 +29878,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -28976,26 +29893,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -29035,41 +29933,18 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "plateformes" : { + "typeSites" : { "internationalizationName" : null, "internationalizedColumns" : null, "internationalizationDisplay" : null, "separator" : "\u0000", - "keyColumns" : [ "nom de la plateforme_key" ], + "keyColumns" : [ "nom_key" ], "columns" : { - "nom de la plateforme_key" : null, - "nom du site" : null, - "nom de la plateforme_fr" : null, - "nom de la plateforme_en" : null, - "latitude" : null, - "longitude" : null, - "altitude" : null, - "nom du type de plateforme" : { - "presenceConstraint" : "MANDATORY", - "checker" : { - "name" : "Reference", - "params" : { - "pattern" : null, - "refType" : "platform_type", - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : true, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, - "defaultValue" : null - }, - "code sandre" : null, - "code sandre du contexte" : null + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null }, "computedColumns" : { }, "dynamicColumns" : { }, @@ -29116,6 +29991,49 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom de la plateforme_key" ], + "columns" : { + "nom de la plateforme_key" : null, + "nom du site" : null, + "nom de la plateforme_fr" : null, + "nom de la plateforme_en" : null, + "latitude" : null, + "longitude" : null, + "altitude" : null, + "nom du type de plateforme" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "platform_type", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -29157,6 +30075,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -29271,6 +30190,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -29343,9 +30263,15 @@ }, { "internationalizationName" : null, "internationalizedColumns" : null, - "reference" : "plateformes", + "reference" : "sites", "parentKeyColumn" : "nom du type de site", "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "plateformes", + "parentKeyColumn" : "nom du site", + "parentRecursiveKey" : null } ] }, "taxon" : { @@ -29358,17 +30284,6 @@ "parentKeyColumn" : null, "parentRecursiveKey" : "nom du taxon superieur" } ] - }, - "default_0" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "components" : [ { - "internationalizationName" : null, - "internationalizedColumns" : null, - "reference" : "sites", - "parentKeyColumn" : null, - "parentRecursiveKey" : null - } ] } }, "dataTypes" : { @@ -29472,13 +30387,14 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { "name" : "Date", "params" : { "pattern" : "dd/MM/yyyy", - "refType" : null, + "refType" : "peu_importe_refType_n_a_pas_de_sens", "groovy" : null, "duration" : null, "transformation" : { @@ -29489,6 +30405,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -29507,6 +30424,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -29525,6 +30443,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -29536,6 +30455,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -29553,6 +30473,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -29571,6 +30492,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -29578,6 +30500,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -29596,6 +30519,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -29614,6 +30538,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -29704,8 +30629,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -29715,8 +30640,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -29726,8 +30651,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -29737,8 +30662,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -29748,8 +30673,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -29775,32 +30700,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -29818,21 +30743,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidPatternForDateCheckerForValidationRuleInDataType" : { + "testMissingColumnInInternationalizationDisplayPattern" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "timeScopeVariableComponentPatternUnknown", + "message" : "invalidInternationalizedColumns", "messageParams" : { - "variable" : "date", - "component" : "day", - "pattern" : "dd/MM/YY", - "knownPatterns" : [ "MM/yyyy", "yyyy", "dd/MM/yyyy", "dd/MM/yyyy HH:mm:ss" ] + "reference" : "sites", + "unknownUsedAsInternationalizedColumns" : [ "nom du site" ], + "knownColumns" : [ "nom du type de site", "nom du site_key", "nom du site_fr", "nom du site_en", "description du site_fr", "description du site_en", "code sandre du Plan d'eau", "code sandre de la Masse d'eau plan d'eau" ] }, "error" : true, "success" : false @@ -29920,7 +30844,7 @@ "internationalizedDynamicColumns" : { }, "internationalizationDisplay" : { "pattern" : { - "fr" : "{nom du site_fr}", + "fr" : "{nom du site}", "en" : "{nom du site_en}" } }, @@ -30028,32 +30952,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -30073,7 +30997,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -30092,7 +31025,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -30114,7 +31056,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -30124,6 +31071,64 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "platform_type" : { @@ -30164,64 +31169,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "sites" : { - "internationalizationName" : { - "fr" : "Site", - "en" : "Site" - }, - "internationalizedColumns" : { - "nom du site_key" : { - "fr" : "nom du site_fr", - "en" : "nom du site_en" - }, - "description du site_fr" : { - "fr" : "description du site_fr", - "en" : "description du site_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du site_fr}", - "en" : "{nom du site_en}" - } - }, - "separator" : "\u0000", - "keyColumns" : [ "nom du site_key" ], - "columns" : { - "nom du type de site" : null, - "nom du site_key" : null, - "nom du site_fr" : null, - "nom du site_en" : null, - "description du site_fr" : null, - "description du site_en" : null, - "code sandre du Plan d'eau" : null, - "code sandre de la Masse d'eau plan d'eau" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -30238,6 +31185,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -30305,6 +31253,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -30419,6 +31368,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -30615,12 +31565,13 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { "name" : "Date", "params" : { - "pattern" : "dd/MM/YY", + "pattern" : "dd/MM/yyyy", "refType" : null, "groovy" : null, "duration" : null, @@ -30632,6 +31583,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -30650,6 +31602,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -30668,6 +31621,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -30679,6 +31633,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -30696,6 +31651,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -30714,6 +31670,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -30721,6 +31678,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -30739,6 +31697,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -30757,6 +31716,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -30847,8 +31807,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -30858,8 +31818,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -30869,8 +31829,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -30880,8 +31840,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -30891,8 +31851,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -30918,32 +31878,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -30961,18 +31921,29 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingReferenceInCompositereference" : { + "testEmptyFile" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingReferenceInCompositereference", + "message" : "emptyFile", + "messageParams" : { }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testNoCapturingGroupForDatatypeRepository" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "noCapturingGroupForDatatypeRepository", "messageParams" : { - "compositeReference" : "localizations" + "dataType" : "site" }, "error" : true, "success" : false @@ -31168,32 +32139,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -31213,7 +32184,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -31232,7 +32212,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -31254,7 +32243,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -31264,7 +32258,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -31304,6 +32298,25 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "sites" : { "internationalizationName" : { "fr" : "Site", @@ -31359,6 +32372,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -31385,25 +32399,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -31445,6 +32440,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -31559,6 +32555,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -31625,7 +32622,7 @@ "components" : [ { "internationalizationName" : null, "internationalizedColumns" : null, - "reference" : null, + "reference" : "typeSites", "parentKeyColumn" : null, "parentRecursiveKey" : null }, { @@ -31755,6 +32752,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -31772,6 +32770,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -31790,6 +32789,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -31808,6 +32808,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -31819,6 +32820,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -31836,6 +32838,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -31854,6 +32857,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -31861,6 +32865,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -31879,6 +32884,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -31897,6 +32903,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -31987,8 +32994,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -31998,8 +33005,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -32009,8 +33016,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -32020,8 +33027,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -32031,8 +33038,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -32058,39 +33065,39 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } } }, "repository" : { - "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", + "filePattern" : "toto.csv", "authorizationScope" : { "localization" : 1 }, @@ -32101,22 +33108,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingAggregationComponentForChart" : { + "testMissingParentColumnForReferenceInCompositeReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingAggregationComponentForChart", + "message" : "missingParentColumnForReferenceInCompositeReference", "messageParams" : { - "variable" : "Nombre d'individus", - "aggregationVariable" : "Couleur des individus", - "aggregationComponent" : "pasdevalue", - "dataType" : "site", - "components" : [ "value", "unit", "standardDeviation" ] + "compositeReference" : "localizations", + "reference" : "plateformes", + "parentKeyColumn" : "nom du type de site" }, "error" : true, "success" : false @@ -32312,32 +33317,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -32357,7 +33362,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -32376,7 +33390,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -32398,7 +33421,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -32408,7 +33436,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -32467,45 +33495,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "sites" : { - "internationalizationName" : { - "fr" : "Site", - "en" : "Site" - }, - "internationalizedColumns" : { - "nom du site_key" : { - "fr" : "nom du site_fr", - "en" : "nom du site_en" - }, - "description du site_fr" : { - "fr" : "description du site_fr", - "en" : "description du site_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du site_fr}", - "en" : "{nom du site_en}" - } - }, - "separator" : "\u0000", - "keyColumns" : [ "nom du site_key" ], - "columns" : { - "nom du type de site" : null, - "nom du site_key" : null, - "nom du site_fr" : null, - "nom du site_en" : null, - "description du site_fr" : null, - "description du site_en" : null, - "code sandre du Plan d'eau" : null, - "code sandre de la Masse d'eau plan d'eau" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -32522,6 +33511,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -32548,6 +33538,45 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -32589,6 +33618,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -32703,6 +33733,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -32772,17 +33803,11 @@ "reference" : "typeSites", "parentKeyColumn" : null, "parentRecursiveKey" : null - }, { - "internationalizationName" : null, - "internationalizedColumns" : null, - "reference" : "sites", - "parentKeyColumn" : "nom du type de site", - "parentRecursiveKey" : null }, { "internationalizationName" : null, "internationalizedColumns" : null, "reference" : "plateformes", - "parentKeyColumn" : "nom du site", + "parentKeyColumn" : "nom du type de site", "parentRecursiveKey" : null } ] }, @@ -32796,6 +33821,17 @@ "parentKeyColumn" : null, "parentRecursiveKey" : "nom du taxon superieur" } ] + }, + "default_0" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "sites", + "parentKeyColumn" : null, + "parentRecursiveKey" : null + } ] } }, "dataTypes" : { @@ -32899,6 +33935,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -32916,6 +33953,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -32934,6 +33972,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -32952,6 +33991,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -32963,6 +34003,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -32980,6 +34021,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -32998,6 +34040,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -33005,6 +34048,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -33015,14 +34059,15 @@ "value" : "value", "aggregation" : { "variable" : "Couleur des individus", - "component" : "pasdevalue", - "id" : "Couleur des individus_pasdevalue", + "component" : "value", + "id" : "Couleur des individus_value", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "unit" : "unit", "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -33041,6 +34086,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -33131,8 +34177,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -33142,8 +34188,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -33153,8 +34199,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -33164,8 +34210,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -33175,8 +34221,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -33202,32 +34248,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -33245,41 +34291,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testCsvBoundToUnknownVariableComponent" : { + "testInvalidPatternForDateCheckerForValidationRuleInDataType" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownUsedAsVariableComponentUniqueness", - "messageParams" : { - "dataType" : "site", - "unknownUsedAsVariableComponentUniqueness" : [ "localization_site" ], - "availableVariableComponents" : [ "Nombre d'individus_value", "date_time", "Nombre d'individus_unit", "Nombre d'individus_standardDeviation", "localization_typeSite", "date_day", "date_datetime", "localization_sites", "Couleur des individus_value" ] - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "authorizationVariableComponentKeyUnknownComponent", - "messageParams" : { - "variable" : "localization", - "component" : "site", - "knownComponents" : [ "sites", "typeSite" ] - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "csvBoundToUnknownVariableComponent", + "message" : "timeScopeVariableComponentPatternUnknown", "messageParams" : { - "header" : "site", - "variable" : "localization", - "component" : "site", - "components" : [ "sites", "typeSite" ] + "variable" : "date", + "component" : "day", + "pattern" : "dd/MM/YY", + "knownPatterns" : [ "MM/yyyy", "yyyy", "dd/MM/yyyy", "dd/MM/yyyy HH:mm:ss" ] }, "error" : true, "success" : false @@ -33475,32 +34501,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -33520,7 +34546,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -33539,7 +34574,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -33561,7 +34605,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -33571,6 +34620,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -33631,44 +34718,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -33685,6 +34734,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -33752,6 +34802,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -33866,6 +34917,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -34062,12 +35114,13 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { "name" : "Date", "params" : { - "pattern" : "dd/MM/yyyy", + "pattern" : "dd/MM/YY", "refType" : null, "groovy" : null, "duration" : null, @@ -34079,6 +35132,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -34097,6 +35151,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -34115,6 +35170,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -34126,8 +35182,9 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { - "sites" : { + "site" : { "checker" : { "name" : "Reference", "params" : { @@ -34143,6 +35200,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -34161,6 +35219,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -34168,6 +35227,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -34186,6 +35246,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -34204,6 +35265,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -34294,8 +35356,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -34305,8 +35367,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -34316,8 +35378,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -34327,8 +35389,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -34338,8 +35400,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -34365,32 +35427,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -34408,36 +35470,18 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testTimeScopeVariableComponentWrongChecker" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "invalidFormat", - "messageParams" : { - "columnNumber" : 21, - "value" : "Dates", - "path" : "dataTypes->site->data->date->components->day->checker->name", - "lineNumber" : 270, - "authorizedValues" : " [RegularExpression, GroovyExpression, Reference, Float, Integer, Date]" - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testMissingParamColumnReferenceForCheckerInReference" : { + "testMissingReferenceInCompositereference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingParamColumnReferenceForCheckerInReference", + "message" : "missingReferenceInCompositereference", "messageParams" : { - "reference" : "taxon", - "validationRuleDescriptionEntryKey" : "nom du taxon superieur" + "compositeReference" : "localizations" }, "error" : true, "success" : false @@ -34633,32 +35677,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -34678,7 +35722,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -34697,7 +35750,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -34719,7 +35781,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -34729,7 +35796,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -34769,25 +35836,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "sites" : { "internationalizationName" : { "fr" : "Site", @@ -34843,6 +35891,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -34869,6 +35918,25 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -34910,6 +35978,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -35024,6 +36093,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -35076,7 +36146,7 @@ "multiplicity" : "ONE" } }, - "columns" : null + "columns" : [ "nom du taxon superieur" ] } }, "allowUnexpectedColumns" : false, @@ -35090,7 +36160,7 @@ "components" : [ { "internationalizationName" : null, "internationalizedColumns" : null, - "reference" : "typeSites", + "reference" : null, "parentKeyColumn" : null, "parentRecursiveKey" : null }, { @@ -35220,6 +36290,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -35237,6 +36308,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -35255,6 +36327,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -35273,6 +36346,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -35284,6 +36358,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -35301,6 +36376,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -35319,6 +36395,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -35326,6 +36403,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -35344,6 +36422,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -35362,6 +36441,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -35452,8 +36532,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -35463,8 +36543,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -35474,8 +36554,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -35485,8 +36565,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -35496,8 +36576,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -35523,32 +36603,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -35566,20 +36646,22 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnknownReferenceInInternationalizationDisplayPatternInDatatype" : { + "testMissingAggregationComponentForChart" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownReferenceInDatatypeReferenceDisplay", + "message" : "missingAggregationComponentForChart", "messageParams" : { + "variable" : "Nombre d'individus", + "aggregationVariable" : "Couleur des individus", + "aggregationComponent" : "pasdevalue", "dataType" : "site", - "reference" : "plateforme", - "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + "components" : [ "value", "unit", "standardDeviation" ] }, "error" : true, "success" : false @@ -35775,38 +36857,38 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } }, "internationalizationDisplay" : { - "plateforme" : { + "sites" : { "pattern" : { "fr" : "le nom du site {nom du site_fr}", "en" : "the very good place {nom du site_en}" @@ -35820,7 +36902,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -35839,7 +36930,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -35861,7 +36961,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -35871,7 +36976,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -35985,6 +37090,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -36052,6 +37158,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -36166,6 +37273,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -36269,7 +37377,7 @@ }, "internationalizedColumns" : null, "internationalizationDisplays" : { - "plateforme" : { + "sites" : { "pattern" : { "fr" : "le nom du site {nom du site_fr}", "en" : "the very good place {nom du site_en}" @@ -36362,6 +37470,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -36379,6 +37488,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -36397,6 +37507,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -36415,6 +37526,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -36426,6 +37538,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -36443,6 +37556,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -36461,6 +37575,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -36468,6 +37583,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -36478,14 +37594,15 @@ "value" : "value", "aggregation" : { "variable" : "Couleur des individus", - "component" : "value", - "id" : "Couleur des individus_value", + "component" : "pasdevalue", + "id" : "Couleur des individus_pasdevalue", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "unit" : "unit", "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -36504,6 +37621,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -36594,8 +37712,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -36605,8 +37723,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -36616,8 +37734,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -36627,8 +37745,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -36638,8 +37756,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -36665,32 +37783,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -36708,19 +37826,41 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testRequiredReferenceInCompositeReferenceForParentKeyColumn" : { + "testCsvBoundToUnknownVariableComponent" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "requiredReferenceInCompositeReferenceForParentKeyColumn", + "message" : "unknownUsedAsVariableComponentUniqueness", "messageParams" : { - "compositeReference" : "localizations", - "parentKeyColumn" : "nom du type de site" + "dataType" : "site", + "unknownUsedAsVariableComponentUniqueness" : [ "localization_site" ], + "availableVariableComponents" : [ "Nombre d'individus_value", "date_time", "Nombre d'individus_unit", "Nombre d'individus_standardDeviation", "localization_typeSite", "date_day", "date_datetime", "localization_sites", "Couleur des individus_value" ] + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "authorizationVariableComponentKeyUnknownComponent", + "messageParams" : { + "variable" : "localization", + "component" : "site", + "knownComponents" : [ "sites", "typeSite" ] + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "csvBoundToUnknownVariableComponent", + "messageParams" : { + "header" : "site", + "variable" : "localization", + "component" : "site", + "components" : [ "sites", "typeSite" ] }, "error" : true, "success" : false @@ -36916,32 +38056,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -36961,7 +38101,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -36980,7 +38129,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -37002,7 +38160,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -37012,46 +38175,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "sites" : { - "internationalizationName" : { - "fr" : "Site", - "en" : "Site" - }, - "internationalizedColumns" : { - "nom du site_key" : { - "fr" : "nom du site_fr", - "en" : "nom du site_en" - }, - "description du site_fr" : { - "fr" : "description du site_fr", - "en" : "description du site_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du site_fr}", - "en" : "{nom du site_en}" - } - }, - "separator" : "\u0000", - "keyColumns" : [ "nom du site_key" ], - "columns" : { - "nom du type de site" : null, - "nom du site_key" : null, - "nom du site_fr" : null, - "nom du site_en" : null, - "description du site_fr" : null, - "description du site_en" : null, - "code sandre du Plan d'eau" : null, - "code sandre de la Masse d'eau plan d'eau" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -37091,6 +38215,64 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -37107,6 +38289,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -37133,25 +38316,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -37193,6 +38357,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -37307,6 +38472,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -37371,6 +38537,12 @@ "internationalizationName" : null, "internationalizedColumns" : null, "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "typeSites", + "parentKeyColumn" : null, + "parentRecursiveKey" : null + }, { "internationalizationName" : null, "internationalizedColumns" : null, "reference" : "sites", @@ -37497,6 +38669,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -37514,6 +38687,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -37532,6 +38706,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -37550,6 +38725,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -37561,8 +38737,9 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { - "site" : { + "sites" : { "checker" : { "name" : "Reference", "params" : { @@ -37578,6 +38755,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -37596,6 +38774,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -37603,6 +38782,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -37621,6 +38801,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -37639,6 +38820,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -37729,8 +38911,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -37740,8 +38922,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -37751,8 +38933,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -37762,8 +38944,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -37773,8 +38955,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -37800,32 +38982,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -37843,20 +39025,36 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidCapturingGroupForDatatypeRepositoryAuthorizationScope2" : { + "testTimeScopeVariableComponentWrongChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidCapturingGroupForStartDateDatatypeRepositoryDate", + "message" : "invalidFormat", "messageParams" : { - "token" : -1, - "countGroups" : 4, - "dataType" : "site" + "path" : "dataTypes->site->data->date->components->day->checker->name", + "lineNumber" : 281, + "authorizedValues" : " [RegularExpression, GroovyExpression, Reference, Float, Integer, Date]", + "columnNumber" : 21, + "value" : "Dates" + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testMissingParamColumnReferenceForCheckerInReference" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingParamColumnReferenceForCheckerInReference", + "messageParams" : { + "reference" : "taxon", + "validationRuleDescriptionEntryKey" : "nom du taxon superieur" }, "error" : true, "success" : false @@ -38052,32 +39250,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -38097,7 +39295,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -38116,7 +39323,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -38138,7 +39354,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -38148,7 +39369,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -38262,6 +39483,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -38329,6 +39551,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -38443,6 +39666,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -38495,7 +39719,7 @@ "multiplicity" : "ONE" } }, - "columns" : [ "nom du taxon superieur" ] + "columns" : null } }, "allowUnexpectedColumns" : false, @@ -38639,6 +39863,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -38656,6 +39881,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -38674,6 +39900,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -38692,6 +39919,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -38703,6 +39931,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -38720,6 +39949,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -38738,6 +39968,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -38745,6 +39976,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -38763,6 +39995,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -38781,6 +40014,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -38871,8 +40105,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -38882,8 +40116,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -38893,8 +40127,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -38904,8 +40138,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -38915,8 +40149,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -38942,32 +40176,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -38979,28 +40213,26 @@ "localization" : 1 }, "startDate" : { - "token" : -1 + "token" : 3 }, "endDate" : { "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnknownReferenceForCheckerInDataType" : { + "testUnknownReferenceInInternationalizationDisplayPatternInDatatype" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownReferenceForChecker", + "message" : "unknownReferenceInDatatypeReferenceDisplay", "messageParams" : { "dataType" : "site", - "datum" : "localization", - "refType" : "typeSite", - "component" : "typeSite", - "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + "reference" : "plateforme", + "references" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -39196,38 +40428,38 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } }, "internationalizationDisplay" : { - "sites" : { + "plateforme" : { "pattern" : { "fr" : "le nom du site {nom du site_fr}", "en" : "the very good place {nom du site_en}" @@ -39241,7 +40473,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -39260,7 +40501,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -39282,7 +40532,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -39292,45 +40547,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -39390,6 +40607,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -39406,6 +40661,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -39473,6 +40729,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -39587,6 +40844,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -39690,7 +40948,7 @@ }, "internationalizedColumns" : null, "internationalizationDisplays" : { - "sites" : { + "plateforme" : { "pattern" : { "fr" : "le nom du site {nom du site_fr}", "en" : "the very good place {nom du site_en}" @@ -39783,6 +41041,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -39800,6 +41059,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -39818,6 +41078,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -39836,6 +41097,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -39847,6 +41109,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -39864,6 +41127,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -39871,7 +41135,7 @@ "name" : "Reference", "params" : { "pattern" : null, - "refType" : "typeSite", + "refType" : "typeSites", "groovy" : null, "duration" : null, "transformation" : { @@ -39882,6 +41146,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -39889,6 +41154,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -39907,6 +41173,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -39925,6 +41192,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -40015,8 +41283,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -40026,8 +41294,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -40037,8 +41305,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -40048,8 +41316,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -40059,8 +41327,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -40086,32 +41354,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -40129,20 +41397,19 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testCsvBoundToUnknownVariable" : { + "testRequiredReferenceInCompositeReferenceForParentKeyColumn" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "csvBoundToUnknownVariable", + "message" : "requiredReferenceInCompositeReferenceForParentKeyColumn", "messageParams" : { - "header" : "typeSite", - "variable" : "localizations", - "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] + "compositeReference" : "localizations", + "parentKeyColumn" : "nom du type de site" }, "error" : true, "success" : false @@ -40338,32 +41605,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -40383,7 +41650,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -40402,7 +41678,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -40424,7 +41709,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -40434,7 +41724,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -40474,25 +41764,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "sites" : { "internationalizationName" : { "fr" : "Site", @@ -40548,6 +41819,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -40574,6 +41846,25 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -40615,6 +41906,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -40729,6 +42021,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -40793,12 +42086,6 @@ "internationalizationName" : null, "internationalizedColumns" : null, "components" : [ { - "internationalizationName" : null, - "internationalizedColumns" : null, - "reference" : "typeSites", - "parentKeyColumn" : null, - "parentRecursiveKey" : null - }, { "internationalizationName" : null, "internationalizedColumns" : null, "reference" : "sites", @@ -40846,9 +42133,9 @@ "columns" : [ { "header" : "typeSite", "boundTo" : { - "variable" : "localizations", + "variable" : "localization", "component" : "typeSite", - "id" : "localizations_typeSite", + "id" : "localization_typeSite", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "presenceConstraint" : "MANDATORY" @@ -40925,6 +42212,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -40942,6 +42230,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -40960,6 +42249,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -40978,6 +42268,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -40989,6 +42280,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -41006,6 +42298,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -41024,6 +42317,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -41031,6 +42325,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -41049,6 +42344,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -41067,6 +42363,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -41157,8 +42454,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -41168,8 +42465,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -41179,8 +42476,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -41190,8 +42487,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -41201,8 +42498,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -41228,32 +42525,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -41271,47 +42568,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testIllegalCheckerConfigurationParameterForReferenceColumnChecker" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "unrecognizedProperty", - "messageParams" : { - "lineNumber" : 81, - "columnNumber" : 36, - "unknownPropertyName" : "refTypes", - "knownProperties" : [ "pattern", "duration", "transformation", "refType", "groovy", "required", "multiplicity" ] - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testMissingReferenceForChecker" : { + "testInvalidCapturingGroupForDatatypeRepositoryAuthorizationScope2" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingReferenceForChecker", - "messageParams" : { - "dataType" : "site", - "datum" : "localization", - "component" : "site", - "references" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "authorizationScopeVariableComponentReftypeNull", + "message" : "invalidCapturingGroupForStartDateDatatypeRepositoryDate", "messageParams" : { - "variable" : "localization", - "component" : "site", - "knownPatterns" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] + "token" : -1, + "countGroups" : 4, + "dataType" : "site" }, "error" : true, "success" : false @@ -41507,32 +42777,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -41552,7 +42822,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -41571,7 +42850,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -41593,7 +42881,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -41603,7 +42896,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -41717,6 +43010,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -41784,6 +43078,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -41898,6 +43193,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -42094,6 +43390,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -42111,6 +43408,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -42129,6 +43427,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -42147,6 +43446,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -42158,12 +43458,25 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { "name" : "Reference", - "params" : null + "params" : { + "pattern" : null, + "refType" : "sites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -42182,6 +43495,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -42189,6 +43503,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -42207,6 +43522,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -42225,6 +43541,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -42315,8 +43632,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -42326,8 +43643,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -42337,8 +43654,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -42348,8 +43665,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -42359,8 +43676,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -42386,32 +43703,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -42423,26 +43740,28 @@ "localization" : 1 }, "startDate" : { - "token" : 3 + "token" : -1 }, "endDate" : { "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnknownReferenceInCompositeReference" : { + "testUnknownReferenceForCheckerInDataType" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownReferenceInCompositeReference", + "message" : "unknownReferenceForChecker", "messageParams" : { - "compositeReference" : "localizations", - "unknownReferences" : [ "typeDeSites" ], - "references" : [ "projets", "platform_type", "sites", "plateformes", "typeSites", "units", "proprietes_taxon", "taxon" ] + "dataType" : "site", + "datum" : "localization", + "refType" : "typeSite", + "component" : "typeSite", + "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -42638,32 +43957,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -42683,7 +44002,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -42702,7 +44030,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -42724,7 +44061,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -42734,6 +44076,63 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "sites" : { @@ -42775,44 +44174,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -42829,6 +44190,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -42855,25 +44217,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -42915,6 +44258,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -43029,6 +44373,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -43095,7 +44440,7 @@ "components" : [ { "internationalizationName" : null, "internationalizedColumns" : null, - "reference" : "typeDeSites", + "reference" : "typeSites", "parentKeyColumn" : null, "parentRecursiveKey" : null }, { @@ -43225,6 +44570,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -43242,6 +44588,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -43260,6 +44607,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -43278,6 +44626,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -43289,6 +44638,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -43306,6 +44656,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -43313,7 +44664,7 @@ "name" : "Reference", "params" : { "pattern" : null, - "refType" : "typeSites", + "refType" : "typeSite", "groovy" : null, "duration" : null, "transformation" : { @@ -43324,6 +44675,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -43331,6 +44683,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -43349,6 +44702,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -43367,6 +44721,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -43457,8 +44812,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -43468,8 +44823,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -43479,8 +44834,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -43490,8 +44845,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -43501,8 +44856,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -43528,32 +44883,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -43571,20 +44926,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testRequiredParentKeyColumnInCompositeReferenceForReference" : { + "testCsvBoundToUnknownVariable" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "requiredParentKeyColumnInCompositeReferenceForReference", + "message" : "csvBoundToUnknownVariable", "messageParams" : { - "compositeReference" : "localizations", - "reference" : "sites", - "referenceTo" : "typeSites" + "header" : "typeSite", + "variable" : "localizations", + "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ] }, "error" : true, "success" : false @@ -43780,32 +45135,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -43825,7 +45180,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -43844,7 +45208,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -43866,7 +45239,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -43876,7 +45254,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -43990,6 +45368,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -44057,6 +45436,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -44171,6 +45551,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -44244,7 +45625,7 @@ "internationalizationName" : null, "internationalizedColumns" : null, "reference" : "sites", - "parentKeyColumn" : null, + "parentKeyColumn" : "nom du type de site", "parentRecursiveKey" : null }, { "internationalizationName" : null, @@ -44288,9 +45669,9 @@ "columns" : [ { "header" : "typeSite", "boundTo" : { - "variable" : "localization", + "variable" : "localizations", "component" : "typeSite", - "id" : "localization_typeSite", + "id" : "localizations_typeSite", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "presenceConstraint" : "MANDATORY" @@ -44367,6 +45748,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -44384,6 +45766,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -44402,6 +45785,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -44420,6 +45804,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -44431,6 +45816,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -44448,6 +45834,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -44466,6 +45853,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -44473,6 +45861,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -44491,6 +45880,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -44509,6 +45899,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -44599,8 +45990,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -44610,8 +46001,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -44621,8 +46012,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -44632,8 +46023,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -44643,8 +46034,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -44670,32 +46061,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -44713,20 +46104,47 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testTimeVariableComponentKeyMissingComponent" : { + "testIllegalCheckerConfigurationParameterForReferenceColumnChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "timeVariableComponentKeyMissingComponent", + "message" : "unrecognizedProperty", + "messageParams" : { + "lineNumber" : 91, + "columnNumber" : 36, + "unknownPropertyName" : "refTypes", + "knownProperties" : [ "pattern", "duration", "transformation", "refType", "groovy", "required", "multiplicity" ] + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testMissingReferenceForChecker" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingReferenceForChecker", "messageParams" : { "dataType" : "site", - "variable" : "date", - "knownComponents" : [ "day", "time", "datetime" ] + "datum" : "localization", + "component" : "site", + "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "authorizationScopeVariableComponentReftypeNull", + "messageParams" : { + "variable" : "localization", + "component" : "site", + "knownPatterns" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -44922,32 +46340,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -44967,7 +46385,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -44986,7 +46413,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -45008,7 +46444,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -45018,7 +46459,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -45132,6 +46573,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -45199,6 +46641,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -45313,6 +46756,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -45509,6 +46953,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -45526,6 +46971,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -45544,6 +46990,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -45562,6 +47009,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -45573,23 +47021,14 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { "name" : "Reference", - "params" : { - "pattern" : null, - "refType" : "sites", - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } + "params" : null }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -45608,6 +47047,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -45615,6 +47055,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -45633,6 +47074,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -45651,6 +47093,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -45706,8 +47149,8 @@ "authorization" : { "timeScope" : { "variable" : "date", - "component" : null, - "id" : "date_null", + "component" : "day", + "id" : "date_day", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "authorizationScopes" : { @@ -45741,8 +47184,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -45752,8 +47195,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -45763,8 +47206,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -45774,8 +47217,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -45785,8 +47228,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -45812,32 +47255,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -45855,25 +47298,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testIllegalGroovyExpression" : { + "testUnknownReferenceInCompositeReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "illegalGroovyExpressionForValidationRuleInDataType", + "message" : "unknownReferenceInCompositeReference", "messageParams" : { - "lineValidationRuleKey" : "exempledeDeRegleDeValidation", - "dataType" : "site", - "expression" : "if(}", - "compilationError" : { - "lineNumber" : -1, - "columnNumber" : -1, - "message" : "startup failed:\nScript32.groovy: 1: unexpected token: } @ line 1, column 4.\n if(}\n ^\n\n1 error\n" - } + "compositeReference" : "localizations", + "unknownReferences" : [ "typeDeSites" ], + "references" : [ "projets", "platform_type", "sites", "plateformes", "typeSites", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -46069,32 +47507,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -46114,7 +47552,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -46133,7 +47580,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -46155,7 +47611,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -46165,26 +47626,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "sites" : { "internationalizationName" : { @@ -46279,6 +47721,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -46305,6 +47748,25 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "units" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -46346,6 +47808,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -46460,6 +47923,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -46526,7 +47990,7 @@ "components" : [ { "internationalizationName" : null, "internationalizedColumns" : null, - "reference" : "typeSites", + "reference" : "typeDeSites", "parentKeyColumn" : null, "parentRecursiveKey" : null }, { @@ -46656,6 +48120,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -46673,6 +48138,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -46691,6 +48157,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -46709,6 +48176,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -46720,6 +48188,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -46737,6 +48206,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -46755,6 +48225,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -46762,6 +48233,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -46780,6 +48252,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -46798,6 +48271,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -46817,7 +48291,7 @@ "pattern" : null, "refType" : null, "groovy" : { - "expression" : "if(}", + "expression" : "true", "references" : [ ], "datatypes" : [ ] }, @@ -46888,8 +48362,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -46899,8 +48373,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -46910,8 +48384,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -46921,8 +48395,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -46932,8 +48406,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -46959,32 +48433,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -47002,22 +48476,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingColumnReferenceForCheckerInReference" : { + "testRequiredParentKeyColumnInCompositeReferenceForReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingColumnReferenceForCheckerInReference", + "message" : "requiredParentKeyColumnInCompositeReferenceForReference", "messageParams" : { + "compositeReference" : "localizations", "reference" : "sites", - "validationRuleDescriptionEntryKey" : "typeSitesRef", - "knownColumns" : [ "nom du type de site", "nom du site_key", "nom du site_fr", "nom du site_en", "description du site_fr", "description du site_en", "code sandre du Plan d'eau", "code sandre de la Masse d'eau plan d'eau" ], - "checkerName" : "Reference", - "missingColumns" : [ "nom_key" ] + "referenceTo" : "typeSites" }, "error" : true, "success" : false @@ -47109,11 +48581,7 @@ "en" : "{nom du site_en}" } }, - "internationalizedValidations" : { - "typeSitesRef" : { - "fr" : "référence au type de site" - } - }, + "internationalizedValidations" : { }, "internationalizedTags" : null }, "proprietes_taxon" : { @@ -47217,32 +48685,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -47262,7 +48730,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -47281,7 +48758,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -47303,7 +48789,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -47313,45 +48804,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -47407,30 +48860,45 @@ }, "computedColumns" : { }, "dynamicColumns" : { }, - "validations" : { - "typeSitesRef" : { - "internationalizationName" : { - "fr" : "référence au type de site" - }, - "internationalizedColumns" : null, - "checker" : { - "name" : "Reference", - "params" : { - "pattern" : null, - "refType" : "typeSites", - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, - "columns" : [ "nom_key" ] + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" } }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, "allowUnexpectedColumns" : false, "tags" : [ ] }, @@ -47450,6 +48918,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -47517,6 +48986,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -47631,6 +49101,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -47704,7 +49175,7 @@ "internationalizationName" : null, "internationalizedColumns" : null, "reference" : "sites", - "parentKeyColumn" : "nom du type de site", + "parentKeyColumn" : null, "parentRecursiveKey" : null }, { "internationalizationName" : null, @@ -47827,6 +49298,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -47844,6 +49316,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -47862,6 +49335,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -47880,6 +49354,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -47891,6 +49366,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -47908,6 +49384,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -47926,6 +49403,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -47933,6 +49411,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -47951,6 +49430,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -47969,6 +49449,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -48059,8 +49540,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -48070,8 +49551,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -48081,8 +49562,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -48092,8 +49573,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -48103,8 +49584,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -48130,32 +49611,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -48173,19 +49654,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testVariableInMultipleDataGroup" : { + "testTimeVariableComponentKeyMissingComponent" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "variableInMultipleDataGroup", + "message" : "timeVariableComponentKeyMissingComponent", "messageParams" : { - "variable" : "localization", - "dataType" : "site" + "dataType" : "site", + "variable" : "date", + "knownComponents" : [ "day", "time", "datetime" ] }, "error" : true, "success" : false @@ -48381,32 +49863,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -48426,7 +49908,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -48445,7 +49936,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -48467,7 +49967,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -48477,45 +49982,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -48575,6 +50042,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -48591,6 +50096,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -48658,6 +50164,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -48772,6 +50279,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -48968,6 +50476,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -48985,6 +50494,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -49003,6 +50513,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -49021,6 +50532,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -49032,6 +50544,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -49049,6 +50562,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -49067,6 +50581,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -49074,6 +50589,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -49092,6 +50608,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -49110,6 +50627,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -49165,8 +50683,8 @@ "authorization" : { "timeScope" : { "variable" : "date", - "component" : "day", - "id" : "date_day", + "component" : null, + "id" : "date_null", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "authorizationScopes" : { @@ -49194,14 +50712,14 @@ "internationalizationName" : null, "internationalizedColumns" : null, "label" : "Données qualitatives", - "data" : [ "localization", "Nombre d'individus", "Couleur des individus" ] + "data" : [ "Nombre d'individus", "Couleur des individus" ] } }, "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -49211,8 +50729,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -49222,8 +50740,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -49233,8 +50751,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -49244,8 +50762,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -49271,32 +50789,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -49314,21 +50832,25 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidPatternForVariableComponentDateChecker" : { + "testIllegalGroovyExpression" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidPatternForVariableComponentDateChecker", + "message" : "illegalGroovyExpressionForValidationRuleInDataType", "messageParams" : { + "lineValidationRuleKey" : "exempledeDeRegleDeValidation", "dataType" : "site", - "variable" : "date", - "component" : "time", - "pattern" : "coucou" + "expression" : "if(}", + "compilationError" : { + "lineNumber" : -1, + "columnNumber" : -1, + "message" : "startup failed:\nScript4.groovy: 1: unexpected token: } @ line 1, column 4.\n if(}\n ^\n\n1 error\n" + } }, "error" : true, "success" : false @@ -49524,32 +51046,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -49569,7 +51091,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -49588,7 +51119,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -49610,7 +51150,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -49620,6 +51165,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -49680,44 +51263,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -49734,6 +51279,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -49801,6 +51347,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -49915,6 +51462,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -50111,6 +51659,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -50128,13 +51677,14 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { "checker" : { "name" : "Date", "params" : { - "pattern" : "coucou", + "pattern" : "HH:mm:ss", "refType" : null, "groovy" : null, "duration" : null, @@ -50146,6 +51696,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -50164,6 +51715,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -50175,6 +51727,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -50192,6 +51745,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -50210,6 +51764,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -50217,6 +51772,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -50235,6 +51791,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -50253,6 +51810,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -50272,7 +51830,7 @@ "pattern" : null, "refType" : null, "groovy" : { - "expression" : "true", + "expression" : "if(}", "references" : [ ], "datatypes" : [ ] }, @@ -50343,8 +51901,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -50354,8 +51912,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -50365,8 +51923,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -50376,8 +51934,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -50387,8 +51945,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -50414,32 +51972,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -50457,18 +52015,22 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidPatternForDatatypeRepository" : { + "testMissingColumnReferenceForCheckerInReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidPatternForDatatypeRepository", + "message" : "missingColumnReferenceForCheckerInReference", "messageParams" : { - "dataType" : "site" + "reference" : "sites", + "validationRuleDescriptionEntryKey" : "typeSitesRef", + "knownColumns" : [ "nom du type de site", "nom du site_key", "nom du site_fr", "nom du site_en", "description du site_fr", "description du site_en", "code sandre du Plan d'eau", "code sandre de la Masse d'eau plan d'eau" ], + "checkerName" : "Reference", + "missingColumns" : [ "nom_key" ] }, "error" : true, "success" : false @@ -50560,7 +52122,11 @@ "en" : "{nom du site_en}" } }, - "internationalizedValidations" : { }, + "internationalizedValidations" : { + "typeSitesRef" : { + "fr" : "référence au type de site" + } + }, "internationalizedTags" : null }, "proprietes_taxon" : { @@ -50664,32 +52230,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -50709,7 +52275,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -50728,7 +52303,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -50750,7 +52334,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -50760,45 +52349,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -50854,6 +52405,67 @@ }, "computedColumns" : { }, "dynamicColumns" : { }, + "validations" : { + "typeSitesRef" : { + "internationalizationName" : { + "fr" : "référence au type de site" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "typeSites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom_key" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, "tags" : [ ] @@ -50874,6 +52486,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -50941,6 +52554,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -51055,6 +52669,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -51251,6 +52866,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -51268,6 +52884,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -51286,6 +52903,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -51304,6 +52922,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -51315,6 +52934,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -51332,6 +52952,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -51350,6 +52971,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -51357,6 +52979,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -51375,6 +52998,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -51393,6 +53017,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -51483,8 +53108,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -51494,8 +53119,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -51505,8 +53130,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -51516,8 +53141,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -51527,8 +53152,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -51554,39 +53179,39 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } } }, "repository" : { - "filePattern" : "(.*)_(.*)_(.*)_((.*).csv", + "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", "authorizationScope" : { "localization" : 1 }, @@ -51597,37 +53222,19 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnknownCheckerName" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "invalidFormat", - "messageParams" : { - "columnNumber" : 17, - "value" : "GroovyExpressions", - "path" : "dataTypes->site->validations->exempledeDeRegleDeValidation->checker->name", - "lineNumber" : 325, - "authorizedValues" : " [RegularExpression, GroovyExpression, Reference, Float, Integer, Date]" - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testTimeVariableComponentKeyUnknownComponent" : { + "testVariableInMultipleDataGroup" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "timeVariableComponentKeyUnknownComponent", + "message" : "variableInMultipleDataGroup", "messageParams" : { - "variable" : "date", - "component" : "days", - "knownComponents" : [ "day", "time", "datetime" ] + "variable" : "localization", + "dataType" : "site" }, "error" : true, "success" : false @@ -51823,32 +53430,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -51868,7 +53475,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -51887,7 +53503,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -51909,7 +53534,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -51919,6 +53549,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -51979,44 +53647,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -52033,6 +53663,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -52100,6 +53731,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -52214,6 +53846,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -52410,6 +54043,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -52427,6 +54061,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -52445,6 +54080,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -52463,6 +54099,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -52474,6 +54111,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -52491,6 +54129,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -52509,6 +54148,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -52516,6 +54156,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -52534,6 +54175,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -52552,6 +54194,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -52607,8 +54250,8 @@ "authorization" : { "timeScope" : { "variable" : "date", - "component" : "days", - "id" : "date_days", + "component" : "day", + "id" : "date_day", "type" : "PARAM_VARIABLE_COMPONENT_KEY" }, "authorizationScopes" : { @@ -52636,14 +54279,14 @@ "internationalizationName" : null, "internationalizedColumns" : null, "label" : "Données qualitatives", - "data" : [ "Nombre d'individus", "Couleur des individus" ] + "data" : [ "localization", "Nombre d'individus", "Couleur des individus" ] } }, "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -52653,8 +54296,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -52664,8 +54307,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -52675,8 +54318,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -52686,8 +54329,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -52713,32 +54356,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -52756,21 +54399,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testAuthorizationVariableComponentKeyMissingComponent" : { + "testInvalidPatternForVariableComponentDateChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "authorizationVariableComponentKeyMissingComponent", + "message" : "invalidPatternForVariableComponentDateChecker", "messageParams" : { "dataType" : "site", - "authorizationName" : "localization", - "variable" : "localization", - "knownComponents" : [ "site", "typeSite" ] + "variable" : "date", + "component" : "time", + "pattern" : "coucou" }, "error" : true, "success" : false @@ -52966,32 +54609,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -53011,7 +54654,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -53030,7 +54682,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -53052,7 +54713,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -53062,65 +54728,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "sites" : { - "internationalizationName" : { - "fr" : "Site", - "en" : "Site" - }, - "internationalizedColumns" : { - "nom du site_key" : { - "fr" : "nom du site_fr", - "en" : "nom du site_en" - }, - "description du site_fr" : { - "fr" : "description du site_fr", - "en" : "description du site_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du site_fr}", - "en" : "{nom du site_en}" - } - }, - "separator" : "\u0000", - "keyColumns" : [ "nom du site_key" ], - "columns" : { - "nom du type de site" : null, - "nom du site_key" : null, - "nom du site_fr" : null, - "nom du site_en" : null, - "description du site_fr" : null, - "description du site_en" : null, - "code sandre du Plan d'eau" : null, - "code sandre de la Masse d'eau plan d'eau" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -53160,6 +54768,64 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -53176,6 +54842,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -53243,6 +54910,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -53357,6 +55025,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -53553,6 +55222,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -53570,13 +55240,14 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { "checker" : { "name" : "Date", "params" : { - "pattern" : "HH:mm:ss", + "pattern" : "coucou", "refType" : null, "groovy" : null, "duration" : null, @@ -53588,6 +55259,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -53606,6 +55278,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -53617,6 +55290,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -53634,6 +55308,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -53652,6 +55327,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -53659,6 +55335,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -53677,6 +55354,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -53695,6 +55373,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -53759,11 +55438,11 @@ "internationalizationName" : null, "internationalizedColumns" : null, "variable" : "localization", - "component" : null, + "component" : "site", "variableComponentKey" : { "variable" : "localization", - "component" : null, - "id" : "localization_null", + "component" : "site", + "id" : "localization_site", "type" : "PARAM_VARIABLE_COMPONENT_KEY" } } @@ -53785,8 +55464,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -53796,8 +55475,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -53807,8 +55486,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -53818,8 +55497,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -53829,8 +55508,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -53856,32 +55535,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -53899,32 +55578,18 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testAuthorizationScopeVariableComponentWrongChecker" : { + "testInvalidPatternForDatatypeRepository" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "illegalCheckerConfigurationParameterForVariableComponentChecker", - "messageParams" : { - "dataType" : "site", - "datum" : "localization", - "component" : "site", - "checkerName" : "Integer", - "parameterName" : "refType" - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "authorizationScopeVariableComponentWrongChecker", + "message" : "invalidPatternForDatatypeRepository", "messageParams" : { - "variable" : "localization", - "component" : "site", - "expectedChecker" : "Date" + "dataType" : "site" }, "error" : true, "success" : false @@ -54120,32 +55785,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -54165,7 +55830,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -54184,7 +55858,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -54206,7 +55889,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -54216,6 +55904,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -54276,44 +56002,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -54330,6 +56018,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -54397,6 +56086,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -54511,6 +56201,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -54707,6 +56398,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -54724,6 +56416,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -54742,6 +56435,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -54760,6 +56454,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -54771,10 +56466,11 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { - "name" : "Integer", + "name" : "Reference", "params" : { "pattern" : null, "refType" : "sites", @@ -54788,6 +56484,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -54806,6 +56503,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -54813,6 +56511,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -54831,6 +56530,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -54849,6 +56549,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -54939,8 +56640,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -54950,8 +56651,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -54961,8 +56662,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -54972,8 +56673,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -54983,8 +56684,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -55010,39 +56711,39 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } } }, "repository" : { - "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", + "filePattern" : "(.*)_(.*)_(.*)_((.*).csv", "authorizationScope" : { "localization" : 1 }, @@ -55053,21 +56754,37 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testauthorizationScopeMissingReferenceCheckerForAuthorizationScope" : { + "testUnknownCheckerName" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "authorizationScopeMissingReferenceCheckerForAuthorizationScope", + "message" : "invalidFormat", "messageParams" : { - "authorizationScopeName" : "localization", - "variable" : "localization", - "component" : "site", - "dataType" : "site" + "path" : "dataTypes->site->validations->exempledeDeRegleDeValidation->checker->name", + "lineNumber" : 338, + "authorizedValues" : " [RegularExpression, GroovyExpression, Reference, Float, Integer, Date]", + "columnNumber" : 17, + "value" : "GroovyExpressions" + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testTimeVariableComponentKeyUnknownComponent" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "timeVariableComponentKeyUnknownComponent", + "messageParams" : { + "variable" : "date", + "component" : "days", + "knownComponents" : [ "day", "time", "datetime" ] }, "error" : true, "success" : false @@ -55263,32 +56980,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -55308,7 +57025,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -55327,7 +57053,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -55349,7 +57084,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -55359,6 +57099,64 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "platform_type" : { @@ -55399,6 +57197,4644 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom de la plateforme_key" ], + "columns" : { + "nom de la plateforme_key" : null, + "nom du site" : null, + "nom de la plateforme_fr" : null, + "nom de la plateforme_en" : null, + "latitude" : null, + "longitude" : null, + "altitude" : null, + "nom du type de plateforme" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "platform_type", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : ";", + "keyColumns" : [ "name" ], + "columns" : { + "name" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom de la propriété_key" ], + "columns" : { + "Date" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "nom de la propriété_key" : null, + "nom de la propriété_fr" : null, + "nom de la propriété_en" : null, + "définition_fr" : null, + "définition_en" : null, + "isFloatValue" : null, + "isQualitative" : null, + "type associé" : null, + "ordre d'affichage" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { + "floats" : { + "internationalizationName" : { + "fr" : "les décimaux" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Float", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "isFloatValue" ] + }, + "integer" : { + "internationalizationName" : { + "fr" : "les entiers" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Integer", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "ordre d'affichage" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du taxon déterminé" ], + "columns" : { + "nom du taxon déterminé" : null, + "theme" : null, + "nom du niveau de taxon" : null, + "nom du taxon superieur" : null, + "code sandre du taxon" : null, + "code sandre du taxon supérieur" : null, + "niveau incertitude de détermination" : null, + "Auteur de la description" : null, + "Année de la description" : null, + "Référence de la description" : null, + "Références relatives à ce taxon" : null, + "Synonyme ancien" : null, + "Synonyme récent" : null, + "Classe algale sensu Bourrelly" : null, + "Code Sandre" : null, + "Notes libres" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { + "propriétés de taxons" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "internationalizationName" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + }, + "headerPrefix" : "pt_", + "reference" : "proprietes_taxon", + "referenceColumnToLookForHeader" : "nom de la propriété_key" + } + }, + "validations" : { + "nom du taxon déterminé" : { + "internationalizationName" : { + "fr" : "nom du taxon déterminé" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "RegularExpression", + "params" : { + "pattern" : ".*", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon déterminé" ] + }, + "nom du taxon superieur" : { + "internationalizationName" : { + "fr" : "nom du taxon superieur" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "taxon", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : false, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon superieur" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + } + }, + "compositeReferences" : { + "localizations" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "typeSites", + "parentKeyColumn" : null, + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "sites", + "parentKeyColumn" : "nom du type de site", + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "plateformes", + "parentKeyColumn" : "nom du site", + "parentRecursiveKey" : null + } ] + }, + "taxon" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "taxon", + "parentKeyColumn" : null, + "parentRecursiveKey" : "nom du taxon superieur" + } ] + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "internationalizationDisplays" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "format" : { + "headerLine" : 2, + "firstRowLine" : 3, + "separator" : ";", + "columns" : [ { + "header" : "typeSite", + "boundTo" : { + "variable" : "localization", + "component" : "typeSite", + "id" : "localization_typeSite", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "site", + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "date", + "boundTo" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "heure", + "boundTo" : { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Couleur des individus", + "boundTo" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus valeur", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "value", + "id" : "Nombre d'individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus ecart type", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "standardDeviation", + "id" : "Nombre d'individus_standardDeviation", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + } ], + "repeatedColumns" : [ ], + "constants" : [ { + "rowNumber" : 1, + "columnNumber" : 2, + "headerName" : null, + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "exportHeader" : "Site" + } ], + "allowUnexpectedColumns" : false + }, + "data" : { + "date" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "day" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "time" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "datetime" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : { + "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", + "references" : [ ], + "datatypes" : [ ] + } + } + }, + "computedComponents" : { } + }, + "localization" : { + "chartDescription" : null, + "tags" : [ "test" ], + "components" : { + "site" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "sites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ "test" ], + "defaultValue" : null + }, + "typeSite" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "typeSites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + } + }, + "computedComponents" : { } + }, + "Couleur des individus" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "value" : null + }, + "computedComponents" : { } + }, + "Nombre d'individus" : { + "chartDescription" : { + "value" : "value", + "aggregation" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "unit" : "unit", + "gap" : null, + "standardDeviation" : "standardDeviation" + }, + "tags" : [ ], + "components" : { + "value" : null, + "unit" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "units", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "standardDeviation" : null + }, + "computedComponents" : { } + } + }, + "validations" : { + "exempledeDeRegleDeValidation" : { + "internationalizationName" : { + "fr" : "Juste un exemple" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "GroovyExpression", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : { + "expression" : "true", + "references" : [ ], + "datatypes" : [ ] + }, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "variableComponents" : null + } + }, + "uniqueness" : [ { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } ], + "migrations" : { }, + "authorization" : { + "timeScope" : { + "variable" : "date", + "component" : "days", + "id" : "date_days", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "variable" : "localization", + "component" : "site", + "variableComponentKey" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } + } + }, + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Référentiel", + "data" : [ "localization", "date" ] + }, + "qualitatif" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Données qualitatives", + "data" : [ "Nombre d'individus", "Couleur des individus" ] + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "depot", + "withPeriods" : false, + "withDataGroups" : false + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "publication", + "withPeriods" : false, + "withDataGroups" : false + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "admin", + "withPeriods" : false, + "withDataGroups" : false + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "extraction", + "withPeriods" : true, + "withDataGroups" : true + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "delete", + "withPeriods" : false, + "withDataGroups" : false + } + }, + "internationalization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + } + }, + "repository" : { + "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", + "authorizationScope" : { + "localization" : 1 + }, + "startDate" : { + "token" : 3 + }, + "endDate" : { + "token" : 4 + } + }, + "tags" : [ "context" ] + } + } + }, + "valid" : false + }, + "testAuthorizationVariableComponentKeyMissingComponent" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "authorizationVariableComponentKeyMissingComponent", + "messageParams" : { + "dataType" : "site", + "authorizationName" : "localization", + "variable" : "localization", + "knownComponents" : [ "site", "typeSite" ] + }, + "error" : true, + "success" : false + } ], + "result" : { + "requiredAuthorizationsAttributes" : [ "localization" ], + "version" : 1, + "internationalization" : { + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + }, + "references" : { + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_key" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "internationalizedValidations" : { + "floats" : { + "fr" : "les décimaux" + }, + "integer" : { + "fr" : "les entiers" + } + }, + "internationalizedTags" : null + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { + "propriétés de taxons" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "internationalizedValidations" : { + "nom du taxon déterminé" : { + "fr" : "nom du taxon déterminé" + }, + "nom du taxon superieur" : { + "fr" : "nom du taxon superieur" + } + }, + "internationalizedTags" : null + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "authorization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + }, + "internationalizationDisplay" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "internationalizedValidations" : { + "exempledeDeRegleDeValidation" : { + "fr" : "Juste un exemple" + } + } + } + }, + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } + }, + "comment" : null, + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + }, + "internationalizedColumns" : null, + "name" : "Sites", + "version" : 1, + "defaultLanguage" : null, + "internationalization" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + } + }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, + "references" : { + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_key" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du projet_key" ], + "columns" : { + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, + "nom du projet_fr" : null, + "nom du projet_en" : null, + "description du projet_fr" : null, + "description du projet_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom de la plateforme_key" ], + "columns" : { + "nom de la plateforme_key" : null, + "nom du site" : null, + "nom de la plateforme_fr" : null, + "nom de la plateforme_en" : null, + "latitude" : null, + "longitude" : null, + "altitude" : null, + "nom du type de plateforme" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "platform_type", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : ";", + "keyColumns" : [ "name" ], + "columns" : { + "name" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom de la propriété_key" ], + "columns" : { + "Date" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "nom de la propriété_key" : null, + "nom de la propriété_fr" : null, + "nom de la propriété_en" : null, + "définition_fr" : null, + "définition_en" : null, + "isFloatValue" : null, + "isQualitative" : null, + "type associé" : null, + "ordre d'affichage" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { + "floats" : { + "internationalizationName" : { + "fr" : "les décimaux" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Float", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "isFloatValue" ] + }, + "integer" : { + "internationalizationName" : { + "fr" : "les entiers" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Integer", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "ordre d'affichage" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du taxon déterminé" ], + "columns" : { + "nom du taxon déterminé" : null, + "theme" : null, + "nom du niveau de taxon" : null, + "nom du taxon superieur" : null, + "code sandre du taxon" : null, + "code sandre du taxon supérieur" : null, + "niveau incertitude de détermination" : null, + "Auteur de la description" : null, + "Année de la description" : null, + "Référence de la description" : null, + "Références relatives à ce taxon" : null, + "Synonyme ancien" : null, + "Synonyme récent" : null, + "Classe algale sensu Bourrelly" : null, + "Code Sandre" : null, + "Notes libres" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { + "propriétés de taxons" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "internationalizationName" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + }, + "headerPrefix" : "pt_", + "reference" : "proprietes_taxon", + "referenceColumnToLookForHeader" : "nom de la propriété_key" + } + }, + "validations" : { + "nom du taxon déterminé" : { + "internationalizationName" : { + "fr" : "nom du taxon déterminé" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "RegularExpression", + "params" : { + "pattern" : ".*", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon déterminé" ] + }, + "nom du taxon superieur" : { + "internationalizationName" : { + "fr" : "nom du taxon superieur" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "taxon", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : false, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon superieur" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + } + }, + "compositeReferences" : { + "localizations" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "typeSites", + "parentKeyColumn" : null, + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "sites", + "parentKeyColumn" : "nom du type de site", + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "plateformes", + "parentKeyColumn" : "nom du site", + "parentRecursiveKey" : null + } ] + }, + "taxon" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "taxon", + "parentKeyColumn" : null, + "parentRecursiveKey" : "nom du taxon superieur" + } ] + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "internationalizationDisplays" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "format" : { + "headerLine" : 2, + "firstRowLine" : 3, + "separator" : ";", + "columns" : [ { + "header" : "typeSite", + "boundTo" : { + "variable" : "localization", + "component" : "typeSite", + "id" : "localization_typeSite", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "site", + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "date", + "boundTo" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "heure", + "boundTo" : { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Couleur des individus", + "boundTo" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus valeur", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "value", + "id" : "Nombre d'individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus ecart type", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "standardDeviation", + "id" : "Nombre d'individus_standardDeviation", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + } ], + "repeatedColumns" : [ ], + "constants" : [ { + "rowNumber" : 1, + "columnNumber" : 2, + "headerName" : null, + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "exportHeader" : "Site" + } ], + "allowUnexpectedColumns" : false + }, + "data" : { + "date" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "day" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "time" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "datetime" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : { + "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", + "references" : [ ], + "datatypes" : [ ] + } + } + }, + "computedComponents" : { } + }, + "localization" : { + "chartDescription" : null, + "tags" : [ "test" ], + "components" : { + "site" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "sites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ "test" ], + "defaultValue" : null + }, + "typeSite" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "typeSites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + } + }, + "computedComponents" : { } + }, + "Couleur des individus" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "value" : null + }, + "computedComponents" : { } + }, + "Nombre d'individus" : { + "chartDescription" : { + "value" : "value", + "aggregation" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "unit" : "unit", + "gap" : null, + "standardDeviation" : "standardDeviation" + }, + "tags" : [ ], + "components" : { + "value" : null, + "unit" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "units", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "standardDeviation" : null + }, + "computedComponents" : { } + } + }, + "validations" : { + "exempledeDeRegleDeValidation" : { + "internationalizationName" : { + "fr" : "Juste un exemple" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "GroovyExpression", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : { + "expression" : "true", + "references" : [ ], + "datatypes" : [ ] + }, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "variableComponents" : null + } + }, + "uniqueness" : [ { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } ], + "migrations" : { }, + "authorization" : { + "timeScope" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "variable" : "localization", + "component" : null, + "variableComponentKey" : { + "variable" : "localization", + "component" : null, + "id" : "localization_null", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } + } + }, + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Référentiel", + "data" : [ "localization", "date" ] + }, + "qualitatif" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Données qualitatives", + "data" : [ "Nombre d'individus", "Couleur des individus" ] + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "depot", + "withPeriods" : false, + "withDataGroups" : false + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "publication", + "withPeriods" : false, + "withDataGroups" : false + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "admin", + "withPeriods" : false, + "withDataGroups" : false + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "extraction", + "withPeriods" : true, + "withDataGroups" : true + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "delete", + "withPeriods" : false, + "withDataGroups" : false + } + }, + "internationalization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + } + }, + "repository" : { + "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", + "authorizationScope" : { + "localization" : 1 + }, + "startDate" : { + "token" : 3 + }, + "endDate" : { + "token" : 4 + } + }, + "tags" : [ "context" ] + } + } + }, + "valid" : false + }, + "testAuthorizationScopeVariableComponentWrongChecker" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "illegalCheckerConfigurationParameterForVariableComponentChecker", + "messageParams" : { + "dataType" : "site", + "datum" : "localization", + "component" : "site", + "checkerName" : "Integer", + "parameterName" : "refType" + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "authorizationScopeVariableComponentWrongChecker", + "messageParams" : { + "variable" : "localization", + "component" : "site", + "expectedChecker" : "Date" + }, + "error" : true, + "success" : false + } ], + "result" : { + "requiredAuthorizationsAttributes" : [ "localization" ], + "version" : 1, + "internationalization" : { + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + }, + "references" : { + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_key" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "internationalizedValidations" : { + "floats" : { + "fr" : "les décimaux" + }, + "integer" : { + "fr" : "les entiers" + } + }, + "internationalizedTags" : null + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { + "propriétés de taxons" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "internationalizedValidations" : { + "nom du taxon déterminé" : { + "fr" : "nom du taxon déterminé" + }, + "nom du taxon superieur" : { + "fr" : "nom du taxon superieur" + } + }, + "internationalizedTags" : null + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "authorization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + }, + "internationalizationDisplay" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "internationalizedValidations" : { + "exempledeDeRegleDeValidation" : { + "fr" : "Juste un exemple" + } + } + } + }, + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } + }, + "comment" : null, + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + }, + "internationalizedColumns" : null, + "name" : "Sites", + "version" : 1, + "defaultLanguage" : null, + "internationalization" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + } + }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, + "references" : { + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_key" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du projet_key" ], + "columns" : { + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, + "nom du projet_fr" : null, + "nom du projet_en" : null, + "description du projet_fr" : null, + "description du projet_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom de la plateforme_key" ], + "columns" : { + "nom de la plateforme_key" : null, + "nom du site" : null, + "nom de la plateforme_fr" : null, + "nom de la plateforme_en" : null, + "latitude" : null, + "longitude" : null, + "altitude" : null, + "nom du type de plateforme" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "platform_type", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : ";", + "keyColumns" : [ "name" ], + "columns" : { + "name" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom de la propriété_key" ], + "columns" : { + "Date" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "nom de la propriété_key" : null, + "nom de la propriété_fr" : null, + "nom de la propriété_en" : null, + "définition_fr" : null, + "définition_en" : null, + "isFloatValue" : null, + "isQualitative" : null, + "type associé" : null, + "ordre d'affichage" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { + "floats" : { + "internationalizationName" : { + "fr" : "les décimaux" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Float", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "isFloatValue" ] + }, + "integer" : { + "internationalizationName" : { + "fr" : "les entiers" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Integer", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "ordre d'affichage" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du taxon déterminé" ], + "columns" : { + "nom du taxon déterminé" : null, + "theme" : null, + "nom du niveau de taxon" : null, + "nom du taxon superieur" : null, + "code sandre du taxon" : null, + "code sandre du taxon supérieur" : null, + "niveau incertitude de détermination" : null, + "Auteur de la description" : null, + "Année de la description" : null, + "Référence de la description" : null, + "Références relatives à ce taxon" : null, + "Synonyme ancien" : null, + "Synonyme récent" : null, + "Classe algale sensu Bourrelly" : null, + "Code Sandre" : null, + "Notes libres" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { + "propriétés de taxons" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "internationalizationName" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + }, + "headerPrefix" : "pt_", + "reference" : "proprietes_taxon", + "referenceColumnToLookForHeader" : "nom de la propriété_key" + } + }, + "validations" : { + "nom du taxon déterminé" : { + "internationalizationName" : { + "fr" : "nom du taxon déterminé" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "RegularExpression", + "params" : { + "pattern" : ".*", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon déterminé" ] + }, + "nom du taxon superieur" : { + "internationalizationName" : { + "fr" : "nom du taxon superieur" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "taxon", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : false, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon superieur" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + } + }, + "compositeReferences" : { + "localizations" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "typeSites", + "parentKeyColumn" : null, + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "sites", + "parentKeyColumn" : "nom du type de site", + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "plateformes", + "parentKeyColumn" : "nom du site", + "parentRecursiveKey" : null + } ] + }, + "taxon" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "taxon", + "parentKeyColumn" : null, + "parentRecursiveKey" : "nom du taxon superieur" + } ] + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "internationalizationDisplays" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "format" : { + "headerLine" : 2, + "firstRowLine" : 3, + "separator" : ";", + "columns" : [ { + "header" : "typeSite", + "boundTo" : { + "variable" : "localization", + "component" : "typeSite", + "id" : "localization_typeSite", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "site", + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "date", + "boundTo" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "heure", + "boundTo" : { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Couleur des individus", + "boundTo" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus valeur", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "value", + "id" : "Nombre d'individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus ecart type", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "standardDeviation", + "id" : "Nombre d'individus_standardDeviation", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + } ], + "repeatedColumns" : [ ], + "constants" : [ { + "rowNumber" : 1, + "columnNumber" : 2, + "headerName" : null, + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "exportHeader" : "Site" + } ], + "allowUnexpectedColumns" : false + }, + "data" : { + "date" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "day" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "time" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "datetime" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : { + "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", + "references" : [ ], + "datatypes" : [ ] + } + } + }, + "computedComponents" : { } + }, + "localization" : { + "chartDescription" : null, + "tags" : [ "test" ], + "components" : { + "site" : { + "checker" : { + "name" : "Integer", + "params" : { + "pattern" : null, + "refType" : "sites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ "test" ], + "defaultValue" : null + }, + "typeSite" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "typeSites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + } + }, + "computedComponents" : { } + }, + "Couleur des individus" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "value" : null + }, + "computedComponents" : { } + }, + "Nombre d'individus" : { + "chartDescription" : { + "value" : "value", + "aggregation" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "unit" : "unit", + "gap" : null, + "standardDeviation" : "standardDeviation" + }, + "tags" : [ ], + "components" : { + "value" : null, + "unit" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "units", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "standardDeviation" : null + }, + "computedComponents" : { } + } + }, + "validations" : { + "exempledeDeRegleDeValidation" : { + "internationalizationName" : { + "fr" : "Juste un exemple" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "GroovyExpression", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : { + "expression" : "true", + "references" : [ ], + "datatypes" : [ ] + }, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "variableComponents" : null + } + }, + "uniqueness" : [ { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } ], + "migrations" : { }, + "authorization" : { + "timeScope" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "variable" : "localization", + "component" : "site", + "variableComponentKey" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } + } + }, + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Référentiel", + "data" : [ "localization", "date" ] + }, + "qualitatif" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Données qualitatives", + "data" : [ "Nombre d'individus", "Couleur des individus" ] + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "depot", + "withPeriods" : false, + "withDataGroups" : false + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "publication", + "withPeriods" : false, + "withDataGroups" : false + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "admin", + "withPeriods" : false, + "withDataGroups" : false + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "extraction", + "withPeriods" : true, + "withDataGroups" : true + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "delete", + "withPeriods" : false, + "withDataGroups" : false + } + }, + "internationalization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + } + }, + "repository" : { + "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", + "authorizationScope" : { + "localization" : 1 + }, + "startDate" : { + "token" : 3 + }, + "endDate" : { + "token" : 4 + } + }, + "tags" : [ "context" ] + } + } + }, + "valid" : false + }, + "testMissingInternationalizedColumn" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "invalidInternationalizedColumns", + "messageParams" : { + "reference" : "projets", + "unknownUsedAsInternationalizedColumns" : [ "nom du projet_unknown" ], + "knownColumns" : [ "nom du projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] + }, + "error" : true, + "success" : false + } ], + "result" : { + "requiredAuthorizationsAttributes" : [ "localization" ], + "version" : 1, + "internationalization" : { + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + }, + "references" : { + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_unknown" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "internationalizedValidations" : { + "floats" : { + "fr" : "les décimaux" + }, + "integer" : { + "fr" : "les entiers" + } + }, + "internationalizedTags" : null + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { + "propriétés de taxons" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "internationalizedValidations" : { + "nom du taxon déterminé" : { + "fr" : "nom du taxon déterminé" + }, + "nom du taxon superieur" : { + "fr" : "nom du taxon superieur" + } + }, + "internationalizedTags" : null + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "authorization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + }, + "internationalizationDisplay" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "internationalizedValidations" : { + "exempledeDeRegleDeValidation" : { + "fr" : "Juste un exemple" + } + } + } + }, + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } + }, + "comment" : null, + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + }, + "internationalizedColumns" : null, + "name" : "Sites", + "version" : 1, + "defaultLanguage" : null, + "internationalization" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + } + }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, + "references" : { + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_unknown" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du projet_key" ], + "columns" : { + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, + "nom du projet_fr" : null, + "nom du projet_en" : null, + "description du projet_fr" : null, + "description du projet_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom de la plateforme_key" ], + "columns" : { + "nom de la plateforme_key" : null, + "nom du site" : null, + "nom de la plateforme_fr" : null, + "nom de la plateforme_en" : null, + "latitude" : null, + "longitude" : null, + "altitude" : null, + "nom du type de plateforme" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "platform_type", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : ";", + "keyColumns" : [ "name" ], + "columns" : { + "name" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom de la propriété_key" ], + "columns" : { + "Date" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, + "nom de la propriété_key" : null, + "nom de la propriété_fr" : null, + "nom de la propriété_en" : null, + "définition_fr" : null, + "définition_en" : null, + "isFloatValue" : null, + "isQualitative" : null, + "type associé" : null, + "ordre d'affichage" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { + "floats" : { + "internationalizationName" : { + "fr" : "les décimaux" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Float", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "isFloatValue" ] + }, + "integer" : { + "internationalizationName" : { + "fr" : "les entiers" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Integer", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "ordre d'affichage" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du taxon déterminé" ], + "columns" : { + "nom du taxon déterminé" : null, + "theme" : null, + "nom du niveau de taxon" : null, + "nom du taxon superieur" : null, + "code sandre du taxon" : null, + "code sandre du taxon supérieur" : null, + "niveau incertitude de détermination" : null, + "Auteur de la description" : null, + "Année de la description" : null, + "Référence de la description" : null, + "Références relatives à ce taxon" : null, + "Synonyme ancien" : null, + "Synonyme récent" : null, + "Classe algale sensu Bourrelly" : null, + "Code Sandre" : null, + "Notes libres" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { + "propriétés de taxons" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "internationalizationName" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + }, + "headerPrefix" : "pt_", + "reference" : "proprietes_taxon", + "referenceColumnToLookForHeader" : "nom de la propriété_key" + } + }, + "validations" : { + "nom du taxon déterminé" : { + "internationalizationName" : { + "fr" : "nom du taxon déterminé" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "RegularExpression", + "params" : { + "pattern" : ".*", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon déterminé" ] + }, + "nom du taxon superieur" : { + "internationalizationName" : { + "fr" : "nom du taxon superieur" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "taxon", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : false, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon superieur" ] + } + }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + } + }, + "compositeReferences" : { + "localizations" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "typeSites", + "parentKeyColumn" : null, + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "sites", + "parentKeyColumn" : "nom du type de site", + "parentRecursiveKey" : null + }, { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "plateformes", + "parentKeyColumn" : "nom du site", + "parentRecursiveKey" : null + } ] + }, + "taxon" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "components" : [ { + "internationalizationName" : null, + "internationalizedColumns" : null, + "reference" : "taxon", + "parentKeyColumn" : null, + "parentRecursiveKey" : "nom du taxon superieur" + } ] + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "internationalizationDisplays" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "format" : { + "headerLine" : 2, + "firstRowLine" : 3, + "separator" : ";", + "columns" : [ { + "header" : "typeSite", + "boundTo" : { + "variable" : "localization", + "component" : "typeSite", + "id" : "localization_typeSite", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "site", + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "date", + "boundTo" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "heure", + "boundTo" : { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Couleur des individus", + "boundTo" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus valeur", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "value", + "id" : "Nombre d'individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + }, { + "header" : "Nombre d'individus ecart type", + "boundTo" : { + "variable" : "Nombre d'individus", + "component" : "standardDeviation", + "id" : "Nombre d'individus_standardDeviation", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "presenceConstraint" : "MANDATORY" + } ], + "repeatedColumns" : [ ], + "constants" : [ { + "rowNumber" : 1, + "columnNumber" : 2, + "headerName" : null, + "boundTo" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "exportHeader" : "Site" + } ], + "allowUnexpectedColumns" : false + }, + "data" : { + "date" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "day" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "time" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "datetime" : { + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "dd/MM/yyyy HH:mm:ss", + "refType" : null, + "groovy" : null, + "duration" : "1 MINUTES", + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : { + "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", + "references" : [ ], + "datatypes" : [ ] + } + } + }, + "computedComponents" : { } + }, + "localization" : { + "chartDescription" : null, + "tags" : [ "test" ], + "components" : { + "site" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "sites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ "test" ], + "defaultValue" : null + }, + "typeSite" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "typeSites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + } + }, + "computedComponents" : { } + }, + "Couleur des individus" : { + "chartDescription" : null, + "tags" : [ ], + "components" : { + "value" : null + }, + "computedComponents" : { } + }, + "Nombre d'individus" : { + "chartDescription" : { + "value" : "value", + "aggregation" : { + "variable" : "Couleur des individus", + "component" : "value", + "id" : "Couleur des individus_value", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "unit" : "unit", + "gap" : null, + "standardDeviation" : "standardDeviation" + }, + "tags" : [ ], + "components" : { + "value" : null, + "unit" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "units", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ ], + "defaultValue" : null + }, + "standardDeviation" : null + }, + "computedComponents" : { } + } + }, + "validations" : { + "exempledeDeRegleDeValidation" : { + "internationalizationName" : { + "fr" : "Juste un exemple" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "GroovyExpression", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : { + "expression" : "true", + "references" : [ ], + "datatypes" : [ ] + }, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "variableComponents" : null + } + }, + "uniqueness" : [ { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "date", + "component" : "time", + "id" : "date_time", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } ], + "migrations" : { }, + "authorization" : { + "timeScope" : { + "variable" : "date", + "component" : "day", + "id" : "date_day", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "variable" : "localization", + "component" : "site", + "variableComponentKey" : { + "variable" : "localization", + "component" : "site", + "id" : "localization_site", + "type" : "PARAM_VARIABLE_COMPONENT_KEY" + } + } + }, + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Référentiel", + "data" : [ "localization", "date" ] + }, + "qualitatif" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "label" : "Données qualitatives", + "data" : [ "Nombre d'individus", "Couleur des individus" ] + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "depot", + "withPeriods" : false, + "withDataGroups" : false + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "publication", + "withPeriods" : false, + "withDataGroups" : false + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "admin", + "withPeriods" : false, + "withDataGroups" : false + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "extraction", + "withPeriods" : true, + "withDataGroups" : true + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + }, + "internationalizedColumns" : null, + "display" : true, + "title" : "delete", + "withPeriods" : false, + "withDataGroups" : false + } + }, + "internationalization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + } + }, + "repository" : { + "filePattern" : "(.*)_(.*)_(.*)_(.*).csv", + "authorizationScope" : { + "localization" : 1 + }, + "startDate" : { + "token" : 3 + }, + "endDate" : { + "token" : 4 + } + }, + "tags" : [ "context" ] + } + } + }, + "valid" : false + }, + "testMissingParentLineInRecursiveReference" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingParentRecursiveKeyColumnForReferenceInCompositeReference", + "messageParams" : { + "compositeReference" : "taxon", + "reference" : "taxon", + "parentRecursiveKey" : "nom du taxon superieur" + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "missingColumnReferenceForCheckerInReference", + "messageParams" : { + "reference" : "taxon", + "validationRuleDescriptionEntryKey" : "nom du taxon déterminé", + "knownColumns" : [ "nom du taxon déterminé", "theme", "nom du niveau de taxon", "code sandre du taxon", "code sandre du taxon supérieur", "niveau incertitude de détermination", "Auteur de la description", "Année de la description", "Référence de la description", "Références relatives à ce taxon", "Synonyme ancien", "Synonyme récent", "Classe algale sensu Bourrelly", "Code Sandre", "Notes libres" ], + "checkerName" : "Reference", + "missingColumns" : [ "nom du taxon superieur" ] + }, + "error" : true, + "success" : false + } ], + "result" : { + "requiredAuthorizationsAttributes" : [ "localization" ], + "version" : 1, + "internationalization" : { + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + }, + "references" : { + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_key" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "proprietes_taxon" : { + "internationalizationName" : { + "fr" : "Proprétés de Taxon", + "en" : "Properties of Taxa" + }, + "internationalizedColumns" : { + "nom de la propriété_key" : { + "fr" : "nom de la propriété_fr", + "en" : "nom de la propriété_en" + }, + "définition_fr" : { + "fr" : "définition_fr", + "en" : "définition_en" + } + }, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom de la propriété_key}", + "en" : "{nom de la propriété_key}" + } + }, + "internationalizedValidations" : { + "floats" : { + "fr" : "les décimaux" + }, + "integer" : { + "fr" : "les entiers" + } + }, + "internationalizedTags" : null + }, + "taxon" : { + "internationalizationName" : { + "fr" : "Taxons", + "en" : "Taxa" + }, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { + "propriétés de taxons" : { + "fr" : "Proprétés de Taxons", + "en" : "Properties of Taxa" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du taxon déterminé}", + "en" : "{nom du taxon déterminé}" + } + }, + "internationalizedValidations" : { + "nom du taxon déterminé" : { + "fr" : "nom du taxon superieur" + } + }, + "internationalizedTags" : null + }, + "units" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + }, + "plateformes" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizedDynamicColumns" : { }, + "internationalizationDisplay" : null, + "internationalizedValidations" : { }, + "internationalizedTags" : null + } + }, + "dataTypes" : { + "site" : { + "internationalizationName" : { + "fr" : "Le site", + "en" : "the good place" + }, + "internationalizedColumns" : null, + "authorization" : { + "dataGroups" : { + "referentiel" : { + "internationalizationName" : null + }, + "qualitatif" : { + "internationalizationName" : null + } + }, + "authorizationScopes" : { + "localization" : { + "internationalizationName" : null + } + }, + "columnsDescription" : { + "depot" : { + "internationalizationName" : { + "fr" : "Dépôt", + "en" : "Deposit" + } + }, + "publication" : { + "internationalizationName" : { + "fr" : "Publication", + "en" : "Publication" + } + }, + "admin" : { + "internationalizationName" : { + "fr" : "Administration", + "en" : "Administration" + } + }, + "extraction" : { + "internationalizationName" : { + "fr" : "Extraction", + "en" : "Extraction" + } + }, + "delete" : { + "internationalizationName" : { + "fr" : "Suppression", + "en" : "Deletion" + } + } + } + }, + "internationalizationDisplay" : { + "sites" : { + "pattern" : { + "fr" : "le nom du site {nom du site_fr}", + "en" : "the very good place {nom du site_en}" + } + } + }, + "internationalizedValidations" : { + "exempledeDeRegleDeValidation" : { + "fr" : "Juste un exemple" + } + } + } + }, + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } + }, + "comment" : null, + "application" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + }, + "internationalizedColumns" : null, + "name" : "Sites", + "version" : 1, + "defaultLanguage" : null, + "internationalization" : { + "internationalizationName" : { + "fr" : "Fausse application", + "en" : "Fake application" + } + } + }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, + "references" : { + "projets" : { + "internationalizationName" : { + "fr" : "projet", + "en" : "Project" + }, + "internationalizedColumns" : { + "nom du projet_key" : { + "fr" : "nom du projet_fr", + "en" : "nom du projet_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du projet_fr}", + "en" : "{nom du projet_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du projet_key" ], + "columns" : { + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, + "nom du projet_fr" : null, + "nom du projet_en" : null, + "description du projet_fr" : null, + "description du projet_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, "typeSites" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -55457,6 +61893,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -55473,6 +61947,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -55540,6 +62015,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -55636,7 +62112,6 @@ "nom du taxon déterminé" : null, "theme" : null, "nom du niveau de taxon" : null, - "nom du taxon superieur" : null, "code sandre du taxon" : null, "code sandre du taxon supérieur" : null, "niveau incertitude de détermination" : null, @@ -55654,6 +62129,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -55665,28 +62141,6 @@ }, "validations" : { "nom du taxon déterminé" : { - "internationalizationName" : { - "fr" : "nom du taxon déterminé" - }, - "internationalizedColumns" : null, - "checker" : { - "name" : "RegularExpression", - "params" : { - "pattern" : ".*", - "refType" : null, - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : true, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, - "columns" : [ "nom du taxon déterminé" ] - }, - "nom du taxon superieur" : { "internationalizationName" : { "fr" : "nom du taxon superieur" }, @@ -55850,6 +62304,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -55867,6 +62322,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -55885,6 +62341,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -55903,6 +62360,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -55914,8 +62372,27 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { - "site" : null, + "site" : { + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : "sites", + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "tags" : [ "test" ], + "defaultValue" : null + }, "typeSite" : { "checker" : { "name" : "Reference", @@ -55932,6 +62409,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -55939,6 +62417,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -55957,6 +62436,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -55975,6 +62455,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -56065,8 +62546,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -56076,8 +62557,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -56087,8 +62568,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -56098,8 +62579,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -56109,8 +62590,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -56136,32 +62617,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -56179,20 +62660,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingInternationalizedColumn" : { + "testMissingReferentielTagDeclaration" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidInternationalizedColumns", + "message" : "missingReferentielTagDeclaration", "messageParams" : { - "reference" : "projets", - "unknownUsedAsInternationalizedColumns" : [ "nom du projet_unknown" ], - "knownColumns" : [ "nom du projet_key", "nom du projet_fr", "nom du projet_en", "description du projet_fr", "description du projet_en" ] + "sectionName" : "projets", + "tagName" : "coucou", + "declaredTag" : [ "context", "test" ] }, "error" : true, "success" : false @@ -56247,7 +62728,7 @@ "en" : "Project" }, "internationalizedColumns" : { - "nom du projet_unknown" : { + "nom du projet_key" : { "fr" : "nom du projet_fr", "en" : "nom du projet_en" } @@ -56388,32 +62869,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -56433,7 +62914,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -56452,7 +62942,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -56460,7 +62959,7 @@ "en" : "Project" }, "internationalizedColumns" : { - "nom du projet_unknown" : { + "nom du projet_key" : { "fr" : "nom du projet_fr", "en" : "nom du projet_en" } @@ -56474,7 +62973,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -56484,7 +62988,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "coucou" ] }, "typeSites" : { "internationalizationName" : null, @@ -56598,6 +63102,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -56665,6 +63170,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -56779,6 +63285,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -56975,6 +63482,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -56992,6 +63500,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -57010,6 +63519,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -57028,6 +63538,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -57039,6 +63550,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -57056,6 +63568,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -57074,6 +63587,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -57081,6 +63595,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -57099,6 +63614,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -57117,6 +63633,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -57207,8 +63724,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -57218,8 +63735,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -57229,8 +63746,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -57240,8 +63757,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -57251,8 +63768,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -57278,32 +63795,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -57321,32 +63838,18 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingParentLineInRecursiveReference" : { + "testMissingKeyColumnsForReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingParentRecursiveKeyColumnForReferenceInCompositeReference", - "messageParams" : { - "compositeReference" : "taxon", - "reference" : "taxon", - "parentRecursiveKey" : "nom du taxon superieur" - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "missingColumnReferenceForCheckerInReference", + "message" : "missingKeyColumnsForReference", "messageParams" : { - "reference" : "taxon", - "validationRuleDescriptionEntryKey" : "nom du taxon déterminé", - "knownColumns" : [ "nom du taxon déterminé", "theme", "nom du niveau de taxon", "code sandre du taxon", "code sandre du taxon supérieur", "niveau incertitude de détermination", "Auteur de la description", "Année de la description", "Référence de la description", "Références relatives à ce taxon", "Synonyme ancien", "Synonyme récent", "Classe algale sensu Bourrelly", "Code Sandre", "Notes libres" ], - "checkerName" : "Reference", - "missingColumns" : [ "nom du taxon superieur" ] + "reference" : "projets" }, "error" : true, "success" : false @@ -57493,6 +63996,9 @@ }, "internationalizedValidations" : { "nom du taxon déterminé" : { + "fr" : "nom du taxon déterminé" + }, + "nom du taxon superieur" : { "fr" : "nom du taxon superieur" } }, @@ -57539,32 +64045,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -57584,7 +64090,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -57603,7 +64118,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -57623,9 +64147,14 @@ } }, "separator" : "\u0000", - "keyColumns" : [ "nom du projet_key" ], + "keyColumns" : [ ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -57635,45 +64164,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -57733,6 +64224,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -57749,6 +64278,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -57816,6 +64346,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -57912,6 +64443,7 @@ "nom du taxon déterminé" : null, "theme" : null, "nom du niveau de taxon" : null, + "nom du taxon superieur" : null, "code sandre du taxon" : null, "code sandre du taxon supérieur" : null, "niveau incertitude de détermination" : null, @@ -57929,6 +64461,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -57940,6 +64473,28 @@ }, "validations" : { "nom du taxon déterminé" : { + "internationalizationName" : { + "fr" : "nom du taxon déterminé" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "RegularExpression", + "params" : { + "pattern" : ".*", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : true, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du taxon déterminé" ] + }, + "nom du taxon superieur" : { "internationalizationName" : { "fr" : "nom du taxon superieur" }, @@ -58103,6 +64658,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -58120,6 +64676,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -58138,6 +64695,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -58156,6 +64714,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -58167,6 +64726,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -58184,6 +64744,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -58202,6 +64763,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -58209,6 +64771,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -58227,6 +64790,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -58245,6 +64809,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -58335,8 +64900,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -58346,8 +64911,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -58357,8 +64922,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -58368,8 +64933,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -58379,8 +64944,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -58406,32 +64971,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -58449,18 +65014,30 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingKeyColumnsForReference" : { + "testUndeclaredDataGroupForVariable" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingKeyColumnsForReference", + "message" : "unknownVariablesInDataGroup", "messageParams" : { - "reference" : "projets" + "dataGroup" : "referentiel", + "unknownVariables" : [ "localizations" ], + "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ], + "dataType" : "site" + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "undeclaredDataGroupForVariable", + "messageParams" : { + "variable" : "localization", + "dataType" : "site" }, "error" : true, "success" : false @@ -58656,32 +65233,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -58701,7 +65278,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -58720,7 +65306,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -58740,9 +65335,14 @@ } }, "separator" : "\u0000", - "keyColumns" : [ ], + "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -58752,45 +65352,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -58850,6 +65412,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -58866,6 +65466,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -58933,6 +65534,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -59047,6 +65649,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -59243,6 +65846,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -59260,6 +65864,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -59278,6 +65883,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -59296,6 +65902,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -59307,6 +65914,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -59324,6 +65932,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -59342,6 +65951,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -59349,6 +65959,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -59367,6 +65978,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -59385,6 +65997,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -59463,7 +66076,7 @@ "internationalizationName" : null, "internationalizedColumns" : null, "label" : "Référentiel", - "data" : [ "localization", "date" ] + "data" : [ "date", "localizations" ] }, "qualitatif" : { "internationalizationName" : null, @@ -59475,8 +66088,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -59486,8 +66099,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -59497,8 +66110,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -59508,8 +66121,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -59519,8 +66132,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -59546,32 +66159,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -59589,30 +66202,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUndeclaredDataGroupForVariable" : { + "testInvalidPatternForDateCheckerForValidationRuleInReference" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownVariablesInDataGroup", - "messageParams" : { - "dataGroup" : "referentiel", - "unknownVariables" : [ "localizations" ], - "variables" : [ "date", "localization", "Couleur des individus", "Nombre d'individus" ], - "dataType" : "site" - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "undeclaredDataGroupForVariable", + "message" : "invalidPatternForDateCheckerForValidationRuleInReference", "messageParams" : { - "variable" : "localization", - "dataType" : "site" + "validationRuleDescriptionEntryKey" : "typeSitesRef", + "reference" : "sites", + "pattern" : "coucuo" }, "error" : true, "success" : false @@ -59704,7 +66307,11 @@ "en" : "{nom du site_en}" } }, - "internationalizedValidations" : { }, + "internationalizedValidations" : { + "typeSitesRef" : { + "fr" : "référence au type de site" + } + }, "internationalizedTags" : null }, "proprietes_taxon" : { @@ -59808,32 +66415,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -59853,7 +66460,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -59872,7 +66488,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -59894,7 +66519,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -59904,6 +66534,87 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "typeSites" : { + "internationalizationName" : null, + "internationalizedColumns" : null, + "internationalizationDisplay" : null, + "separator" : "\u0000", + "keyColumns" : [ "nom_key" ], + "columns" : { + "nom_key" : null, + "nom_fr" : null, + "nom_en" : null, + "description_fr" : null, + "description_en" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, + "sites" : { + "internationalizationName" : { + "fr" : "Site", + "en" : "Site" + }, + "internationalizedColumns" : { + "nom du site_key" : { + "fr" : "nom du site_fr", + "en" : "nom du site_en" + }, + "description du site_fr" : { + "fr" : "description du site_fr", + "en" : "description du site_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du site_fr}", + "en" : "{nom du site_en}" + } + }, + "separator" : "\u0000", + "keyColumns" : [ "nom du site_key" ], + "columns" : { + "nom du type de site" : null, + "nom du site_key" : null, + "nom du site_fr" : null, + "nom du site_en" : null, + "description du site_fr" : null, + "description du site_en" : null, + "code sandre du Plan d'eau" : null, + "code sandre de la Masse d'eau plan d'eau" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { + "typeSitesRef" : { + "internationalizationName" : { + "fr" : "référence au type de site" + }, + "internationalizedColumns" : null, + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "coucuo", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "columns" : [ "nom du type de site" ] + } + }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "platform_type" : { @@ -59944,64 +66655,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "typeSites" : { - "internationalizationName" : null, - "internationalizedColumns" : null, - "internationalizationDisplay" : null, - "separator" : "\u0000", - "keyColumns" : [ "nom_key" ], - "columns" : { - "nom_key" : null, - "nom_fr" : null, - "nom_en" : null, - "description_fr" : null, - "description_en" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "sites" : { - "internationalizationName" : { - "fr" : "Site", - "en" : "Site" - }, - "internationalizedColumns" : { - "nom du site_key" : { - "fr" : "nom du site_fr", - "en" : "nom du site_en" - }, - "description du site_fr" : { - "fr" : "description du site_fr", - "en" : "description du site_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du site_fr}", - "en" : "{nom du site_en}" - } - }, - "separator" : "\u0000", - "keyColumns" : [ "nom du site_key" ], - "columns" : { - "nom du type de site" : null, - "nom du site_key" : null, - "nom du site_fr" : null, - "nom du site_en" : null, - "description du site_fr" : null, - "description du site_en" : null, - "code sandre du Plan d'eau" : null, - "code sandre de la Masse d'eau plan d'eau" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -60018,6 +66671,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -60085,6 +66739,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -60199,6 +66854,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -60395,6 +67051,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -60412,6 +67069,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -60430,6 +67088,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -60448,6 +67107,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -60459,6 +67119,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -60476,6 +67137,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -60494,6 +67156,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -60501,6 +67164,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -60519,6 +67183,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -60537,6 +67202,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -60615,7 +67281,7 @@ "internationalizationName" : null, "internationalizedColumns" : null, "label" : "Référentiel", - "data" : [ "date", "localizations" ] + "data" : [ "localization", "date" ] }, "qualitatif" : { "internationalizationName" : null, @@ -60627,8 +67293,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -60638,8 +67304,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -60649,8 +67315,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -60660,8 +67326,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -60671,8 +67337,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -60698,32 +67364,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -60741,20 +67407,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidPatternForDateCheckerForValidationRuleInReference" : { + "testInvalidDurationForVariableComponentDateChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidPatternForDateCheckerForValidationRuleInReference", + "message" : "invalidDurationForVariableComponentDateChecker", "messageParams" : { - "validationRuleDescriptionEntryKey" : "typeSitesRef", - "reference" : "sites", - "pattern" : "coucuo" + "dataType" : "site", + "variable" : "date", + "component" : "datetime", + "duration" : "X MINUTES" }, "error" : true, "success" : false @@ -60846,11 +67513,7 @@ "en" : "{nom du site_en}" } }, - "internationalizedValidations" : { - "typeSitesRef" : { - "fr" : "référence au type de site" - } - }, + "internationalizedValidations" : { }, "internationalizedTags" : null }, "proprietes_taxon" : { @@ -60954,32 +67617,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -60999,7 +67662,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -61018,7 +67690,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -61040,7 +67721,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -61050,7 +67736,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -61144,30 +67830,7 @@ }, "computedColumns" : { }, "dynamicColumns" : { }, - "validations" : { - "typeSitesRef" : { - "internationalizationName" : { - "fr" : "référence au type de site" - }, - "internationalizedColumns" : null, - "checker" : { - "name" : "Date", - "params" : { - "pattern" : "coucuo", - "refType" : null, - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, - "columns" : [ "nom du type de site" ] - } - }, + "validations" : { }, "allowUnexpectedColumns" : false, "tags" : [ ] }, @@ -61187,6 +67850,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -61254,6 +67918,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -61368,6 +68033,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -61564,6 +68230,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -61581,6 +68248,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -61599,6 +68267,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -61608,7 +68277,7 @@ "pattern" : "dd/MM/yyyy HH:mm:ss", "refType" : null, "groovy" : null, - "duration" : "1 MINUTES", + "duration" : "X MINUTES", "transformation" : { "codify" : false, "groovy" : null @@ -61617,6 +68286,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -61628,6 +68298,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -61645,6 +68316,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -61663,6 +68335,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -61670,6 +68343,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -61688,6 +68362,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -61706,6 +68381,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -61796,8 +68472,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -61807,8 +68483,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -61818,8 +68494,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -61829,8 +68505,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -61840,8 +68516,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -61867,32 +68543,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -61910,21 +68586,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidDurationForVariableComponentDateChecker" : { + "testInvalidPatternForReferenceColumnDateChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidDurationForVariableComponentDateChecker", + "message" : "invalidPatternForReferenceColumnDateChecker", "messageParams" : { - "dataType" : "site", - "variable" : "date", - "component" : "datetime", - "duration" : "X MINUTES" + "referenceToValidate" : "projets", + "column" : "Date", + "pattern" : "coucou" }, "error" : true, "success" : false @@ -62120,32 +68795,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -62165,7 +68840,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -62184,7 +68868,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -62207,6 +68900,26 @@ "keyColumns" : [ "nom du projet_key" ], "columns" : { "nom du projet_key" : null, + "Date" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : { + "name" : "Date", + "params" : { + "pattern" : "coucou", + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -62216,7 +68929,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -62330,6 +69043,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -62397,6 +69111,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -62511,6 +69226,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -62707,6 +69423,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -62724,6 +69441,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -62742,6 +69460,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -62751,7 +69470,7 @@ "pattern" : "dd/MM/yyyy HH:mm:ss", "refType" : null, "groovy" : null, - "duration" : "X MINUTES", + "duration" : "1 MINUTES", "transformation" : { "codify" : false, "groovy" : null @@ -62760,6 +69479,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -62771,6 +69491,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -62788,6 +69509,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -62806,6 +69528,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -62813,6 +69536,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -62831,6 +69555,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -62849,6 +69574,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -62939,8 +69665,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -62950,8 +69676,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -62961,8 +69687,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -62972,8 +69698,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -62983,8 +69709,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -63010,32 +69736,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -63053,20 +69779,20 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testInvalidPatternForReferenceColumnDateChecker" : { + "testMissingReferenceForCheckerInReferenceColumn" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "invalidPatternForReferenceColumnDateChecker", + "message" : "missingReferenceForCheckerInReferenceColumn", "messageParams" : { - "referenceToValidate" : "projets", - "column" : "Date", - "pattern" : "coucou" + "referenceToValidate" : "plateformes", + "column" : "nom du site", + "knownReferences" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -63262,32 +69988,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -63307,7 +70033,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -63326,7 +70061,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -63348,24 +70092,10 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, - "Date" : { + "nom du projet_key" : { "presenceConstraint" : "MANDATORY", - "checker" : { - "name" : "Date", - "params" : { - "pattern" : "coucou", - "refType" : null, - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, + "tags" : [ "test" ], + "checker" : null, "defaultValue" : null }, "nom du projet_fr" : null, @@ -63377,7 +70107,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -63483,7 +70213,26 @@ "keyColumns" : [ "nom de la plateforme_key" ], "columns" : { "nom de la plateforme_key" : null, - "nom du site" : null, + "nom du site" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ ], + "checker" : { + "name" : "Reference", + "params" : { + "pattern" : null, + "refType" : null, + "groovy" : null, + "duration" : null, + "transformation" : { + "codify" : false, + "groovy" : null + }, + "required" : true, + "multiplicity" : "ONE" + } + }, + "defaultValue" : null + }, "nom de la plateforme_fr" : null, "nom de la plateforme_en" : null, "latitude" : null, @@ -63491,6 +70240,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -63558,6 +70308,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -63672,6 +70423,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -63868,6 +70620,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -63885,6 +70638,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -63903,6 +70657,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -63921,6 +70676,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -63932,6 +70688,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -63949,6 +70706,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -63967,6 +70725,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -63974,6 +70733,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -63992,6 +70752,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -64010,6 +70771,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -64100,8 +70862,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -64111,8 +70873,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -64122,8 +70884,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -64133,8 +70895,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -64144,8 +70906,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -64171,32 +70933,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -64214,20 +70976,33 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingReferenceForCheckerInReferenceColumn" : { + "testUnknownReferenceForChecker" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingReferenceForCheckerInReferenceColumn", + "message" : "unknownReferenceForChecker", "messageParams" : { - "referenceToValidate" : "plateformes", - "column" : "nom du site", - "knownReferences" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] + "dataType" : "site", + "datum" : "localization", + "refType" : "sitee", + "component" : "site", + "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] + }, + "error" : true, + "success" : false + }, { + "level" : "ERROR", + "message" : "authorizationScopeVariableComponentReftypeUnknown", + "messageParams" : { + "variable" : "localization", + "component" : "site", + "refType" : "sitee", + "knownPatterns" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] }, "error" : true, "success" : false @@ -64423,32 +71198,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -64468,7 +71243,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -64487,7 +71271,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -64509,7 +71302,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -64519,7 +71317,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -64625,25 +71423,7 @@ "keyColumns" : [ "nom de la plateforme_key" ], "columns" : { "nom de la plateforme_key" : null, - "nom du site" : { - "presenceConstraint" : "MANDATORY", - "checker" : { - "name" : "Reference", - "params" : { - "pattern" : null, - "refType" : null, - "groovy" : null, - "duration" : null, - "transformation" : { - "codify" : false, - "groovy" : null - }, - "required" : true, - "multiplicity" : "ONE" - } - }, - "defaultValue" : null - }, + "nom du site" : null, "nom de la plateforme_fr" : null, "nom de la plateforme_en" : null, "latitude" : null, @@ -64651,6 +71431,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -64718,6 +71499,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -64832,6 +71614,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -65028,6 +71811,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -65045,6 +71829,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -65063,6 +71848,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -65081,6 +71867,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -65092,13 +71879,14 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { "name" : "Reference", "params" : { "pattern" : null, - "refType" : "sites", + "refType" : "sitee", "groovy" : null, "duration" : null, "transformation" : { @@ -65109,6 +71897,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -65127,6 +71916,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -65134,6 +71924,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -65152,6 +71943,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -65170,6 +71962,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -65260,8 +72053,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -65271,8 +72064,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -65282,8 +72075,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -65293,8 +72086,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -65304,8 +72097,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -65331,32 +72124,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -65374,33 +72167,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnknownReferenceForChecker" : { + "testMissingStandardDeviationComponentForChart" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unknownReferenceForChecker", + "message" : "missingStandardDeviationComponentForChart", "messageParams" : { + "variable" : "Nombre d'individus", + "standardDeviation" : "badstandardDeviation", "dataType" : "site", - "datum" : "localization", - "refType" : "sitee", - "component" : "site", - "references" : [ "projets", "platform_type", "typeSites", "sites", "plateformes", "units", "proprietes_taxon", "taxon" ] - }, - "error" : true, - "success" : false - }, { - "level" : "ERROR", - "message" : "authorizationScopeVariableComponentReftypeUnknown", - "messageParams" : { - "variable" : "localization", - "component" : "site", - "refType" : "sitee", - "knownPatterns" : [ "projets", "typeSites", "sites", "platform_type", "plateformes", "units", "proprietes_taxon", "taxon" ] + "components" : [ "value", "unit", "standardDeviation" ] }, "error" : true, "success" : false @@ -65596,32 +72377,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -65641,7 +72422,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -65660,7 +72450,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -65682,7 +72481,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -65692,7 +72496,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -65806,6 +72610,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -65873,6 +72678,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -65987,6 +72793,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -66183,6 +72990,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -66200,6 +73008,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -66218,6 +73027,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -66236,6 +73046,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -66247,13 +73058,14 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { "name" : "Reference", "params" : { "pattern" : null, - "refType" : "sitee", + "refType" : "sites", "groovy" : null, "duration" : null, "transformation" : { @@ -66264,6 +73076,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -66282,6 +73095,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -66289,6 +73103,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -66305,8 +73120,9 @@ }, "unit" : "unit", "gap" : null, - "standardDeviation" : "standardDeviation" + "standardDeviation" : "badstandardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -66325,6 +73141,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -66415,8 +73232,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -66426,8 +73243,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -66437,8 +73254,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -66448,8 +73265,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -66459,8 +73276,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -66486,32 +73303,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -66529,21 +73346,35 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testMissingStandardDeviationComponentForChart" : { + "testUnrecognizedProperty" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "missingStandardDeviationComponentForChart", + "message" : "unrecognizedProperty", "messageParams" : { - "variable" : "Nombre d'individus", - "standardDeviation" : "badstandardDeviation", - "dataType" : "site", - "components" : [ "value", "unit", "standardDeviation" ] + "lineNumber" : 17, + "columnNumber" : 3, + "unknownPropertyName" : "compositReference", + "knownProperties" : [ "requiredAuthorizationsAttributes", "internationalization", "version", "tags", "comment", "application", "references", "compositeReferences", "dataTypes" ] + }, + "error" : true, + "success" : false + } ], + "result" : null, + "valid" : false + }, + "testMissingRequiredExpression" : { + "validationCheckResults" : [ { + "level" : "ERROR", + "message" : "missingRequiredExpressionForValidationRuleInDataType", + "messageParams" : { + "lineValidationRuleKey" : "exempledeDeRegleDeValidation", + "dataType" : "site" }, "error" : true, "success" : false @@ -66739,32 +73570,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -66784,7 +73615,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -66803,7 +73643,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -66825,7 +73674,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -66835,6 +73689,44 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, + "tags" : [ "context" ] + }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, "tags" : [ ] }, "typeSites" : { @@ -66895,44 +73787,6 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] - }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -66949,6 +73803,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -67016,6 +73871,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -67130,6 +73986,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -67326,6 +74183,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -67343,6 +74201,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -67361,6 +74220,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -67379,6 +74239,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -67390,6 +74251,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -67407,6 +74269,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -67425,6 +74288,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -67432,6 +74296,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -67448,8 +74313,9 @@ }, "unit" : "unit", "gap" : null, - "standardDeviation" : "badstandardDeviation" + "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -67468,6 +74334,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -67487,7 +74354,7 @@ "pattern" : null, "refType" : null, "groovy" : { - "expression" : "true", + "expression" : null, "references" : [ ], "datatypes" : [ ] }, @@ -67558,8 +74425,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -67569,8 +74436,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -67580,8 +74447,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -67591,8 +74458,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -67602,8 +74469,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -67629,32 +74496,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -67672,35 +74539,21 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false }, - "testUnrecognizedProperty" : { + "testMissingReferentielColumnsTagDeclaration" : { "validationCheckResults" : [ { "level" : "ERROR", - "message" : "unrecognizedProperty", + "message" : "missingReferenceColumnsTagDeclaration", "messageParams" : { - "lineNumber" : 9, - "columnNumber" : 3, - "unknownPropertyName" : "compositReference", - "knownProperties" : [ "requiredAuthorizationsAttributes", "internationalization", "version", "tags", "comment", "application", "references", "compositeReferences", "dataTypes" ] - }, - "error" : true, - "success" : false - } ], - "result" : null, - "valid" : false - }, - "testMissingRequiredExpression" : { - "validationCheckResults" : [ { - "level" : "ERROR", - "message" : "missingRequiredExpressionForValidationRuleInDataType", - "messageParams" : { - "lineValidationRuleKey" : "exempledeDeRegleDeValidation", - "dataType" : "site" + "sectionName" : "projets", + "variableName" : "nom du projet_key", + "tagName" : "coucou", + "declaredTag" : [ "context", "test" ] }, "error" : true, "success" : false @@ -67896,32 +74749,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -67941,7 +74794,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -67960,7 +74822,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -67982,7 +74853,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "coucou" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -67992,45 +74868,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] - }, - "platform_type" : { - "internationalizationName" : { - "fr" : "Types de plateforme", - "en" : "Plateform types" - }, - "internationalizedColumns" : { - "nom du type de plateforme_key" : { - "fr" : "nom du type de plateforme_fr", - "en" : "nom du type de plateforme_en" - }, - "description_fr" : { - "fr" : "description_fr", - "en" : "description_en" - } - }, - "internationalizationDisplay" : { - "pattern" : { - "fr" : "{nom du type de plateforme_key}", - "en" : "{nom du type de plateforme_key}" - } - }, - "separator" : ";", - "keyColumns" : [ "nom du type de plateforme_key" ], - "columns" : { - "nom du type de plateforme_key" : null, - "nom du type de plateforme_fr" : null, - "nom du type de plateforme_en" : null, - "description_fr" : null, - "description_en" : null, - "code sandre" : null, - "code sandre du contexte" : null - }, - "computedColumns" : { }, - "dynamicColumns" : { }, - "validations" : { }, - "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "typeSites" : { "internationalizationName" : null, @@ -68090,6 +74928,44 @@ "allowUnexpectedColumns" : false, "tags" : [ ] }, + "platform_type" : { + "internationalizationName" : { + "fr" : "Types de plateforme", + "en" : "Plateform types" + }, + "internationalizedColumns" : { + "nom du type de plateforme_key" : { + "fr" : "nom du type de plateforme_fr", + "en" : "nom du type de plateforme_en" + }, + "description_fr" : { + "fr" : "description_fr", + "en" : "description_en" + } + }, + "internationalizationDisplay" : { + "pattern" : { + "fr" : "{nom du type de plateforme_key}", + "en" : "{nom du type de plateforme_key}" + } + }, + "separator" : ";", + "keyColumns" : [ "nom du type de plateforme_key" ], + "columns" : { + "nom du type de plateforme_key" : null, + "nom du type de plateforme_fr" : null, + "nom du type de plateforme_en" : null, + "description_fr" : null, + "description_en" : null, + "code sandre" : null, + "code sandre du contexte" : null + }, + "computedColumns" : { }, + "dynamicColumns" : { }, + "validations" : { }, + "allowUnexpectedColumns" : false, + "tags" : [ ] + }, "plateformes" : { "internationalizationName" : null, "internationalizedColumns" : null, @@ -68106,6 +74982,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -68173,6 +75050,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -68287,6 +75165,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -68483,6 +75362,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -68500,6 +75380,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -68518,6 +75399,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -68536,6 +75418,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -68547,6 +75430,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -68564,6 +75448,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -68582,6 +75467,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -68589,6 +75475,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -68607,6 +75494,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -68625,6 +75513,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -68644,7 +75533,7 @@ "pattern" : null, "refType" : null, "groovy" : { - "expression" : null, + "expression" : "true", "references" : [ ], "datatypes" : [ ] }, @@ -68715,8 +75604,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -68726,8 +75615,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -68737,8 +75626,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -68748,8 +75637,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -68759,8 +75648,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -68786,32 +75675,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -68829,7 +75718,7 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, @@ -69039,32 +75928,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -69084,7 +75973,16 @@ } } }, - "internationalizedTags" : { } + "internationalizedTags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + } }, "comment" : null, "application" : { @@ -69103,7 +76001,16 @@ } } }, - "tags" : { }, + "tags" : { + "context" : { + "fr" : "contexte", + "en" : "context" + }, + "test" : { + "fr" : "test", + "en" : "test" + } + }, "references" : { "projets" : { "internationalizationName" : { @@ -69125,7 +76032,12 @@ "separator" : "\u0000", "keyColumns" : [ "nom du projet_key" ], "columns" : { - "nom du projet_key" : null, + "nom du projet_key" : { + "presenceConstraint" : "MANDATORY", + "tags" : [ "test" ], + "checker" : null, + "defaultValue" : null + }, "nom du projet_fr" : null, "nom du projet_en" : null, "description du projet_fr" : null, @@ -69135,7 +76047,7 @@ "dynamicColumns" : { }, "validations" : { }, "allowUnexpectedColumns" : false, - "tags" : [ ] + "tags" : [ "context" ] }, "platform_type" : { "internationalizationName" : { @@ -69249,6 +76161,7 @@ "altitude" : null, "nom du type de plateforme" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Reference", "params" : { @@ -69316,6 +76229,7 @@ "columns" : { "Date" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "checker" : { "name" : "Date", "params" : { @@ -69430,6 +76344,7 @@ "dynamicColumns" : { "propriétés de taxons" : { "presenceConstraint" : "MANDATORY", + "tags" : [ ], "internationalizationName" : { "fr" : "Proprétés de Taxons", "en" : "Properties of Taxa" @@ -69626,6 +76541,7 @@ "data" : { "date" : { "chartDescription" : null, + "tags" : [ ], "components" : { "day" : { "checker" : { @@ -69643,6 +76559,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "time" : { @@ -69661,6 +76578,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "datetime" : { @@ -69679,6 +76597,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : { "expression" : "return datum.date.day +\" \" +datum.date.time+ \":00\"\n", "references" : [ ], @@ -69690,6 +76609,7 @@ }, "localization" : { "chartDescription" : null, + "tags" : [ "test" ], "components" : { "site" : { "checker" : { @@ -69707,6 +76627,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ "test" ], "defaultValue" : null }, "typeSite" : { @@ -69725,6 +76646,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null } }, @@ -69732,6 +76654,7 @@ }, "Couleur des individus" : { "chartDescription" : null, + "tags" : [ ], "components" : { "value" : null }, @@ -69750,6 +76673,7 @@ "gap" : null, "standardDeviation" : "standardDeviation" }, + "tags" : [ ], "components" : { "value" : null, "unit" : { @@ -69768,6 +76692,7 @@ "multiplicity" : "ONE" } }, + "tags" : [ ], "defaultValue" : null }, "standardDeviation" : null @@ -69858,8 +76783,8 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" }, "internationalizedColumns" : null, "display" : true, @@ -69869,8 +76794,8 @@ }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" }, "internationalizedColumns" : null, "display" : true, @@ -69880,8 +76805,8 @@ }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" }, "internationalizedColumns" : null, "display" : true, @@ -69891,8 +76816,8 @@ }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" }, "internationalizedColumns" : null, "display" : true, @@ -69902,8 +76827,8 @@ }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" }, "internationalizedColumns" : null, "display" : true, @@ -69929,32 +76854,32 @@ "columnsDescription" : { "depot" : { "internationalizationName" : { - "en" : "Deposit", - "fr" : "Dépôt" + "fr" : "Dépôt", + "en" : "Deposit" } }, "publication" : { "internationalizationName" : { - "en" : "Publication", - "fr" : "Publication" + "fr" : "Publication", + "en" : "Publication" } }, "admin" : { "internationalizationName" : { - "en" : "Delegation", - "fr" : "Délégation" + "fr" : "Administration", + "en" : "Administration" } }, "extraction" : { "internationalizationName" : { - "en" : "Extraction", - "fr" : "Extraction" + "fr" : "Extraction", + "en" : "Extraction" } }, "delete" : { "internationalizationName" : { - "en" : "Deletion", - "fr" : "Suppression" + "fr" : "Suppression", + "en" : "Deletion" } } } @@ -69972,10 +76897,10 @@ "token" : 4 } }, - "tags" : [ ] + "tags" : [ "context" ] } } }, "valid" : false } -} \ No newline at end of file +} diff --git a/ui/cypress/integration/references_errors.js b/ui/cypress/integration/references_errors.js index e0c3200b52aa6a0bccae97cf9d647511adf109ec..c2f03eb0ff15a1342b579651dc8cf463d0c8266b 100644 --- a/ui/cypress/integration/references_errors.js +++ b/ui/cypress/integration/references_errors.js @@ -1603,7 +1603,7 @@ describe('test authorization application', () => { fileName: 'variable.csv', mimeType: 'text/csv' }) - cy.get('.delete').click({force: true}) + //cy.get('.delete').click({force: true}) } }) }) \ No newline at end of file diff --git a/ui/src/components/common/AuthorizationTable.vue b/ui/src/components/common/AuthorizationTable.vue index 3789d824e560715a12b065c196cad2fd728fcdbd..7c15b226195b0be3d10074fd0e75ebac4b699b28 100644 --- a/ui/src/components/common/AuthorizationTable.vue +++ b/ui/src/components/common/AuthorizationTable.vue @@ -1,84 +1,82 @@ <template> <div> <li - v-if="authReference && !authReference.hierarchicalKey" - class="card-content authorizationTable datepicker-row" + v-if="authReference && !authReference.hierarchicalKey" + class="card-content authorizationTable datepicker-row" > <slot class="row"></slot> <div v-for="(scope, index) of authReference" :key="index"> <div v-if="canShowLine(index)"> <div class="columns" @mouseleave="upHere = false" @mouseover="upHere = true"> <div - v-for="(column, indexColumn) of columnsVisible" - :key="indexColumn" - :class="{ hover: upHere && scope.isLeaf }" - class="column" - :style="!column.display ? 'display : contents':''" + v-for="(column, indexColumn) of columnsVisible" + :key="indexColumn" + :class="{ hover: upHere && scope.isLeaf }" + class="column" + :style="!column.display ? 'display : contents' : ''" > <a - v-if=" + v-if=" column.display && indexColumn === 'label' && (!scope.isLeaf || remainingOption.length) " - :class="!scope.isLeaf || remainingOption.length ? 'leaf' : 'folder'" - :field="indexColumn" - style="min-height: 10px; display: table-cell; vertical-align: middle" - @click="indexColumn === 'label' && toggle(index)" + :class="!scope.isLeaf || remainingOption.length ? 'leaf' : 'folder'" + :field="indexColumn" + style="min-height: 10px; display: table-cell; vertical-align: middle" + @click="indexColumn === 'label' && toggle(index)" > <span style="margin-right: 10px"> - <FontAwesomeIcon - :icon="openChild ? 'caret-down' : 'caret-right'" - tabindex="0" - /> + <FontAwesomeIcon :icon="openChild ? 'caret-down' : 'caret-right'" tabindex="0" /> </span> <span> {{ localName(scope) }} </span> </a> <p - v-else-if=" + v-else-if=" column.display && indexColumn === 'label' && !(!scope.isLeaf || remainingOption.length) " - :class="!scope.isLeaf || remainingOption.length ? 'leaf' : 'folder'" - :field="indexColumn" + :class="!scope.isLeaf || remainingOption.length ? 'leaf' : 'folder'" + :field="indexColumn" > {{ localName(scope) }} </p> - <b-field v-else-if="column.display && indexColumn === 'admin'" :field="indexColumn" class="column"> - <b-tooltip - type="is-warning" - :label="$t('dataTypeAuthorizations.all-autorisation')" - > + <b-field + v-else-if="column.display && indexColumn === 'admin'" + :field="indexColumn" + class="column" + > + <b-tooltip type="is-warning" :label="$t('dataTypeAuthorizations.all-autorisation')"> <b-icon - :icon="STATES[states[indexColumn][getPath(index)].localState] || STATES[0]" - class="clickable" - pack="far" - size="is-medium" - type="is-warning" - @click.native="selectCheckboxAll($event, index, indexColumn)" + :icon="STATES[states[indexColumn][getPath(index)].localState] || STATES[0]" + class="clickable" + pack="far" + size="is-medium" + type="is-warning" + @click.native="selectCheckboxAll($event, index, indexColumn)" /> </b-tooltip> </b-field> <b-field v-else-if="column.display" :field="indexColumn" class="column"> <b-tooltip - type="is-warning" - :active="canShowWarning(index, indexColumn)" - :label="$t('validation.noRightsForThisOPeration')" + type="is-warning" + :active="canShowWarning(index, indexColumn)" + :label="$t('validation.noRightsForThisOPeration')" > <b-icon - :icon="STATES[states[indexColumn][getPath(index)].localState] || STATES[0]" - class="clickable" - pack="far" - size="is-medium" - :type=" + :icon="STATES[states[indexColumn][getPath(index)].localState] || STATES[0]" + class="clickable" + pack="far" + size="is-medium" + :type=" states[indexColumn][getPath(index)].hasPublicStates || canShowWarning(index, indexColumn) ? 'is-light' : 'is-primary' " - :disabled="canShowWarning(index, indexColumn)" - @click.native=" + :disabled="canShowWarning(index, indexColumn)" + @click.native=" canShowWarning(index, indexColumn) ? (index) => i : selectCheckbox($event, index, indexColumn) @@ -86,32 +84,32 @@ /> </b-tooltip> <AuthorizationForPeriodDatagroups - v-if="states[indexColumn][getPath(index)].fromAuthorization" - :column="column" - :data-groups="dataGroups" - :state="states[indexColumn][getPath(index)]" - :index="index" - :index-column="indexColumn" - :disabled="canShowWarning(index, indexColumn)" - @registerCurrentAuthorization="$emit('registerCurrentAuthorization', $event)" + v-if="states[indexColumn][getPath(index)].fromAuthorization" + :column="column" + :data-groups="dataGroups" + :state="states[indexColumn][getPath(index)]" + :index="index" + :index-column="indexColumn" + :disabled="canShowWarning(index, indexColumn)" + @registerCurrentAuthorization="$emit('registerCurrentAuthorization', $event)" /> <b-tooltip - position="is-right" - multilined - v-if=" + position="is-right" + multilined + v-if=" states[indexColumn][getPath(index)].state === 0 || states[indexColumn][getPath(index)].state === -1 " > <b-button - v-if="(column.withDataGroups && dataGroups.length > 1) || column.withPeriods" - disabled - style="border: none; background-color: transparent" + v-if="(column.withDataGroups && dataGroups.length > 1) || column.withPeriods" + disabled + style="border: none; background-color: transparent" > <b-icon - v-if="(column.withDataGroups && dataGroups.length > 1) || column.withPeriods" - icon="ellipsis-h" - size="fa-4x" + v-if="(column.withDataGroups && dataGroups.length > 1) || column.withPeriods" + icon="ellipsis-h" + size="fa-4x" ></b-icon> </b-button> <template v-slot:content> @@ -124,7 +122,7 @@ <b>{{ $t("dataTypeAuthorizations.a-period") }} </b> <span>{{ $t("dataTypeAuthorizations.or") }}</span> <b>{{ $t("dataTypeAuthorizations.a-datagroup") }}</b> - <br/> + <br /> {{ $t("dataTypeAuthorizations.select-authorization") }} </p> </div> @@ -134,7 +132,7 @@ <b>{{ $t("dataTypeAuthorizations.a-period") }} </b> <span>{{ $t("dataTypeAuthorizations.or") }} </span> <b>{{ $t("dataTypeAuthorizations.a-datagroup") }}</b> - <br/> + <br /> {{ $t("dataTypeAuthorizations.select-authorization") }} </p> <p class="has-background-white-bis has-text-danger-dark"> @@ -147,27 +145,27 @@ </div> </div> <ul - v-if="authReference && (!scope.isLeaf || remainingOption.length) && open && open[index]" - class="rows" + v-if="authReference && (!scope.isLeaf || remainingOption.length) && open && open[index]" + class="rows" > <AuthorizationTable - v-if="authReference" - :auth-reference="getNextAuthreference(scope)" - :publicAuthorizations="publicAuthorizations" - :ownAuthorizations="ownAuthorizations" - :ownAuthorizationsColumnsByPath="ownAuthorizationsColumnsByPath" - :authorization="authorization" - :columns-visible="columnsVisible" - :data-groups="dataGroups" - :isApplicationAdmin="isApplicationAdmin" - :path="getPath(index)" - :remaining-option="getRemainingOption(scope)" - :required-authorizations="{}" - :authorization-scopes="authorizationScopes" - :current-authorization-scope="getCurrentAuthorizationScope(scope)" - @setIndetermined="eventSetIndetermined($event, index)" - @modifyAuthorization="$emit('modifyAuthorization', $event)" - @registerCurrentAuthorization="$emit('registerCurrentAuthorization', $event)" + v-if="authReference" + :auth-reference="getNextAuthreference(scope)" + :publicAuthorizations="publicAuthorizations" + :ownAuthorizations="ownAuthorizations" + :ownAuthorizationsColumnsByPath="ownAuthorizationsColumnsByPath" + :authorization="authorization" + :columns-visible="columnsVisible" + :data-groups="dataGroups" + :isApplicationAdmin="isApplicationAdmin" + :path="getPath(index)" + :remaining-option="getRemainingOption(scope)" + :required-authorizations="{}" + :authorization-scopes="authorizationScopes" + :current-authorization-scope="getCurrentAuthorizationScope(scope)" + @setIndetermined="eventSetIndetermined($event, index)" + @modifyAuthorization="$emit('modifyAuthorization', $event)" + @registerCurrentAuthorization="$emit('registerCurrentAuthorization', $event)" /> </ul> </div> @@ -177,22 +175,22 @@ </template> <script> -import {Component, Prop, Vue, Watch} from "vue-property-decorator"; -import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome"; -import {Authorization} from "@/model/authorization/Authorization"; +import { Component, Prop, Vue, Watch } from "vue-property-decorator"; +import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; +import { Authorization } from "@/model/authorization/Authorization"; import AuthorizationForPeriodDatagroups from "@/components/common/AuthorizationForPeriodDatagroups.vue"; @Component({ - components: {FontAwesomeIcon, AuthorizationForPeriodDatagroups}, + components: { FontAwesomeIcon, AuthorizationForPeriodDatagroups }, }) export default class AuthorizationTable extends Vue { - STATES = {"-1": "square-minus", 0: "square", 1: "square-check"}; + STATES = { "-1": "square-minus", 0: "square", 1: "square-check" }; EXTRACTION = "extraction"; @Prop() authReference; //informations about node @Prop() remainingOption; //array of next nodes @Prop() columnsVisible; // infos for columns - @Prop({default: ""}) path; - @Prop({default: false}) isRoot; + @Prop({ default: "" }) path; + @Prop({ default: false }) isRoot; @Prop() dataGroups; // array of the datagroups in authorization configuration @Prop() publicAuthorizations; //the authorizations for public @Prop() ownAuthorizations; //the authorizations for user @@ -250,26 +248,26 @@ export default class AuthorizationTable extends Vue { canShowLine(index) { return this.isApplicationAdmin || - this.ownAuthorizations.find( + this.ownAuthorizations.find( (oa) => this.getPath(index).startsWith(oa) || oa.startsWith(this.getPath(index)) - ) - ? true - : false; + ) + ? true + : false; } canShowWarning(index, column) { return this.isApplicationAdmin || - (this.ownAuthorizations.find((oa) => this.getPath(index).startsWith(oa)) && + (this.ownAuthorizations.find((oa) => this.getPath(index).startsWith(oa)) && this.isAuthorizedColumnForPath(index, column)) - ? false - : true; + ? false + : true; } isAuthorizedColumnForPath(index, column) { for (const path in this.ownAuthorizationsColumnsByPath) { if ( - this.getPath(index).startsWith(path) && - this.ownAuthorizationsColumnsByPath[path].indexOf(column) >= 0 + this.getPath(index).startsWith(path) && + this.ownAuthorizationsColumnsByPath[path].indexOf(column) >= 0 ) { return true; } @@ -297,16 +295,16 @@ export default class AuthorizationTable extends Vue { localName(states) { return ( - states.localName || - (this.authReference.authorizationScope && this.authReference.authorizationScope.localName) || - "pas trouve" + states.localName || + (this.authReference.authorizationScope && this.authReference.authorizationScope.localName) || + "pas trouve" ); } toggle(index) { var open = {}; open[index] = !this.open[index]; - this.open = {...this.open, ...open}; + this.open = { ...this.open, ...open }; this.openChild = !this.openChild; } @@ -322,7 +320,7 @@ export default class AuthorizationTable extends Vue { let thisStateElement = this.states[indexColumn][this.getPath(index)]; this.selectCheckbox(event, index, indexColumn, authorizations); for (let nameColumn in this.columnsVisible) { - if(nameColumn !== "admin") { + if (nameColumn !== "admin") { if (this.states[nameColumn]) { let stateElement = this.states[nameColumn][this.getPath(index)]; if (thisStateElement.state === stateElement.state) { @@ -340,20 +338,20 @@ export default class AuthorizationTable extends Vue { } var stateElement = this.states[indexColumn][this.getPath(index)]; var currentPath = this.getPath(index); - authorizations = authorizations || {toDelete: [], toAdd: []}; + authorizations = authorizations || { toDelete: [], toAdd: [] }; if (stateElement.state === 1) { checkedAuthorization = this.authorization.getCheckedAuthorization(indexColumn, currentPath); if (checkedAuthorization.scopeKey === currentPath) { authorizations.toDelete.push(checkedAuthorization.auth); - eventToEmit = {currentPath, authorizations, index, indexColumn}; + eventToEmit = { currentPath, authorizations, index, indexColumn }; this.$emit("modifyAuthorization", eventToEmit); } else { var indetermined = false; var count = 0; for (const authReferenceKey in this.authReference) { if (authReferenceKey !== index) { - authorization = {...checkedAuthorization.auth}; - requiredAuthorizations = {...this.currentAuthorizationScope}; + authorization = { ...checkedAuthorization.auth }; + requiredAuthorizations = { ...this.currentAuthorizationScope }; authReference = this.authReference[authReferenceKey]; requiredAuthorizations[authReference.authorizationScope] = authReference.currentPath; authorization.requiredAuthorizations = requiredAuthorizations; @@ -362,7 +360,7 @@ export default class AuthorizationTable extends Vue { indetermined = true; } } - eventToEmit = {event, index, indexColumn, authorizations}; + eventToEmit = { event, index, indexColumn, authorizations }; if (indetermined || !count) { this.$emit("setIndetermined", eventToEmit); } else { @@ -373,19 +371,19 @@ export default class AuthorizationTable extends Vue { let reference = this.authReference[index]; requiredAuthorizations = this.currentAuthorizationScope || {}; requiredAuthorizations[reference.authorizationScope] = reference.currentPath; - let currentAuthorization = new Authorization({requiredAuthorizations}); + let currentAuthorization = new Authorization({ requiredAuthorizations }); let currentPath = currentAuthorization.getPath(this.authorizationScopes.map((as) => as.id)); let dependants = this.authorization.getDependants(indexColumn, currentPath); authorizations.toDelete = [...authorizations.toDelete, ...dependants]; if ( - Object.values(this.states[indexColumn]).filter((s) => s.state !== 1).length - 1 || - this.isRoot + Object.values(this.states[indexColumn]).filter((s) => s.state !== 1).length - 1 || + this.isRoot ) { authorizations.toAdd.push(currentAuthorization); - eventToEmit = {event, index, indexColumn, authorizations}; + eventToEmit = { event, index, indexColumn, authorizations }; this.$emit("modifyAuthorization", eventToEmit); } else { - eventToEmit = {event, index, indexColumn, authorizations}; + eventToEmit = { event, index, indexColumn, authorizations }; this.$emit("setIndetermined", eventToEmit); } } @@ -394,7 +392,7 @@ export default class AuthorizationTable extends Vue { getCurrentAuthorizationScope(scope) { var authorizationScope = {}; authorizationScope[scope.authorizationScope] = scope.currentPath; - return {...this.currentAuthorizationScope, ...authorizationScope}; + return { ...this.currentAuthorizationScope, ...authorizationScope }; } getNextAuthreference(states) { diff --git a/ui/src/components/common/CollapsibleTree.vue b/ui/src/components/common/CollapsibleTree.vue index 24637c5aeb6d1366cf3770c0c5a7ea3f07e4710d..c57bdb7386a68698e525d2e283cad8fdad011da3 100644 --- a/ui/src/components/common/CollapsibleTree.vue +++ b/ui/src/components/common/CollapsibleTree.vue @@ -1,43 +1,46 @@ <template> <div> <div - :class="`columns CollapsibleTree-header ${ + :class="`columns CollapsibleTree-header ${ option.children && option.children.length !== 0 ? 'clickable' : '' } ${option.children && option.children.length !== 0 && displayChildren ? '' : 'mb-1'}`" - :style="`margin:0px;`" - @click="displayChildren = !displayChildren" - @keypress.enter="displayChildren = !displayChildren" + :style="`margin:0px;`" + @click="displayChildren = !displayChildren" + @keypress.enter="displayChildren = !displayChildren" > <div class="CollapsibleTree-header-infos column is-two-thirds"> - <div :style="`transform:translate(${level * 50}px);`" - class="CollapsibleTree-header-infos column is-narrow" + <div + :style="`transform:translate(${level * 50}px);`" + class="CollapsibleTree-header-infos column is-narrow" > <div - :class="onClickLabelCb ? 'link' : ''" - tabindex="0" - @click="(event) => onClickLabelCb && onClickLabelCb(event, option.label)" - @keypress.enter="(event) => onClickLabelCb && onClickLabelCb(event, option.label)" + :class="onClickLabelCb ? 'link' : ''" + tabindex="0" + @click="(event) => onClickLabelCb && onClickLabelCb(event, option.label)" + @keypress.enter="(event) => onClickLabelCb && onClickLabelCb(event, option.label)" > - <b-tooltip :label="$t('dataTypesManagement.tooltip_show_secondary_menu')" - type="is-primary is-light"> + <b-tooltip + :label="$t('dataTypesManagement.tooltip_show_secondary_menu')" + type="is-primary is-light" + > <b-button - class="is-small" - outlined - style="margin: 10px;" - tabindex="0" - type="is-primary" + class="is-small" + outlined + style="margin: 10px" + tabindex="0" + type="is-primary" > <b-icon icon="ellipsis-h"></b-icon> </b-button> </b-tooltip> </div> <FontAwesomeIcon - v-if="option.children && option.children.length !== 0" - :icon="displayChildren ? 'caret-down' : 'caret-right'" - class="clickable mr-3" - tabindex="0" + v-if="option.children && option.children.length !== 0" + :icon="displayChildren ? 'caret-down' : 'caret-right'" + class="clickable mr-3" + tabindex="0" /> - <p> {{ option.localName || option.label }} </p> + <p>{{ option.localName || option.label }}</p> <span v-if="refFile" class="file-name"> {{ refFile.name }} </span> @@ -49,19 +52,23 @@ </span> </div> </div> - <div :class=" + <div + :class=" option.synthesisMinMax && onClickLabelSynthesisDetailCb ? 'tile synthesis-details link column is-four-fifths' : 'tile synthesis-details column is-full' " - @click=" + @click=" (event) => option.synthesisMinMax && onClickLabelSynthesisDetailCb && onClickLabelSynthesisDetailCb(event, option) " > - <span v-if="option.synthesisMinMax" class="synthesis-infos has-text-info-dark column is-full"> + <span + v-if="option.synthesisMinMax" + class="synthesis-infos has-text-info-dark column is-full" + > <b-field v-show="false"> {{ new Date(option.synthesisMinMax[0]).toLocaleDateString("fr") + @@ -73,12 +80,12 @@ <div class="loader is-loading"></div> </div> <availiblity-chart - v-else - :id="option.label" - :minmax="option.synthesis.minmax" - :ranges="option.synthesis.ranges" - :show-dates="false" - class="tile availiblity-chart" + v-else + :id="option.label" + :minmax="option.synthesis.minmax" + :ranges="option.synthesis.ranges" + :show-dates="false" + class="tile availiblity-chart" /> </span> <span v-else-if="lineCount > 0" class="file-name"> @@ -89,77 +96,83 @@ </span> </div> </div> - <div class="CollapsibleTree-buttons column is-narrow"> - <div v-if="onUploadCb" :class="'file button is-small'+(option.canUpload?' is-info':'is-light')" - :disabled="!option.canUpload"> + <div class="CollapsibleTree-buttons column is-narrow"> + <div + v-if="onUploadCb" + :class="'file button is-small' + (option.canUpload ? ' is-info' : 'is-light')" + :disabled="!option.canUpload" + > <b-upload - v-model="refFile" - :disabled="!option.canUpload" - accept=".csv" - class="file-label ml-1" - style="padding: 0px" - @input="() => onUploadCb(option.label, refFile) && showChildren()" + v-model="refFile" + :disabled="!option.canUpload" + accept=".csv" + class="file-label ml-1" + style="padding: 0px" + @input="() => onUploadCb(option.label, refFile) && showChildren()" > - <span class="file-cta" - :disabled="!option.canUpload"> + <span class="file-cta" :disabled="!option.canUpload"> <b-icon icon="upload"></b-icon> </span> </b-upload> </div> <div v-else> <b-button - :type="(option.canUpload || option.canPublish || option.canDelete)?'is-info':'is-light'" - :disabled="!(option.canUpload || option.canPublish || option.canDelete)" - class="ml-1" - size="is-small" - @click="repositoryRedirect(option.label)" + :type=" + option.canUpload || option.canPublish || option.canDelete ? 'is-info' : 'is-light' + " + :disabled="!(option.canUpload || option.canPublish || option.canDelete)" + class="ml-1" + size="is-small" + @click="repositoryRedirect(option.label)" > - <span class="file-cta" style="border-color: transparent; background-color: transparent" - :disabled="!(option.canUpload || option.canPublish || option.canDelete)"> + <span + class="file-cta" + style="border-color: transparent; background-color: transparent" + :disabled="!(option.canUpload || option.canPublish || option.canDelete)" + > <b-icon class="file-icon" icon="archive" style="color: white"></b-icon> </span> </b-button> </div> <div v-for="button in buttons" :key="button.id"> <b-button - :disabled="button.disabled" - :icon-left="button.iconName" - :type="button.type" - class="ml-1" - size="is-small" - @click="button.clickCb(option.label)" + :disabled="button.disabled" + :icon-left="button.iconName" + :type="button.type" + class="ml-1" + size="is-small" + @click="button.clickCb(option.label)" > {{ button.label }} - </b-button - > + </b-button> </div> </div> </div> <CollapsibleTree - v-for="child in option.children" - :key="child.id" - :application-title="applicationTitle" - :buttons="buttons" - :class="displayChildren ? '' : 'hide'" - :level="level + 1" - :line-count="child.lineCountChild" - :on-click-label-cb="onClickLabelCb" - :on-upload-cb="onUploadCb" - :option="child" - :radio-name="radioName" - :with-radios="withRadios" - @optionChecked="onInnerOptionChecked" + v-for="child in option.children" + :key="child.id" + :application-title="applicationTitle" + :buttons="buttons" + :class="displayChildren ? '' : 'hide'" + :level="level + 1" + :line-count="child.lineCountChild" + :on-click-label-cb="onClickLabelCb" + :on-upload-cb="onUploadCb" + :option="child" + :radio-name="radioName" + :with-radios="withRadios" + @optionChecked="onInnerOptionChecked" /> </div> </template> <script> -import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome"; +import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import AvailiblityChart from "../charts/AvailiblityChart.vue"; export default { name: "CollapsibleTree", - components: {FontAwesomeIcon, AvailiblityChart}, + components: { FontAwesomeIcon, AvailiblityChart }, props: { applicationName: String, canUpload: { @@ -201,7 +214,7 @@ export default { watch: { innerOptionChecked(value) { return this.$emit("optionChecked", value); - } + }, }, methods: { onInnerOptionChecked: function (value) { @@ -298,4 +311,4 @@ $row-height: 40px; margin-left: auto; margin-right: 50px; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/components/common/TagsCollapse.vue b/ui/src/components/common/TagsCollapse.vue index b902eb41dec54756d0f4af9652ef8f258b9c4515..27ac3b27f25357bd39d1dda60702438c74b238ef 100644 --- a/ui/src/components/common/TagsCollapse.vue +++ b/ui/src/components/common/TagsCollapse.vue @@ -1,10 +1,5 @@ <template> - <b-collapse - class="card" - :open="open" - animation="slide" - aria-id="contentIdForA11y3" - > + <b-collapse class="card" :open="open" animation="slide" aria-id="contentIdForA11y3"> <template #trigger="props"> <div class="card-header" @@ -16,12 +11,12 @@ {{ $t("tags.tag") }} </p> <a class="card-header-icon"> - <b-icon :icon="props.open ? 'chevron-down' : 'chevron-up'"> </b-icon> + <b-icon :icon="props.open ? 'chevron-up' : 'chevron-down'"> </b-icon> </a> </div> </template> <div class="card-content"> - <div class="content columns" style="display: flex; flex-wrap: wrap;"> + <div class="content columns" style="display: flex; flex-wrap: wrap"> <b-field class="column is-narrow" v-for="(tag, index) in tags" :key="index"> <b-switch v-model="tag.selected" passive-type="is-light" type="is-dark"> {{ tag.localName === "no-tag" ? $t("tags.no-tag") : tag.localName }} @@ -30,11 +25,10 @@ </div> </div> </b-collapse> - </template> <script> -import { Component,Prop, Vue } from "vue-property-decorator"; +import { Component, Prop, Vue } from "vue-property-decorator"; @Component({ components: {}, }) @@ -44,6 +38,4 @@ export default class TagsCollapse extends Vue { } </script> -<style scoped> - -</style> \ No newline at end of file +<style scoped></style> diff --git a/ui/src/components/datatype/DataTypeDetailsPanel.vue b/ui/src/components/datatype/DataTypeDetailsPanel.vue index e6042c43e576505f5aa1fd92b4c5352d98651f02..f203c1b8007aa0946b5ac2bed59a17281e02aed5 100644 --- a/ui/src/components/datatype/DataTypeDetailsPanel.vue +++ b/ui/src/components/datatype/DataTypeDetailsPanel.vue @@ -7,9 +7,14 @@ > <div class="columns"> <caption> - {{ $t('tags.tag') }} {{ $t('ponctuation.colon')}} + {{ + $t("tags.tag") + }} + {{ + $t("ponctuation.colon") + }} </caption> - <div v-for="(tag) in dataType.tags" :key="tag" style="margin: 5px"> + <div v-for="tag in dataType.tags" :key="tag" style="margin: 5px"> <b-tag class="is-primary" v-if="tags[tag].localName !== 'no-tag'"> <span> {{ tags[tag].localName }} @@ -18,10 +23,13 @@ </div> </div> <div class="Panel-buttons"> - <b-button type="is-dark" icon-left="key" @click="consultAuthorization" - :disabled="dataType && !dataType.isAdmin">{{ - $t("dataTypesManagement.consult-authorization") - }}</b-button> + <b-button + type="is-dark" + icon-left="key" + @click="consultAuthorization" + :disabled="dataType && !dataType.isAdmin" + >{{ $t("dataTypesManagement.consult-authorization") }}</b-button + > </div> </SidePanel> </template> @@ -58,4 +66,4 @@ export default class DataTypeDetailsPanel extends Vue { margin-bottom: 0.5rem; } } -</style> \ No newline at end of file +</style> diff --git a/ui/src/components/login/Signin.vue b/ui/src/components/login/Signin.vue index b35d4fdcc448ed41b5713ee18a181872f8caede9..d6fc66fd301fca9b00d4e09390018f395cde7607 100644 --- a/ui/src/components/login/Signin.vue +++ b/ui/src/components/login/Signin.vue @@ -102,4 +102,4 @@ export default class SignIn extends Vue { } } } -</script> \ No newline at end of file +</script> diff --git a/ui/src/components/references/ReferencesDetailsPanel.vue b/ui/src/components/references/ReferencesDetailsPanel.vue index 1768a44c4e2dbfaa52f468ba4cd95aedd4f074b3..09202e1a97545e22bc6df5883058507e52141318 100644 --- a/ui/src/components/references/ReferencesDetailsPanel.vue +++ b/ui/src/components/references/ReferencesDetailsPanel.vue @@ -1,15 +1,20 @@ <template> <SidePanel - :close-cb="closeCb" - :left-align="leftAlign" - :open="open" - :title="reference && (reference.refNameLocal || reference.label)" + :close-cb="closeCb" + :left-align="leftAlign" + :open="open" + :title="reference && (reference.refNameLocal || reference.label)" > <div class="columns"> <caption> - {{ $t('tags.tag') }} {{ $t('ponctuation.colon')}} + {{ + $t("tags.tag") + }} + {{ + $t("ponctuation.colon") + }} </caption> - <div v-for="(tag) in reference.tags" :key="tag" style="margin: 5px"> + <div v-for="tag in reference.tags" :key="tag" style="margin: 5px"> <b-tag class="is-primary" v-if="tags[tag].localName !== 'no-tag'"> <span> {{ tags[tag].localName }} @@ -18,32 +23,37 @@ </div> </div> <div class="Panel-buttons"> - <b-button icon-left="trash-alt" type="is-danger" @click="askDeletionConfirmation" - :disabled="reference && !reference.canDelete">{{ - $t("referencesManagement.delete") - }} + <b-button + icon-left="trash-alt" + type="is-danger" + @click="askDeletionConfirmation" + :disabled="reference && !reference.canDelete" + >{{ $t("referencesManagement.delete") }} </b-button> </div> <div class="Panel-buttons"> - <b-button type="is-dark" icon-left="key" @click="consultAuthorization" - :disabled="reference && !reference.isAdmin">{{ - $t("dataTypesManagement.consult-authorization") - }}</b-button> + <b-button + type="is-dark" + icon-left="key" + @click="consultAuthorization" + :disabled="reference && !reference.isAdmin" + >{{ $t("dataTypesManagement.consult-authorization") }}</b-button + > </div> </SidePanel> </template> <script> -import {AlertService} from "@/services/AlertService"; -import {Component, Prop, Vue} from "vue-property-decorator"; +import { AlertService } from "@/services/AlertService"; +import { Component, Prop, Vue } from "vue-property-decorator"; import SidePanel from "../common/SidePanel.vue"; @Component({ - components: {SidePanel}, + components: { SidePanel }, }) export default class ReferencesDetailsPanel extends Vue { - @Prop({default: false}) leftAlign; - @Prop({default: false}) open; + @Prop({ default: false }) leftAlign; + @Prop({ default: false }) open; @Prop() reference; @Prop() applicationName; @Prop() closeCb; @@ -53,11 +63,11 @@ export default class ReferencesDetailsPanel extends Vue { askDeletionConfirmation() { this.alertService.dialog( - this.$t("alert.warning"), - this.$t("alert.reference-deletion-msg", {label: this.reference.label}), - this.$t("alert.delete"), - "is-danger", - () => this.deleteReference() + this.$t("alert.warning"), + this.$t("alert.reference-deletion-msg", { label: this.reference.label }), + this.$t("alert.delete"), + "is-danger", + () => this.deleteReference() ); } @@ -66,9 +76,7 @@ export default class ReferencesDetailsPanel extends Vue { } consultAuthorization() { - this.$router.push( - `/applications/${this.applicationName}/references/authorizations` - ); + this.$router.push(`/applications/${this.applicationName}/references/authorizations`); } } </script> @@ -82,4 +90,4 @@ export default class ReferencesDetailsPanel extends Vue { margin-bottom: 0.5rem; } } -</style> \ No newline at end of file +</style> diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 22500627721efc94fbf7307d3c406012f6134353..40e870f9fd1253a623832887a5b5c2c6042692db 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -168,6 +168,11 @@ "invalidPatternForVariableComponentRegularExpressionChecker": "The regular expression pattern <code>{pattern}</code> defined for the component <code>{component}</code> of variable <code>{variable}</code> of data type <code>{dataType}</code> is incorrect", "invalidReference": "For the identified component: <code> {target} </code> the value <code> {value} </code> does not exist in the reference <code> {refType} </code>. Expected values ​​<code> {referenceValues} </code>. ", "missingTagDeclaration": "In the repository {referenceName}, the tag {tagName} is not declared.<br/>. It must belong to the list of tags {declaredTag}", + "missingReferentielTagDeclaration": "In the repository {referenceName}, the tag {tagName} is not declared.<br/>. It must belong to the list of tags {declaredTag}", + "missingReferenceColumnsTagDeclaration": "In repository <code>{sectionName}</code> of column <code>{variableName}</code>, tag <code>{tagName}</code> is not declared.<br/ >. It must belong to the list of tags <code>{declaredTag}</code>", + "missingDataTypeTagDeclaration": "In the dataType <code>{sectionName}</code>, the tag <code>{tagName}</code> is not declared.<br/>. It must belong to the list of tags <code> {declaredTag}</code>", + "missingVariableDescriptionTagDeclaration": "In the dataType <code>{sectionName}</code> in the section <code>data</code> of the variable <code>{variableName}</code>, the tag <code>{tagName}</ code> is not declared.<br/>. It must belong to the list of tags <code>{declaredTag}</code>", + "missingVariableComponentDescriptionTagDeclaration": "In dataType <code>{sectionName}</code> at section <code>data</code> of variable <code>{variableName}</code> at compenent <code>{compenentName}</code> , the tag <code>{tagName}</code> is not declared.<br/>It must belong to the list of tags <code>{declaredTag}</code>", "invalidReferenceWithColumn": "For column: <code> {target} </code> the value <code> {value} </code> does not exist in the reference <code> {refType} </code>. Values expected <code> {referenceValues} </code>. ", "missingAggregationComponentForChart": "In the graph description of variable <code>{variable}</code> of data type <code>{dataType}</code>, component <code>{aggregationComponent}</code> of the aggregation variable <code>{aggregationVariable}</code> is not declared.<br /> Expected Values ​​<code>{components}</code>", "missingAggregationVariableForChart": "In the chart description of variable <code>{variable}</code> of data type <code>{dataType}</code>, aggregation variable <code>{aggregationVariable}< /code> is not declared.<br /> Expected Values ​​<code>{variables}</code>", diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index bfc9a08b5b8a7a86260f622000fbf156ea0db018..a7719e661a7d52386fc244a0c0e68065074e3859 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -168,6 +168,11 @@ "invalidPatternForVariableComponentRegularExpressionChecker": "L'expression régulière <code>{pattern}</code> défini pour le composant <code>{component}</code> de la variable <code>{variable}</code> du type de données <code>{dataType}</code> est incorrect", "invalidReference": "Pour le composant identifié : <code>{target}</code> la valeur <code>{value}</code> n'existe pas dans la référence <code>{refType}</code>. Valeurs attendues <code>{referenceValues}</code>.", "missingTagDeclaration": "Dans le referentiel {referenceName}, l'étiquette {tagName} n'est pas déclarée.<br/>. Elle doit appartenir à la liste des étiquettes {declaredTag}", + "missingReferentielTagDeclaration": "Dans le référentiel <code>{sectionName}</code>, l'étiquette <code>{tagName}</code> n'est pas déclarée.<br/>. Elle doit appartenir à la liste des étiquettes <code>{declaredTag}</code>", + "missingReferenceColumnsTagDeclaration": "Dans le référentiel <code>{sectionName}</code> de la colonne <code>{variableName}</code>, l'étiquette <code>{tagName}</code> n'est pas déclarée.<br/>. Elle doit appartenir à la liste des étiquettes <code>{declaredTag}</code>", + "missingDataTypeTagDeclaration": "Dans le dataType <code>{sectionName}</code>, l'étiquette <code>{tagName}</code> n'est pas déclarée.<br/>. Elle doit appartenir à la liste des étiquettes <code>{declaredTag}</code>", + "missingVariableDescriptionTagDeclaration": "Dans le dataType <code>{sectionName}</code> à la section <code>data</code> de la variable <code>{variableName}</code>, l'étiquette <code>{tagName}</code> n'est pas déclarée.<br/>. Elle doit appartenir à la liste des étiquettes <code>{declaredTag}</code>", + "missingVariableComponentDescriptionTagDeclaration": "Dans le dataType <code>{sectionName}</code> à la section <code>data</code> de la variable <code>{variableName}</code> au compenent <code>{compenentName}</code>, l'étiquette <code>{tagName}</code> n'est pas déclarée.<br/>. Elle doit appartenir à la liste des étiquettes <code>{declaredTag}</code>", "invalidReferenceWithColumn": "Pour la colonne : <code>{target}</code> la valeur <code>{value}</code> n'existe pas dans la référence <code>{refType}</code>. Valeurs attendues <code>{referenceValues}</code>.", "missingAggregationComponentForChart": "Dans la description du graphe de la variable <code> {variable} </code> du type de données <code> {dataType} </code>, le componsant <code> {aggregationComponent}</code> de la variable d'aggrégation <code> {aggregationVariable}</code> n'est pas déclarée.<br /> Valeurs attendues <code>{components}</code>", "missingAggregationVariableForChart": "Dans la description du graphe de la variable <code> {variable} </code> du type de données <code> {dataType} </code>, la variable d'aggrégation <code> {aggregationVariable}</code> n'est pas déclarée.<br /> Valeurs attendues <code>{variables}</code>", diff --git a/ui/src/model/Button.js b/ui/src/model/Button.js index c5eae5bd358d12565d1118b5a5a27673e3dc73d0..a56f7c1ec65c96a890b7f379e934cde96cfa0f71 100644 --- a/ui/src/model/Button.js +++ b/ui/src/model/Button.js @@ -1,18 +1,18 @@ export class Button { - id; - label; - iconName; - clickCb; - type; + id; + label; + iconName; + clickCb; + type; - disabled = false; + disabled = false; - constructor(label, iconName, clickCb, type, id, disabled) { - this.label = label; - this.iconName = iconName; - this.clickCb = clickCb; - this.id = id ? id : label ? label : iconName; - this.type = type; - this.disabled = disabled; - } -} \ No newline at end of file + constructor(label, iconName, clickCb, type, id, disabled) { + this.label = label; + this.iconName = iconName; + this.clickCb = clickCb; + this.id = id ? id : label ? label : iconName; + this.type = type; + this.disabled = disabled; + } +} diff --git a/ui/src/model/authorization/Authorizations.js b/ui/src/model/authorization/Authorizations.js index 85791ccc4cbbb3b13609f6323d068c946635c372..a68e0c3af6a9c161c811da889aab3d7d17f06b49 100644 --- a/ui/src/model/authorization/Authorizations.js +++ b/ui/src/model/authorization/Authorizations.js @@ -116,4 +116,4 @@ export class Authorizations { } } } -} \ No newline at end of file +} diff --git a/ui/src/router/index.js b/ui/src/router/index.js index a5db580d6282f5c3dfc2024e727aebd14d023ee1..ecf0f2bebf93dd188a0c9cf8ec3df55da221bb0d 100644 --- a/ui/src/router/index.js +++ b/ui/src/router/index.js @@ -108,4 +108,4 @@ const router = new VueRouter({ routes, }); -export default router; \ No newline at end of file +export default router; diff --git a/ui/src/services/AlertService.js b/ui/src/services/AlertService.js index 128e5955016dfd56582835452337416006d708f9..e21c81b55ef551103fef76ca621a57f905cf8623 100644 --- a/ui/src/services/AlertService.js +++ b/ui/src/services/AlertService.js @@ -72,4 +72,4 @@ export class AlertService { }, }); } -} \ No newline at end of file +} diff --git a/ui/src/services/ErrorsService.js b/ui/src/services/ErrorsService.js index b5f72696c544737f43b1f9b2f5ad184e00eddc29..903e4a801ebf29477e71215b13009ec4c0124671 100644 --- a/ui/src/services/ErrorsService.js +++ b/ui/src/services/ErrorsService.js @@ -50,6 +50,12 @@ const ERRORS = { invalidPatternForVariableComponentDateChecker: (params) => i18n.t("errors.invalidPatternForVariableComponentDateChecker", params), invalidPatternForVariableComponentRegularExpressionChecker: (params) => i18n.t("errors.invalidPatternForVariableComponentRegularExpressionChecker", params), invalidReference: (params) => i18n.t("errors.invalidReference", params), + missingTagDeclaration: (params) => i18n.t("errors.missingTagDeclaration", params), + missingReferentielTagDeclaration: (params) => i18n.t("errors.missingReferentielTagDeclaration", params), + missingReferenceColumnsTagDeclaration: (params) => i18n.t("errors.missingReferenceColumnsTagDeclaration", params), + missingDataTypeTagDeclaration: (params) => i18n.t("errors.missingDataTypeTagDeclaration", params), + missingVariableDescriptionTagDeclaration: (params) => i18n.t("errors.missingVariableDescriptionTagDeclaration", params), + missingVariableComponentDescriptionTagDeclaration: (params) => i18n.t("errors.missingVariableComponentDescriptionTagDeclaration", params), invalidReferenceWithColumn: (params) => i18n.t("errors.invalidReferenceWithColumn", params), missingAggregationComponentForChart: (params) => i18n.t("errors.missingAggregationComponentForChart", params), missingAggregationVariableForChart: (params) => i18n.t("errors.missingAggregationVariableForChart", params), @@ -177,4 +183,4 @@ export class ErrorsService { return func(params); }); } -} \ No newline at end of file +} diff --git a/ui/src/services/Fetcher.js b/ui/src/services/Fetcher.js index 4f8d47746cf7c73c8feae75cc2f8be86983d41f8..6a72f60cc4df9f64d59e1cd9cb1ee8eb7019e056 100644 --- a/ui/src/services/Fetcher.js +++ b/ui/src/services/Fetcher.js @@ -142,4 +142,4 @@ export class Fetcher { Locales.FRENCH ); } -} \ No newline at end of file +} diff --git a/ui/src/services/TagService.js b/ui/src/services/TagService.js new file mode 100644 index 0000000000000000000000000000000000000000..55f7d3302f2c47b6e3de70a215ebd32ec9dd3425 --- /dev/null +++ b/ui/src/services/TagService.js @@ -0,0 +1,41 @@ +import { Fetcher } from "./Fetcher"; + +export class TagService extends Fetcher { + static INSTANCE = new TagService(); + static HIDDEN_TAG = "__hidden__"; + + toBeShown(tags, datas) { + if (!tags) { + return datas; + } + let selectedTags = Object.keys(tags).filter((t) => { + return tags[t].selected; + }); + if (!Object.keys(tags).length) { + return datas; + } + return datas.filter((data) => { + return data.tags.some((t) => { + return selectedTags.includes(t); + }); + }); + } + + currentTags(tags, currentTags, application, internationalisationService) { + for (const tagName of currentTags) { + if (tagName !== "__hidden__") { + if (tags[tagName]) { + continue; + } + tags[tagName] = {}; + tags[tagName].selected = true; + tags[tagName].localName = internationalisationService.getLocaleforPath( + application, + "internationalizedTags." + tagName, + tagName + ); + } + } + return tags; + } +} diff --git a/ui/src/services/rest/ApplicationService.js b/ui/src/services/rest/ApplicationService.js index 1898e9993cef8018d3c30064ce7337cb2f45cfe3..719a1ce200a6618f8926fc4d1799b94ce7784777 100644 --- a/ui/src/services/rest/ApplicationService.js +++ b/ui/src/services/rest/ApplicationService.js @@ -16,14 +16,14 @@ export class ApplicationService extends Fetcher { } async getApplications(filter) { - var applications = await this.get("applications/", {filter}); + var applications = await this.get("applications/", { filter }); return applications.map((a) => { return InternationalisationService.INSTANCE.mergeInternationalization(a); }); } async getApplication(name, filter) { - var application = await this.get("applications/" + name, {filter}); + var application = await this.get("applications/" + name, { filter }); return InternationalisationService.INSTANCE.mergeInternationalization(application); } @@ -42,4 +42,4 @@ export class ApplicationService extends Fetcher { async getValidateConfiguration() { return this.post("validate-configuration"); } -} \ No newline at end of file +} diff --git a/ui/src/services/rest/AuthorizationService.js b/ui/src/services/rest/AuthorizationService.js index e9a36cbbf403b4ea128b8593360df7925255916e..61703a62cced35a25ea4557d6df4452947491b08 100644 --- a/ui/src/services/rest/AuthorizationService.js +++ b/ui/src/services/rest/AuthorizationService.js @@ -1,67 +1,69 @@ -import {Fetcher} from "../Fetcher"; +import { Fetcher } from "../Fetcher"; export class AuthorizationService extends Fetcher { - static INSTANCE = new AuthorizationService(); + static INSTANCE = new AuthorizationService(); - constructor() { - super(); - } + constructor() { + super(); + } - async getAuthorizations(applicationName, dataTypeId, authorizationId) { - return applicationName - ? this.get( - `applications/${applicationName}/dataType/${dataTypeId}/authorization/${authorizationId}` - ) - : this.get("authorization"); - } + async getAuthorizations(applicationName, dataTypeId, authorizationId) { + return applicationName + ? this.get( + `applications/${applicationName}/dataType/${dataTypeId}/authorization/${authorizationId}` + ) + : this.get("authorization"); + } - async getDataAuthorizations(applicationName, dataTypeId) { - return this.get(`applications/${applicationName}/dataType/${dataTypeId}/authorization`); - } + async getDataAuthorizations(applicationName, dataTypeId) { + return this.get(`applications/${applicationName}/dataType/${dataTypeId}/authorization`); + } - async getReferencesAuthorizations(applicationName, params) { - return this.get(`applications/${applicationName}/references/authorization`, params); - } + async getReferencesAuthorizations(applicationName, params) { + return this.get(`applications/${applicationName}/references/authorization`, params); + } - async getReferencesAuthorizationsForUser(applicationName, userId) { - return this.get(`applications/${applicationName}/references/authorization/${userId?userId:'null'}/`); - } + async getReferencesAuthorizationsForUser(applicationName, userId) { + return this.get( + `applications/${applicationName}/references/authorization/${userId ? userId : "null"}/` + ); + } - async revokeReferenceAuthorization(applicationName, id) { - return this.delete(`applications/${applicationName}/references/authorization/${id}`); - } + async revokeReferenceAuthorization(applicationName, id) { + return this.delete(`applications/${applicationName}/references/authorization/${id}`); + } - async getAuthorizationGrantableInfos(applicationName, dataTypeId) { - return this.get(`applications/${applicationName}/dataType/${dataTypeId}/grantable`); - } + async getAuthorizationGrantableInfos(applicationName, dataTypeId) { + return this.get(`applications/${applicationName}/dataType/${dataTypeId}/grantable`); + } - async createAuthorization(applicationName, dataTypeId, authorizationModel) { - return this.post( - `applications/${applicationName}/dataType/${dataTypeId}/authorization`, - authorizationModel, - false - ); - } + async createAuthorization(applicationName, dataTypeId, authorizationModel) { + return this.post( + `applications/${applicationName}/dataType/${dataTypeId}/authorization`, + authorizationModel, + false + ); + } - async createOrUpdateReferencesAuthorization(authorization) { - return this.post( - `applications/${authorization.applicationNameOrId}/references/authorization`, - authorization, - false - ); - } + async createOrUpdateReferencesAuthorization(authorization) { + return this.post( + `applications/${authorization.applicationNameOrId}/references/authorization`, + authorization, + false + ); + } - async createAuthorizedRole(roleName, userIdOrLogin, applicationPattern) { - return this.put(`/authorization/${roleName}`, {applicationPattern, userIdOrLogin}); - } + async createAuthorizedRole(roleName, userIdOrLogin, applicationPattern) { + return this.put(`/authorization/${roleName}`, { applicationPattern, userIdOrLogin }); + } - async revokeAuthorizedRole(roleName, userIdOrLogin, applicationPattern) { - return this.delete(`authorization/${roleName}`, {applicationPattern, userIdOrLogin}); - } + async revokeAuthorizedRole(roleName, userIdOrLogin, applicationPattern) { + return this.delete(`authorization/${roleName}`, { applicationPattern, userIdOrLogin }); + } - async revokeAuthorization(applicationName, dataTypeId, authorizationId) { - return this.delete( - `applications/${applicationName}/dataType/${dataTypeId}/authorization/${authorizationId}` - ); - } -} \ No newline at end of file + async revokeAuthorization(applicationName, dataTypeId, authorizationId) { + return this.delete( + `applications/${applicationName}/dataType/${dataTypeId}/authorization/${authorizationId}` + ); + } +} diff --git a/ui/src/services/rest/FileService.js b/ui/src/services/rest/FileService.js index 1f714813ee785e4632294ee57cdcd0fe8dafbffc..34c0ec06271a0b16391c82529b8a1c356fbdab5a 100644 --- a/ui/src/services/rest/FileService.js +++ b/ui/src/services/rest/FileService.js @@ -20,4 +20,4 @@ export class FileService extends Fetcher { async download(applicationName, uuid) { return this.downloadFile(`applications/${applicationName}/file/${uuid}`); } -} \ No newline at end of file +} diff --git a/ui/src/services/rest/LoginService.js b/ui/src/services/rest/LoginService.js index c0a1f5a226adcc36b3cfeef826446d96e3769711..2a8846de72e3db11814772e7876b52e7049377e0 100644 --- a/ui/src/services/rest/LoginService.js +++ b/ui/src/services/rest/LoginService.js @@ -40,4 +40,4 @@ export class LoginService extends Fetcher { await this.delete("logout"); this.notifyCrendentialsLost(); } -} \ No newline at end of file +} diff --git a/ui/src/style/_common.scss b/ui/src/style/_common.scss index 9a8ece84d1dbbf968e880a94edf2636a1d795d77..483c695d0ab0231f6b752189af68e2a4708bb68b 100644 --- a/ui/src/style/_common.scss +++ b/ui/src/style/_common.scss @@ -19,6 +19,12 @@ body { } } +h2 { + color: $dark; + font-weight: 600; + font-size: 1.2em; +} + a { color: $info; } diff --git a/ui/src/views/application/ApplicationsView.vue b/ui/src/views/application/ApplicationsView.vue index bb5521d59012ce9913f9c0933b9e061e529ddc18..e9ab4bfe7c3005512819df1d41074572157725bb 100644 --- a/ui/src/views/application/ApplicationsView.vue +++ b/ui/src/views/application/ApplicationsView.vue @@ -7,11 +7,11 @@ <section> <div v-if="canCreateApplication" class="card is-clickable"> <div - class="card-header createApplication" - role="button" - style="margin-bottom: 50px" - @click="createApplication" - tabindex="0" + class="card-header createApplication" + role="button" + style="margin-bottom: 50px" + @click="createApplication" + tabindex="0" > <a class="card-header-icon createApplication"> <b-icon icon="plus"></b-icon> @@ -31,41 +31,38 @@ <div class="content"> <b-field class="columns"> <b-checkbox - v-model="checkboxDate" - false-value="false" - true-value="true" - field="name" - class="column" - @input="recalculate" - >{{ $t("applications.trierRecent") }} - </b-checkbox - > + v-model="checkboxDate" + false-value="false" + true-value="true" + field="name" + class="column" + @input="recalculate" + >{{ $t("applications.trierRecent") }} + </b-checkbox> </b-field> </div> <div class="content"> <b-field class="columns"> <b-checkbox - id="checkboxTrieA_z" - v-model="checkboxTrieA_z" - false-value="false" - true-value="true" - field="name" - class="column" - @input="recalculate" - >{{ $t("applications.trierA_z") }} - </b-checkbox - > + id="checkboxTrieA_z" + v-model="checkboxTrieA_z" + false-value="false" + true-value="true" + field="name" + class="column" + @input="recalculate" + >{{ $t("applications.trierA_z") }} + </b-checkbox> <b-checkbox - id="checkboxTrieZ_a" - v-model="checkboxTrieZ_a" - false-value="false" - true-value="true" - field="name" - class="column" - @input="recalculate" - >{{ $t("applications.trierZ_a") }} - </b-checkbox - > + id="checkboxTrieZ_a" + v-model="checkboxTrieZ_a" + false-value="false" + true-value="true" + field="name" + class="column" + @input="recalculate" + >{{ $t("applications.trierZ_a") }} + </b-checkbox> </b-field> </div> </div> @@ -79,12 +76,12 @@ <b-field> {{ $t("applications.name") }} <b-autocomplete - v-model="filterName" - :data="selectedApplications" - field="localName" - placeholder="olac" - @click.native="recalculate" - @keyup.native="recalculate" + v-model="filterName" + :data="selectedApplications" + field="localName" + placeholder="olac" + @click.native="recalculate" + @keyup.native="recalculate" > </b-autocomplete> </b-field> @@ -101,30 +98,30 @@ </caption> <div class="columns"> <div - v-for="(application, index) in selectedApplications" - :key="application.name" - style="margin-left: 30px" + v-for="(application, index) in selectedApplications" + :key="application.name" + style="margin-left: 30px" > <div class="column is-3-widescreen is-6-desktop is-12-tablet"> <div - v-if="index >= (current - 1) * perPage && index < current * perPage" - class="applicationCard card" + v-if="index >= (current - 1) * perPage && index < current * perPage" + class="applicationCard card" > <div class="card-header"> <div class="title card-header-title"> <p field="name" style="font-size: 1.5rem">{{ application.localName }}</p> </div> <b-button - class="btnModal" - icon-left="ellipsis-h" - size="is-medium" - type="is-primary" - @click="showModal(application.name)" + class="btnModal" + icon-left="ellipsis-h" + size="is-medium" + type="is-primary" + @click="showModal(application.name)" /> <b-modal - v-show="isSelectedName === application.name" - :id="application.name" - v-model="isCardModalActive" + v-show="isSelectedName === application.name" + :id="application.name" + v-model="isCardModalActive" > <div class="card"> <div class="card-header"> @@ -135,7 +132,7 @@ <div class="card-content"> <div class="content"> <p - v-html=" + v-html=" $t('applications.version', { applicationName: application.localName, version: application.version, @@ -144,12 +141,12 @@ /> <p class="comment"> <span - :class="application.comment ? 'has-text-primary' : 'has-text-warning'" + :class="application.comment ? 'has-text-primary' : 'has-text-warning'" > {{ application.comment - ? $t("applications.comment") - : $t("applications.no-comment") + ? $t("applications.comment") + : $t("applications.no-comment") }} </span> <span>{{ application.comment }}</span> @@ -159,31 +156,32 @@ <div class="card-footer"> <div class="card-footer-item"> <b-button - icon-left="drafting-compass" - @click="displayReferencesManagement(application)" - >{{ $t("applications.references") }} + icon-left="drafting-compass" + @click="displayReferencesManagement(application)" + >{{ $t("applications.references") }} </b-button> </div> <div class="card-footer-item"> <b-button icon-left="poll" @click="displayDataSetManagement(application)" - >{{ $t("applications.dataset") }} + >{{ $t("applications.dataset") }} </b-button> </div> <div class="card-footer-item" v-if="canCreateApplication"> <b-button - icon-left="pen-square" - type="is-warning" - @click="updateApplication(application.id)" + icon-left="pen-square" + type="is-warning" + @click="updateApplication(application.id)" > Modifier l'application </b-button> </div> <div class="card-footer-item" v-if="canCreateApplication"> <b-button - icon-left="download" - type="is-primary" - @click="downloadYamlApplication(application)" - > {{ $t("referencesManagement.download") }} + icon-left="download" + type="is-primary" + @click="downloadYamlApplication(application)" + > + {{ $t("referencesManagement.download") }} </b-button> </div> </div> @@ -200,18 +198,18 @@ <div class="card-footer"> <div class="card-footer-item"> <b-button - v-if="application.referenceType.length !== 0" - icon-left="drafting-compass" - @click="displayReferencesManagement(application)" + v-if="application.referenceType.length !== 0" + icon-left="drafting-compass" + @click="displayReferencesManagement(application)" > {{ $t("applications.references") }} </b-button> </div> <div class="card-footer-item"> <b-button - v-if="application.dataType.length !== 0" - icon-left="poll" - @click="displayDataSetManagement(application)" + v-if="application.dataType.length !== 0" + icon-left="poll" + @click="displayDataSetManagement(application)" > {{ $t("applications.dataset") }} </b-button> @@ -221,21 +219,21 @@ </div> </div> </div> - <hr/> + <hr /> <b-pagination - v-if="perPage <= applications.length" - :current.sync="current" - :per-page="perPage" - :range-after="2" - :range-before="2" - :rounded="true" - role="navigation" - :aria-label="$t('menu.aria-pagination')" - :aria-current-label="$t('menu.aria-curent-page')" - :aria-next-label="$t('menu.aria-next-page')" - :aria-previous-label="$t('menu.aria-previous-page')" - order="is-centered" - :total="applications.length" + v-if="perPage <= applications.length" + :current.sync="current" + :per-page="perPage" + :range-after="2" + :range-before="2" + :rounded="true" + role="navigation" + :aria-label="$t('menu.aria-pagination')" + :aria-current-label="$t('menu.aria-curent-page')" + :aria-next-label="$t('menu.aria-next-page')" + :aria-previous-label="$t('menu.aria-previous-page')" + order="is-centered" + :total="applications.length" > </b-pagination> </div> @@ -244,15 +242,15 @@ </template> <script> -import {ApplicationService} from "@/services/rest/ApplicationService"; -import {InternationalisationService} from "@/services/InternationalisationService"; -import {Component, Vue} from "vue-property-decorator"; +import { ApplicationService } from "@/services/rest/ApplicationService"; +import { InternationalisationService } from "@/services/InternationalisationService"; +import { Component, Vue } from "vue-property-decorator"; import PageView from "@/views/common/PageView.vue"; -import {LoginService} from "@/services/rest/LoginService"; -import {FileService} from "@/services/rest/FileService"; +import { LoginService } from "@/services/rest/LoginService"; +import { FileService } from "@/services/rest/FileService"; @Component({ - components: {PageView}, + components: { PageView }, }) export default class ApplicationsView extends Vue { applicationService = ApplicationService.INSTANCE; @@ -260,7 +258,7 @@ export default class ApplicationsView extends Vue { applications = []; canCreateApplication = - LoginService.INSTANCE.getAuthenticatedUser().authorizedForApplicationCreation; + LoginService.INSTANCE.getAuthenticatedUser().authorizedForApplicationCreation; fileService = FileService.INSTANCE; // show modal and cards isSelectedName = ""; @@ -288,7 +286,7 @@ export default class ApplicationsView extends Vue { // filter by name this.selectedApplications = this.selectedApplications.filter( - (a) => a.localName.toString().toLowerCase().indexOf(this.filterName.toLowerCase()) >= 0 + (a) => a.localName.toString().toLowerCase().indexOf(this.filterName.toLowerCase()) >= 0 ); // order by date or name @@ -297,14 +295,14 @@ export default class ApplicationsView extends Vue { else this.selectedApplications.sort((a, b) => b.creationDate - a.creationDate).reverse(); if (this.checkboxTrieZ_a === "true" || this.checkboxTrieA_z === "true") { if ( - this.checkboxTrieA_z === "true" && - document.activeElement.parentElement === document.getElementById("checkboxTrieA_z") + this.checkboxTrieA_z === "true" && + document.activeElement.parentElement === document.getElementById("checkboxTrieA_z") ) { this.selectedApplications.sort((a, b) => a.name.localeCompare(b.name)); this.checkboxTrieZ_a = "false"; } else if ( - this.checkboxTrieZ_a === "true" && - document.activeElement.parentElement === document.getElementById("checkboxTrieZ_a") + this.checkboxTrieZ_a === "true" && + document.activeElement.parentElement === document.getElementById("checkboxTrieZ_a") ) { this.selectedApplications.sort((a, b) => a.name.localeCompare(b.name)).reverse(); this.checkboxTrieA_z = "false"; @@ -322,10 +320,13 @@ export default class ApplicationsView extends Vue { } async init() { - this.applications = await this.applicationService.getApplications(['DATATYPE', 'REFERENCETYPE']); + this.applications = await this.applicationService.getApplications([ + "DATATYPE", + "REFERENCETYPE", + ]); this.selectedApplications = this.applications; - if(this.selectedApplications.length === 0) { - this.loading = true + if (this.selectedApplications.length === 0) { + this.loading = true; } if (this.checkboxDate === "true") this.selectedApplications.sort((a, b) => b.creationDate - a.creationDate); @@ -431,4 +432,4 @@ export default class ApplicationsView extends Vue { width: 100px; } } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/authorizations/AuthorizationManagementForApplicationCreatorView.vue b/ui/src/views/authorizations/AuthorizationManagementForApplicationCreatorView.vue index 707b904f137ce46574c85e6f91e6682f2115085b..6173fa170b3ac1eceba7fff0dad0322abc47885a 100644 --- a/ui/src/views/authorizations/AuthorizationManagementForApplicationCreatorView.vue +++ b/ui/src/views/authorizations/AuthorizationManagementForApplicationCreatorView.vue @@ -280,4 +280,4 @@ export default class AuthorizationManagementForApplicationCreatorView extends Vu .hasBorder { border: solid #fb0738 6px; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/authorizations/AuthorizationManagementView.vue b/ui/src/views/authorizations/AuthorizationManagementView.vue index 731c2c73a9b494f385a4f6c1cf5da55894d4a51d..8f3a6b8889b70e1710a6d6000d19e8d64e8e6d76 100644 --- a/ui/src/views/authorizations/AuthorizationManagementView.vue +++ b/ui/src/views/authorizations/AuthorizationManagementView.vue @@ -205,7 +205,7 @@ export default class AuthorizationManagementView extends Vue { } addApplication(value, user) { - if (this.changes.applications[user.id]?.remove?.find((v) => v === value)) { + if (this.changes.applications[user.id]?.remove?.find((v) => v === value)) { this.changes.applications[user.id].remove = this.changes.applications[user.id].remove.filter( (v) => v !== value ); @@ -237,4 +237,4 @@ export default class AuthorizationManagementView extends Vue { .icon { font-size: 0.5rem; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/authorizations/AuthorizationReferencesManagement.vue b/ui/src/views/authorizations/AuthorizationReferencesManagement.vue index 599ae9491512c407d2fb29f36cdb0a839972bd3f..baccaad01fcb5927b544f028e544652097d44383 100644 --- a/ui/src/views/authorizations/AuthorizationReferencesManagement.vue +++ b/ui/src/views/authorizations/AuthorizationReferencesManagement.vue @@ -1,10 +1,10 @@ <template> <PageView class="with-submenu"> <SubMenu - :aria-label="$t('menu.aria-sub-menu')" - :paths="subMenuPaths" - :root="$t('titles.applications-page')" - role="navigation" + :aria-label="$t('menu.aria-sub-menu')" + :paths="subMenuPaths" + :root="$t('titles.applications-page')" + role="navigation" /> <h1 class="title main-title"> {{ $t("titles.references-authorizations") }} @@ -20,47 +20,47 @@ </div> </div> <b-table - v-if="authorizations.length" - :data="authorizations" - :is-focusable="true" - :is-hoverable="true" - :paginated="true" - :per-page="perPage" - :striped="true" - class="row" - height="100%" + v-if="authorizations.length" + :data="authorizations" + :is-focusable="true" + :is-hoverable="true" + :paginated="true" + :per-page="perPage" + :striped="true" + class="row" + height="100%" > <template #pagination> <b-pagination - v-model="currentPage" - :aria-current-label="$t('menu.aria-curent-page')" - :aria-label="$t('menu.aria-pagination')" - :aria-next-label="$t('menu.aria-next-page')" - :aria-previous-label="$t('menu.aria-previous-page')" - :current-page.sync="currentPage" - :per-page="perPage" - :rounded="true" - :total="authorizations.length" - order="is-centered" - range-after="3" - range-before="3" - role="navigation" - @change="changePage" + v-model="currentPage" + :aria-current-label="$t('menu.aria-curent-page')" + :aria-label="$t('menu.aria-pagination')" + :aria-next-label="$t('menu.aria-next-page')" + :aria-previous-label="$t('menu.aria-previous-page')" + :current-page.sync="currentPage" + :per-page="perPage" + :rounded="true" + :total="authorizations.length" + order="is-centered" + range-after="3" + range-before="3" + role="navigation" + @change="changePage" /> </template> <b-table-column - :label="$t('dataTypeAuthorizations.name')" - :searchable="true" - b-table-column - field="name" - sortable + :label="$t('dataTypeAuthorizations.name')" + :searchable="true" + b-table-column + field="name" + sortable > <template #searchable="props"> <b-input - v-model="props.filters[props.column.field]" - :placeholder="$t('dataTypeAuthorizations.search')" - icon="search" - size="is-small" + v-model="props.filters[props.column.field]" + :placeholder="$t('dataTypeAuthorizations.search')" + icon="search" + size="is-small" /> </template> <template v-slot="props"> @@ -68,20 +68,20 @@ </template> </b-table-column> <b-table-column - v-slot="props" - :label="$t('dataTypeAuthorizations.users')" - b-table-column - field="users" - sortable + v-slot="props" + :label="$t('dataTypeAuthorizations.users')" + b-table-column + field="users" + sortable > <template v-for="(user, idx) in props.row.users.map((use) => use.login)"> <div v-bind:key="idx" class="columns"> <b-tooltip :label="$t('dataTypeAuthorizations.showMore')" position="is-right"> <a - class="show-check-details column is-half" - style="color: #006464ff; margin-left: 10px" - type="is-primary " - @click="showModalUser(user)" + class="show-check-details column is-half" + style="color: #006464ff; margin-left: 10px" + type="is-primary " + @click="showModalUser(user)" > {{ user }} </a> @@ -90,20 +90,20 @@ </template> </b-table-column> <b-table-column - v-slot="props" - :label="$t('dataTypeAuthorizations.roles')" - b-table-column - field="authorizations" - sortable + v-slot="props" + :label="$t('dataTypeAuthorizations.roles')" + b-table-column + field="authorizations" + sortable > <template v-for="(authorization, idx) in Object.keys(props.row.authorizations)"> <div v-bind:key="idx" class="columns"> <b-tooltip :label="$t('dataTypeAuthorizations.showMore')" position="is-right"> <a - class="show-check-details column is-half" - style="color: #006464ff; margin-left: 10px" - type="is-primary " - @click=" + class="show-check-details column is-half" + style="color: #006464ff; margin-left: 10px" + type="is-primary " + @click=" showModalRole( props.row.name, authorization, @@ -119,32 +119,36 @@ </b-table-column> <b-table-column v-slot="props" :label="$t('dataTypeAuthorizations.actions')" b-table-column> <b-button - icon-left="times-circle" - size="is-small" - style="height: 1.5em; background-color: transparent; font-size: 1.45rem" - type="is-danger is-light" - @click="revoke(props.row.uuid)" + icon-left="times-circle" + size="is-small" + style="height: 1.5em; background-color: transparent; font-size: 1.45rem" + type="is-danger is-light" + @click="revoke(props.row.uuid)" > </b-button> <b-button - icon-left="pen-square" - onmouseout="this.style.color='';" - onmouseover="this.style.color='rgba(255,140,0,0.5)'" - outlined - size="is-small" - style=" + icon-left="pen-square" + onmouseout="this.style.color='';" + onmouseover="this.style.color='rgba(255,140,0,0.5)'" + outlined + size="is-small" + style=" height: 1.5em; background-color: transparent; font-size: 1.45rem; border-color: transparent; " - type="is-warning" - @click="addAuthorization(props.row.uuid)" + type="is-warning" + @click="addAuthorization(props.row.uuid)" > </b-button> </b-table-column> </b-table> - <b-field v-else :label="$t('referencesAuthorizations.no-data')" class="has-text-warning-light"/> + <b-field + v-else + :label="$t('referencesAuthorizations.no-data')" + class="has-text-warning-light" + /> </div> </PageView> </template> @@ -152,28 +156,28 @@ <script> import PageView from "../common/PageView.vue"; import SubMenu from "@/components/common/SubMenu.vue"; -import {SubMenuPath} from "@/components/common/SubMenu"; -import {AuthorizationService} from "@/services/rest/AuthorizationService"; -import {ApplicationService} from "@/services/rest/ApplicationService"; -import {AlertService} from "@/services/AlertService"; -import {InternationalisationService} from "@/services/InternationalisationService"; +import { SubMenuPath } from "@/components/common/SubMenu"; +import { AuthorizationService } from "@/services/rest/AuthorizationService"; +import { ApplicationService } from "@/services/rest/ApplicationService"; +import { AlertService } from "@/services/AlertService"; +import { InternationalisationService } from "@/services/InternationalisationService"; export default { name: "AuthorizationreferencesManagement", async created() { this.subMenuPaths = [ new SubMenuPath( - this.$t("referencesManagement.references").toLowerCase(), - () => this.$router.push(`/applications/${this.applicationName}/references`), - () => this.$router.push(`/applications`), - () => this.$router.push(`/applications/${this.applicationName}/references`), + this.$t("referencesManagement.references").toLowerCase(), + () => this.$router.push(`/applications/${this.applicationName}/references`), + () => this.$router.push(`/applications`), + () => this.$router.push(`/applications/${this.applicationName}/references`) ), new SubMenuPath( - this.$t("titles.references-authorizations"), - () => { - this.$router.push(`/applications/${this.applicationName}/references/authorizations`) - }, - () => this.$router.push(`/applications/${this.applicationName}/references`), + this.$t("titles.references-authorizations"), + () => { + this.$router.push(`/applications/${this.applicationName}/references/authorizations`); + }, + () => this.$router.push(`/applications/${this.applicationName}/references`) ), ]; this.init(); @@ -198,7 +202,7 @@ export default { offset: 0, currentPage: 1, perPage: 10, - } + }; }, methods: { init: async function () { @@ -208,28 +212,29 @@ export default { "CONFIGURATION", "REFERENCETYPE", ]); - this.references = Object.values(this.internationalisationService.treeReferenceName(this.application)) + this.references = Object.values( + this.internationalisationService.treeReferenceName(this.application) + ); this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) - .localName, + .localName, }; let authorizations = await this.authorizationService.getReferencesAuthorizations( - this.applicationName, - { - offset: this.offset, - limit: this.perPage - } + this.applicationName, + { + offset: this.offset, + limit: this.perPage, + } ); this.authorizations = authorizations.authorizationResults.filter( - () => - authorizations.authorizationsForUser.isAdministrator || - authorizations.authorizationsForUser.authorizationResults.admin + () => + authorizations.authorizationsForUser.isAdministrator || + authorizations.authorizationsForUser.authorizationResults.admin ); let authorizationForUser = authorizations.authorizationsForUser; this.canManageRights = - authorizationForUser.isAdministrator || - authorizationForUser.authorizationResults.admin; + authorizationForUser.isAdministrator || authorizationForUser.authorizationResults.admin; } catch (error) { this.alertService.toastServerError(error); } @@ -253,26 +258,23 @@ export default { addAuthorization(uuid) { this.$router.push( - `/applications/${this.applicationName}/references/authorizations/${typeof uuid === 'string' ? uuid : 'new'}` + `/applications/${this.applicationName}/references/authorizations/${ + typeof uuid === "string" ? uuid : "new" + }` ); }, async revoke(id) { try { - await this.authorizationService.revokeReferenceAuthorization( - this.applicationName, - id - ); + await this.authorizationService.revokeReferenceAuthorization(this.applicationName, id); this.alertService.toastSuccess(this.$t("alert.revoke-authorization")); } catch (error) { this.alertService.toastServerError(error); } window.location.reload(); - } - } -} + }, + }, +}; </script> -<style scoped> - -</style> \ No newline at end of file +<style scoped></style> diff --git a/ui/src/views/authorizations/DataTypeAuthorizationInfoView.vue b/ui/src/views/authorizations/DataTypeAuthorizationInfoView.vue index 992ea18856dea0e35311faa2b17aa2f626251874..a2d7120018ae99d1d40bc1201e4c1d927a5d01b9 100644 --- a/ui/src/views/authorizations/DataTypeAuthorizationInfoView.vue +++ b/ui/src/views/authorizations/DataTypeAuthorizationInfoView.vue @@ -44,11 +44,8 @@ @typing="getFilteredTags" > </b-taginput> - <b-tooltip :label="$t('dataTypeAuthorizations.closeUser')" - position="is-bottom"> - <b-button v-model="openOnFocus" - icon-left="times-circle"> - </b-button> + <b-tooltip :label="$t('dataTypeAuthorizations.closeUser')" position="is-bottom"> + <b-button v-model="openOnFocus" icon-left="times-circle"> </b-button> </b-tooltip> </b-field> </ValidationProvider> @@ -179,8 +176,7 @@ export default class DataTypeAuthorizationInfoView extends Vue { isApplicationAdmin = false; isLoading; - openOnFocus=true - + openOnFocus = true; periods = { FROM_DATE: this.$t("dataTypeAuthorizations.from-date"), @@ -742,4 +738,4 @@ ul li.card-content { a { color: $dark; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/authorizations/DataTypeAuthorizationsView.vue b/ui/src/views/authorizations/DataTypeAuthorizationsView.vue index 46f5b5e02c2b2b7542f70c06ab706a011cf4597a..0db4e37679b5f166e3d9551609ea42ef98ceb8aa 100644 --- a/ui/src/views/authorizations/DataTypeAuthorizationsView.vue +++ b/ui/src/views/authorizations/DataTypeAuthorizationsView.vue @@ -298,7 +298,10 @@ export default class DataTypeAuthorizationsView extends Vue { async init() { try { - this.application = await this.applicationService.getApplication(this.applicationName, ['CONFIGURATION','DATATYPE']); + this.application = await this.applicationService.getApplication(this.applicationName, [ + "CONFIGURATION", + "DATATYPE", + ]); this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) @@ -319,8 +322,7 @@ export default class DataTypeAuthorizationsView extends Vue { ); let authorizationForUser = authorizations.authorizationsForUser; this.canManageRights = - authorizationForUser.isAdministrator || - authorizationForUser.authorizationResults.admin; + authorizationForUser.isAdministrator || authorizationForUser.authorizationResults.admin; if (this.authorizations && this.authorizations.length !== 0) { this.scopes = Object.keys(this.authorizations[0].authorizations); } @@ -422,4 +424,4 @@ td { .listAuthorization:nth-child(odd) { background-color: #f5f5f5; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/authorizations/ReferencesAuthorizationInfoView.vue b/ui/src/views/authorizations/ReferencesAuthorizationInfoView.vue index 72366b7bc474b62f607c111bbf01170c2363afd7..aac596331241d24170ca7dcf378bfe74daedc098 100644 --- a/ui/src/views/authorizations/ReferencesAuthorizationInfoView.vue +++ b/ui/src/views/authorizations/ReferencesAuthorizationInfoView.vue @@ -1,110 +1,108 @@ <template> <PageView class="with-submenu"> <SubMenu - :aria-label="$t('menu.aria-sub-menu')" - :paths="subMenuPaths" - :root="application.localName || application.title" - role="navigation" + :aria-label="$t('menu.aria-sub-menu')" + :paths="subMenuPaths" + :root="application.localName || application.title" + role="navigation" /> <h1 class="title main-title"> <span>{{ - $t( - (authorizationId == 'new' ? `referencesAuthorizations.sub-menu-new-authorization` : 'referencesAuthorizations.sub-menu-modify-authorization'), {authorizationId}) - - }}</span> + $t( + authorizationId == "new" + ? `referencesAuthorizations.sub-menu-new-authorization` + : "referencesAuthorizations.sub-menu-modify-authorization", + { authorizationId } + ) + }}</span> </h1> <ValidationObserver ref="observer" v-slot="{ handleSubmit }"> <div class="columns"> <ValidationProvider - v-slot="{ errors, valid }" - class="column is-half" - name="users" - rules="required" - vid="users" + v-slot="{ errors, valid }" + class="column is-half" + name="users" + rules="required" + vid="users" > <b-field - :label="$t('referencesAuthorizations.users')" - :message="errors[0]" - :type="{ + :label="$t('referencesAuthorizations.users')" + :message="errors[0]" + :type="{ 'is-danger': errors && errors.length > 0, 'is-success': valid, }" - class="column mb-4" + class="column mb-4" > <b-taginput - v-model="selectedlabels" - :data="userLabels" - :open-on-focus="openOnFocus" - :placeholder="$t('referencesAuthorizations.users-placeholder')" - :value="userLabels" - autocomplete - expanded - type="is-dark" - @typing="getFilteredTags" + v-model="selectedlabels" + :data="userLabels" + :open-on-focus="openOnFocus" + :placeholder="$t('referencesAuthorizations.users-placeholder')" + :value="userLabels" + autocomplete + expanded + type="is-dark" + @typing="getFilteredTags" > </b-taginput> - <b-tooltip :label="$t('referencesAuthorizations.closeUser')" - position="is-bottom"> - <b-button v-model="openOnFocus" - icon-left="times-circle"> - </b-button> + <b-tooltip :label="$t('referencesAuthorizations.closeUser')" position="is-bottom"> + <b-button v-model="openOnFocus" icon-left="times-circle"> </b-button> </b-tooltip> </b-field> </ValidationProvider> <ValidationProvider - v-slot="{ errors, valid }" - class="column is-half" - name="users" - rules="required" - vid="users" + v-slot="{ errors, valid }" + class="column is-half" + name="users" + rules="required" + vid="users" > <b-field - :label="$t('referencesAuthorizations.name')" - :message="errors[0]" - :type="{ + :label="$t('referencesAuthorizations.name')" + :message="errors[0]" + :type="{ 'is-danger': errors && errors.length > 0, 'is-success': valid, }" - class="column mb-4" + class="column mb-4" > - <b-input v-model="name"/> + <b-input v-model="name" /> </b-field> </ValidationProvider> </div> <table> <thead> - <tr> - <th> - référentiel - </th> - <th>Administration</th> - <th>Gestion</th> - </tr> + <tr> + <th>référentiel</th> + <th>Administration</th> + <th>Gestion</th> + </tr> </thead> <tbody></tbody> - <tr v-for="(ref,index) in references" :key="index"> + <tr v-for="(ref, index) in references" :key="index"> <td>{{ ref.refNameLocal }}</td> <td> - <b-checkbox v-model="ref.isAdmin"/> + <b-checkbox v-model="ref.isAdmin" /> </td> <td> - <b-checkbox v-model="ref.isManage"/> + <b-checkbox v-model="ref.isManage" /> </td> </tr> </table> <div class="buttons"> <b-button - icon-left="plus" - style="margin-bottom: 10px" - type="is-dark" - @click="handleSubmit(createOrUpdateAuthorization)" + icon-left="plus" + style="margin-bottom: 10px" + type="is-dark" + @click="handleSubmit(createOrUpdateAuthorization)" > {{ authorization - ? $t("referencesAuthorizations.modify") - : $t("referencesAuthorizations.create") + ? $t("referencesAuthorizations.modify") + : $t("referencesAuthorizations.create") }} </b-button> </div> @@ -114,17 +112,17 @@ <script> import CollapsibleTree from "@/components/common/CollapsibleTree.vue"; -import SubMenu, {SubMenuPath} from "@/components/common/SubMenu.vue"; -import {AlertService} from "@/services/AlertService"; -import {ApplicationService} from "@/services/rest/ApplicationService"; -import {AuthorizationService} from "@/services/rest/AuthorizationService"; -import {UserPreferencesService} from "@/services/UserPreferencesService"; -import {ValidationObserver, ValidationProvider} from "vee-validate"; -import {Component, Prop, Vue} from "vue-property-decorator"; +import SubMenu, { SubMenuPath } from "@/components/common/SubMenu.vue"; +import { AlertService } from "@/services/AlertService"; +import { ApplicationService } from "@/services/rest/ApplicationService"; +import { AuthorizationService } from "@/services/rest/AuthorizationService"; +import { UserPreferencesService } from "@/services/UserPreferencesService"; +import { ValidationObserver, ValidationProvider } from "vee-validate"; +import { Component, Prop, Vue } from "vue-property-decorator"; import PageView from "../common/PageView.vue"; -import {InternationalisationService} from "@/services/InternationalisationService"; -import {ApplicationResult} from "@/model/ApplicationResult"; -import {ReferenceService} from "@/services/rest/ReferenceService"; +import { InternationalisationService } from "@/services/InternationalisationService"; +import { ApplicationResult } from "@/model/ApplicationResult"; +import { ReferenceService } from "@/services/rest/ReferenceService"; @Component({ components: { @@ -138,7 +136,7 @@ import {ReferenceService} from "@/services/rest/ReferenceService"; export default class ReferencesAuthorizationInfoView extends Vue { @Prop() dataTypeId; @Prop() applicationName; - @Prop({default: "new"}) authorizationId; + @Prop({ default: "new" }) authorizationId; __DEFAULT__ = "__DEFAULT__"; referenceService = ReferenceService.INSTANCE; @@ -163,7 +161,7 @@ export default class ReferencesAuthorizationInfoView extends Vue { userLabels = []; isLoading; - openOnFocus = true + openOnFocus = true; authReferences = {}; subMenuPaths = []; selectedUsers = []; @@ -172,8 +170,8 @@ export default class ReferencesAuthorizationInfoView extends Vue { getColumnTitle(column) { if (column.display) { return ( - (column.internationalizationName && column.internationalizationName[this.$i18n.locale]) || - column.title + (column.internationalizationName && column.internationalizationName[this.$i18n.locale]) || + column.title ); } } @@ -183,43 +181,41 @@ export default class ReferencesAuthorizationInfoView extends Vue { this.chosenLocale = this.userPreferencesService.getUserPrefLocale(); this.subMenuPaths = [ new SubMenuPath( - this.$t("referencesManagement.references").toLowerCase(), - () => this.$router.push(`/applications/${this.applicationName}/dataTypes`), - () => this.$router.push("/applications") + this.$t("referencesManagement.references").toLowerCase(), + () => this.$router.push(`/applications/${this.applicationName}/dataTypes`), + () => this.$router.push("/applications") ), new SubMenuPath( - this.$t(`referencesAuthorizations.sub-menu-reference-authorizations`), - () => { - this.$router.push( - `/applications/${this.applicationName}/references/authorizations` - ); - }, - () => this.$router.push(`/applications/${this.applicationName}/references`) + this.$t(`referencesAuthorizations.sub-menu-reference-authorizations`), + () => { + this.$router.push(`/applications/${this.applicationName}/references/authorizations`); + }, + () => this.$router.push(`/applications/${this.applicationName}/references`) ), new SubMenuPath( - this.$t( - (this.authorizationId == 'new' ? `referencesAuthorizations.sub-menu-new-authorization` : 'referencesAuthorizations.sub-menu-modify-authorization'), {authorizationId: this.authorizationId}), - () => { - }, - () => { - this.$router.push( - `/applications/${this.applicationName}/references/authorizations` - ); - } + this.$t( + this.authorizationId == "new" + ? `referencesAuthorizations.sub-menu-new-authorization` + : "referencesAuthorizations.sub-menu-modify-authorization", + { authorizationId: this.authorizationId } + ), + () => {}, + () => { + this.$router.push(`/applications/${this.applicationName}/references/authorizations`); + } ), ]; this.isLoading = false; } - mounted() { - } + mounted() {} showDetail(parent) { for (const child in parent) { if (parent[child].children.length !== 0) { - parent[child] = {...parent[child], showDetailIcon: true}; + parent[child] = { ...parent[child], showDetailIcon: true }; } - parent[child] = {...parent[child], showDetailIcon: false}; + parent[child] = { ...parent[child], showDetailIcon: false }; } } @@ -230,53 +226,69 @@ export default class ReferencesAuthorizationInfoView extends Vue { "CONFIGURATION", "REFERENCETYPE", ]); - let params = - { - userId: null - } - if ('new' != this.authorizationId) { - params = {...params, authorizationId: this.authorizationId} + let params = { + userId: null, + }; + if ("new" != this.authorizationId) { + params = { ...params, authorizationId: this.authorizationId }; } else { - params = {...params, limit: 0} + params = { ...params, limit: 0 }; } let authorizations = await this.authorizationService.getReferencesAuthorizations( - this.applicationName, - params + this.applicationName, + params ); let authorizationForUser = authorizations.authorizationsForUser; - this.users = authorizations.users - this.authorizations = authorizations + this.users = authorizations.users; + this.authorizations = authorizations; this.authorization = authorizations.authorizationResults?.[0]; - this.name = this.authorization?.name - let configuration = Object.values(this.internationalisationService.treeReferenceName(this.application)); - let references = {} + this.name = this.authorization?.name; + let configuration = Object.values( + this.internationalisationService.treeReferenceName(this.application) + ); + let references = {}; for (const configurationCode in configuration) { - if (authorizationForUser.isAdministrator || (authorizationForUser.authorizationResults?.admin?.includes(configuration[configurationCode].label))) { - let isAdmin = this.authorization && (this.authorization?.authorizations?.admin || []).includes(configuration[configurationCode].label) - let isManage = this.authorization && (this.authorization?.authorizations?.manage || []).includes(configuration[configurationCode].label) + if ( + authorizationForUser.isAdministrator || + authorizationForUser.authorizationResults?.admin?.includes( + configuration[configurationCode].label + ) + ) { + let isAdmin = + this.authorization && + (this.authorization?.authorizations?.admin || []).includes( + configuration[configurationCode].label + ); + let isManage = + this.authorization && + (this.authorization?.authorizations?.manage || []).includes( + configuration[configurationCode].label + ); references[configurationCode] = { ...configuration[configurationCode], isAdmin, - isManage - } + isManage, + }; } } - this.references = references + this.references = references; this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) - .localName, - localReferencesNames: Object.values(this.internationalisationService.treeReferenceName(this.application)), + .localName, + localReferencesNames: Object.values( + this.internationalisationService.treeReferenceName(this.application) + ), }; let currentAuthorizationUsers = (this.authorization && this.authorization.users) || []; this.selectedUsers = this.users - .filter((user) => { - return currentAuthorizationUsers.find((u) => { - return u.id == user.id; - }); - }) - .map((user) => user.id); + .filter((user) => { + return currentAuthorizationUsers.find((u) => { + return u.id == user.id; + }); + }) + .map((user) => user.id); for (let i = 0; i < this.selectedUsers.length; i++) { for (let j = 0; j < this.users.length; j++) { if (this.selectedUsers[i] === this.users[j].id) { @@ -310,37 +322,34 @@ export default class ReferencesAuthorizationInfoView extends Vue { async createOrUpdateAuthorization() { try { let users = this.selectedlabels - .reduce((acc, label) => { - acc.push(this.users.find(u => u.label == label)); - return acc - }, - [] - ).map(u => u.id); + .reduce((acc, label) => { + acc.push(this.users.find((u) => u.label == label)); + return acc; + }, []) + .map((u) => u.id); let references = Object.values(this.references).reduce((acc, ref) => { if (ref.isAdmin) { - let isAdmin = acc.admin || [] - isAdmin.push(ref.label) - acc.admin = isAdmin + let isAdmin = acc.admin || []; + isAdmin.push(ref.label); + acc.admin = isAdmin; } if (ref.isManage) { - let isManage = acc.manage || [] - isManage.push(ref.label) - acc.manage = isManage + let isManage = acc.manage || []; + isManage.push(ref.label); + acc.manage = isManage; } return acc; - }, {}) + }, {}); //let references = this. let authorization = { - "usersId": users, - "applicationNameOrId": this.applicationName, - "uuid": 'new' == this.authorizationId ? null : this.authorizationId, - "name": this.name, - "references": references - } - this.authorizationService.createOrUpdateReferencesAuthorization(authorization) - this.$router.push( - `/applications/${this.applicationName}/references/authorizations` - ); + usersId: users, + applicationNameOrId: this.applicationName, + uuid: "new" == this.authorizationId ? null : this.authorizationId, + name: this.name, + references: references, + }; + this.authorizationService.createOrUpdateReferencesAuthorization(authorization); + this.$router.push(`/applications/${this.applicationName}/references/authorizations`); } catch (error) { this.alertService.toastServerError(error); } @@ -402,4 +411,4 @@ ul li.card-content { a { color: $dark; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/datatype/DataTypeTableView.vue b/ui/src/views/datatype/DataTypeTableView.vue index 533f693506e2c4bbb06cc6590539ee881079d2f5..efe9485acc50c52fdb5f35320a320ce73636c888 100644 --- a/ui/src/views/datatype/DataTypeTableView.vue +++ b/ui/src/views/datatype/DataTypeTableView.vue @@ -239,6 +239,10 @@ </div> <div v-if="showFilter" class="notification" role="search"> <h2>{{ $t("applications.filter") }}</h2> + <div class="column"> + <TagsCollapse v-if="tagsColumn && Object.keys(tagsColumn).length > 1" :tags="tagsColumn" /> + </div> + <div class="columns is-multiline"> <div class="column is-2-widescreen is-6-desktop is-12-tablet" @@ -279,14 +283,14 @@ ></CollapsibleInterval> </b-field> <b-input - class="is-primary" - v-model="search[component.variable + '_' + component.component]" - icon="search" - :placeholder="$t('dataTypeAuthorizations.search')" - type="search" - autocomplete="off" - @blur="addVariableSearch(component)" - size="is-small" + class="is-primary" + v-model="search[component.variable + '_' + component.component]" + icon="search" + :placeholder="$t('dataTypeAuthorizations.search')" + type="search" + autocomplete="off" + @blur="addVariableSearch(component)" + size="is-small" ></b-input> </b-field> </div> @@ -300,7 +304,8 @@ passive-type="is-dark" type="is-primary" :true-value="$t('dataTypesManagement.accepted')" - :false-value="$t('dataTypesManagement.refuse')"> + :false-value="$t('dataTypesManagement.refuse')" + > {{ $t("ponctuation.regEx") }} {{ params.variableComponentFilters.isRegex }} </b-switch> </b-field> @@ -359,21 +364,30 @@ </caption> <thead style="text-transform: capitalize; text-align: center"> <tr class="DataSetTableView-variable-row"> + <!-- TODO : centrer le nom de la colonne --> <th - v-for="variable in variables" + v-for="variable in columnsVariableToBeShown" :key="variable.id" - :colspan="Object.values(variable.components).length" + :colspan="colspan(variable)" :variable="variable.id" + style=" + border-left: 1px solid rgba(0, 0, 0, 0.2); + border-right: 1px solid rgba(0, 0, 0, 0.2); + " > {{ variable.label }} </th> </tr> <tr> <th - v-for="(comp, index) in variableComponents" + v-for="(comp, index) in columnsVariableComponentsToBeShown" :key="`${comp.label}-${index}`" :component="comp.component" :variable="comp.variable" + style=" + border-left: 1px solid rgba(0, 0, 0, 0.2); + border-right: 1px solid rgba(0, 0, 0, 0.2); + " > {{ comp.label }} <!--b-icon :icon="getSortIcon(comp.variable, comp.component)"></b-icon--> @@ -383,8 +397,13 @@ <tbody> <tr v-for="(row, rowIndex) in rows" :key="row.rowId" :rowId="row.rowId"> <td - style="text-align: center; vertical-align: middle" - v-for="(component, index) in variableComponents" + style=" + text-align: center; + vertical-align: middle; + border-left: 1px solid rgba(0, 0, 0, 0.2); + border-right: 1px solid rgba(0, 0, 0, 0.2); + " + v-for="(component, index) in columnsVariableComponentsToBeShown" :key="`row_${rowIndex}-${index}`" :component="component.component" :variable="component.variable" @@ -482,9 +501,11 @@ import { IntervalValues } from "@/model/application/IntervalValues"; import { VariableComponentOrderBy } from "@/model/application/VariableComponentOrderBy"; import draggable from "vuedraggable"; import { InternationalisationService } from "@/services/InternationalisationService"; +import TagsCollapse from "@/components/common/TagsCollapse.vue"; +import { TagService } from "@/services/TagService"; @Component({ - components: { PageView, SubMenu, CollapsibleInterval, draggable }, + components: { PageView, SubMenu, CollapsibleInterval, draggable, TagsCollapse }, }) export default class DataTypeTableView extends Vue { @Prop() applicationName; @@ -496,6 +517,8 @@ export default class DataTypeTableView extends Vue { referenceService = ReferenceService.INSTANCE; alertService = AlertService.INSTANCE; internationalisationService = InternationalisationService.INSTANCE; + tagService = TagService.INSTANCE; + hidden_tag = TagService.HIDDEN_TAG; arrow; application = new ApplicationResult(); subMenuPaths = []; @@ -529,6 +552,72 @@ export default class DataTypeTableView extends Vue { variableSearch = []; referenceLineCheckers = []; displayDataTypes = false; + tagsColumn = []; + + colspan(variable) { + let count = 0; + let colspan; + for (let component in variable.components) { + for (const tagName of variable.components[component].tags) { + if (tagName === this.hidden_tag) { + count++; + } + } + if (count === 0) { + colspan = Object.values(variable.components).length; + } else { + colspan = Object.values(variable.components).length - count; + } + } + return colspan; + } + + buildTags() { + let tags = {}; + for (let i = 0; i < this.variables.length; i++) { + let currentTags = this.variables[i].tags; + if (!currentTags) { + continue; + } + this.tagService.currentTags( + tags, + currentTags, + this.application, + this.internationalisationService + ); + if (this.variables[i].tags !== this.hidden_tag) { + this.variables[i].localtags = this.variables[i].tags.map( + (tag) => tags[tag]?.localName || tag + ); + for (let variableComponent in this.variableComponents) { + if (this.variableComponents[variableComponent].variable === this.variables[i].label) { + let currentTags = this.variableComponents[variableComponent].tags; + if (!currentTags) { + continue; + } + this.tagService.currentTags( + tags, + currentTags, + this.application, + this.internationalisationService + ); + } + this.variableComponents[variableComponent].localtags = this.variableComponents[ + variableComponent + ].tags.map((tag) => tags[tag]?.localName || tag); + } + } + } + this.tagsColumn = tags; + } + + get columnsVariableToBeShown() { + return this.tagService.toBeShown(this.tagsColumn, this.variables); + } + + get columnsVariableComponentsToBeShown() { + return this.tagService.toBeShown(this.tagsColumn, this.variableComponents); + } async created() { await this.init(); @@ -545,6 +634,7 @@ export default class DataTypeTableView extends Vue { () => this.$router.push(`/applications/${this.applicationName}/dataTypes`) ), ]; + this.buildTags(); } async reInit() { @@ -560,10 +650,14 @@ export default class DataTypeTableView extends Vue { }); window.location.reload(); this.initDatatype(); + //this.buildTags(); } async init() { - this.application = await this.applicationService.getApplication(this.applicationName, ['CONFIGURATION','DATATYPE']); + this.application = await this.applicationService.getApplication(this.applicationName, [ + "CONFIGURATION", + "DATATYPE", + ]); this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) @@ -842,7 +936,7 @@ export default class DataTypeTableView extends Vue { } clearSearch() { - for (let j = 0; j<document.getElementsByClassName("input").length; j++) { + for (let j = 0; j < document.getElementsByClassName("input").length; j++) { document.getElementsByClassName("input")[j].value = ""; } for (var i = 0; i < this.variableSearch.length; i++) { @@ -997,4 +1091,4 @@ $row-variable-height: 60px; width: 100px; } } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/datatype/DataTypesManagementView.vue b/ui/src/views/datatype/DataTypesManagementView.vue index bd854ffe078f4b4b5b12c4c698e4ccda7253841e..d1f8a390581373e2172b4321fe9b253433955f3d 100644 --- a/ui/src/views/datatype/DataTypesManagementView.vue +++ b/ui/src/views/datatype/DataTypesManagementView.vue @@ -1,10 +1,10 @@ <template> <PageView class="with-submenu"> <SubMenu - :aria-label="$t('menu.aria-sub-menu')" - :paths="subMenuPaths" - :root="application.localName || application.title" - role="navigation" + :root="application.localName || application.title" + :paths="subMenuPaths" + role="navigation" + :aria-label="$t('menu.aria-sub-menu')" /> <h1 class="title main-title"> {{ @@ -15,64 +15,61 @@ </h1> <div class="column is-offset-one-third is-one-third"> - <TagsCollapse - v-if="tags && Object.keys(tags).length > 1" - :tags="tags" - /> + <TagsCollapse v-if="tags && Object.keys(tags).length > 1" :tags="tags" /> </div> - <AvailablityChart v-if="false"/> + <AvailablityChart v-if="false" /> <div v-if="errorsMessages.length" style="margin: 10px"> <div v-for="msg in errorsMessages" :key="msg"> <b-message - :aria-close-label="$t('message.close')" - :title="$t('message.data-type-config-error')" - class="mt-4 DataTypesManagementView-message" - has-icon - type="is-danger" + :title="$t('message.data-type-config-error')" + type="is-danger" + has-icon + :aria-close-label="$t('message.close')" + class="mt-4 DataTypesManagementView-message" > - <span v-html="msg"/> + <span v-html="msg" /> </b-message> </div> </div> <div> <CollapsibleTree - v-for="(data, i) in dataTypesToBeShown" - :id="i + 1" - :key="data.id" - :buttons="buttons(data)" - :is-loading="isLoading" - :level="0" - :on-click-label-cb="(event, label) => openDataTypeCb(event, label)" - :on-click-label-synthesis-detail-cb=" - (event, option) => openDataTypeDetailSynthesisCb(event, option) - " - :on-upload-cb="data.repository ? null : (label, file) => uploadDataTypeCsv(label, file)" - :option="{ + class="liste" + v-for="(data, i) in dataTypesToBeShown" + :id="i + 1" + :key="data.id" + :option="{ ...data, synthesis: synthesis[data.id], synthesisMinMax: synthesisMinMax[data.id], withSynthesis: true, withTooltip: true, }" - :repository="data.repository" - :repository-redirect="(label) => showRepository(label)" - class="liste" + :is-loading="isLoading" + :level="0" + :on-click-label-cb="(event, label) => openDataTypeCb(event, label)" + :on-click-label-synthesis-detail-cb=" + (event, option) => openDataTypeDetailSynthesisCb(event, option) + " + :on-upload-cb="data.repository ? null : (label, file) => uploadDataTypeCsv(label, file)" + :repository="data.repository" + :repository-redirect="(label) => showRepository(label)" + :buttons="buttons" /> <DataTypeDetailsPanel - :application-name="applicationName" - :close-cb="(newVal) => (openPanel = newVal)" - :data-type="chosenDataType" - :left-align="false" - :open="openPanel" - :tags="tags" + :left-align="false" + :open="openPanel" + :data-type="chosenDataType" + :close-cb="(newVal) => (openPanel = newVal)" + :application-name="applicationName" + :tags="tags" /> - <b-modal v-model="openSynthesisDetailPanel" class="modalByAgrégation" width="100rem"> + <b-modal class="modalByAgrégation" v-model="openSynthesisDetailPanel" width="100rem"> <DetailModalCard - :application-name="applicationName" - :close-cb="(newVal) => (openSynthesisDetailPanel = newVal)" - :data-type="chosenDataType" - :open="true" - :options="currentOptions" + :open="true" + :options="currentOptions" + :data-type="chosenDataType" + :close-cb="(newVal) => (openSynthesisDetailPanel = newVal)" + :application-name="applicationName" > </DetailModalCard> </b-modal> @@ -81,23 +78,24 @@ </template> <script> -import {Component, Prop, Vue} from "vue-property-decorator"; +import { Component, Prop, Vue } from "vue-property-decorator"; import PageView from "@/views/common/PageView.vue"; -import {ApplicationService} from "@/services/rest/ApplicationService"; -import {SynthesisService} from "@/services/rest/SynthesisService"; -import SubMenu, {SubMenuPath} from "@/components/common/SubMenu.vue"; +import { ApplicationService } from "@/services/rest/ApplicationService"; +import { SynthesisService } from "@/services/rest/SynthesisService"; +import SubMenu, { SubMenuPath } from "@/components/common/SubMenu.vue"; import CollapsibleTree from "@/components/common/CollapsibleTree.vue"; -import {ApplicationResult} from "@/model/ApplicationResult"; -import {Button} from "@/model/Button"; -import {AlertService} from "@/services/AlertService"; -import {DataService} from "@/services/rest/DataService"; -import {HttpStatusCodes} from "@/utils/HttpUtils"; -import {ErrorsService} from "@/services/ErrorsService"; -import {InternationalisationService} from "@/services/InternationalisationService"; +import { ApplicationResult } from "@/model/ApplicationResult"; +import { Button } from "@/model/Button"; +import { AlertService } from "@/services/AlertService"; +import { DataService } from "@/services/rest/DataService"; +import { HttpStatusCodes } from "@/utils/HttpUtils"; +import { ErrorsService } from "@/services/ErrorsService"; +import { InternationalisationService } from "@/services/InternationalisationService"; +import { TagService } from "@/services/TagService"; import DataTypeDetailsPanel from "@/components/datatype/DataTypeDetailsPanel.vue"; import AvailablityChart from "@/components/charts/AvailiblityChart.vue"; import DetailModalCard from "@/components/charts/DetailModalCard"; -import {DownloadDatasetQuery} from "@/model/application/DownloadDatasetQuery"; +import { DownloadDatasetQuery } from "@/model/application/DownloadDatasetQuery"; import TagsCollapse from "@/components/common/TagsCollapse.vue"; @Component({ @@ -117,12 +115,25 @@ export default class DataTypesManagementView extends Vue { applicationService = ApplicationService.INSTANCE; synthesisService = SynthesisService.INSTANCE; internationalisationService = InternationalisationService.INSTANCE; + tagService = TagService.INSTANCE; alertService = AlertService.INSTANCE; dataService = DataService.INSTANCE; errorsService = ErrorsService.INSTANCE; + hidden_tag = TagService.HIDDEN_TAG; application = new ApplicationResult(); isLoading = false; subMenuPaths = []; + buttons = [ + new Button( + this.$t("referencesManagement.consult"), + "eye", + (label) => this.consultDataType(label), + "is-dark" + ), + new Button(this.$t("referencesManagement.download"), "download", (label) => + this.downloadDataType(label) + ), + ]; dataTypes = []; errorsMessages = []; errorsList = []; @@ -135,39 +146,9 @@ export default class DataTypesManagementView extends Vue { tags = {}; get dataTypesToBeShown() { - if (!this.tags) { - return this.dataTypes; - } - let selectedTags = Object.keys(this.tags).filter((t) => this.tags[t].selected); - if (!Object.keys(this.tags).length) { - return this.dataTypes; - } - return this.dataTypes.filter((dataType) => { - return dataType.tags.some((t) => { - return selectedTags.includes(t); - }); - }); + return this.tagService.toBeShown(this.tags, this.dataTypes); } - buttons(dty) { - return [ - new Button( - this.$t("referencesManagement.consult"), - "eye", - (label) => this.consultDataType(label), - "is-dark", - null, - !dty.canRead - ), - new Button(this.$t("referencesManagement.download"), - "download", (label) => this.downloadDataType(label), - null, - null, - !dty.canDownload - ), - ] - }; - buildTags() { let tags = {}; for (const dataType of this.dataTypes) { @@ -175,23 +156,16 @@ export default class DataTypesManagementView extends Vue { if (!currentTags) { continue; } - for (const tagName of currentTags) { - if (tags[tagName]) { - continue; - } - tags[tagName] = {}; - tags[tagName].selected = true; - tags[tagName].localName = this.internationalisationService.getLocaleforPath( - this.application, - "internationalizedTags." + tagName, - tagName - ); - } + this.tagService.currentTags( + tags, + currentTags, + this.application, + this.internationalisationService + ); dataType.localtags = dataType.tags.map((tag) => tags[tag]?.localName || tag); } this.tags = tags; } - toggle(tag) { let tags = this.tags; tags[tag].selected = !tags[tag].selected; @@ -201,10 +175,9 @@ export default class DataTypesManagementView extends Vue { created() { this.subMenuPaths = [ new SubMenuPath( - this.$t("dataTypesManagement.data-types").toLowerCase(), - () => { - }, - () => this.$router.push("/applications") + this.$t("dataTypesManagement.data-types").toLowerCase(), + () => {}, + () => this.$router.push("/applications") ), ]; @@ -221,34 +194,13 @@ export default class DataTypesManagementView extends Vue { this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) - .localName, + .localName, }; if (!this.application?.id) { return; } this.dataTypes = Object.values( - this.internationalisationService.localeDatatypeName(this.application) - ).map(dty => { - let authorizationsDatatypesRights = this.application.authorizationsDatatypesRights[dty.label]; - let isAdmin = authorizationsDatatypesRights.ADMIN; - let canUpload = isAdmin || authorizationsDatatypesRights.UPLOAD; - let canRead = isAdmin || authorizationsDatatypesRights.UPLOAD; - let canDownload = isAdmin || authorizationsDatatypesRights.DOWNLOAD; - let canDelete = isAdmin || authorizationsDatatypesRights.DELETE; - let canPublish = isAdmin || authorizationsDatatypesRights.PUBLICATION; - let any = isAdmin || authorizationsDatatypesRights.ANY; - //let canManage = this.ownAuthorizations.isAdministrator || (this.ownAuthorizations.authorizationResults.manage || []).includes(ref.label) - return { - ...dty, - isAdmin: isAdmin, - canUpload: canUpload, - canRead: canRead, - canDownload: canDownload, - canDelete: canDelete, - canPublish: canPublish, - any: any - } - } + this.internationalisationService.localeDatatypeName(this.application) ); this.buildTags(); await this.initSynthesis(); @@ -256,75 +208,76 @@ export default class DataTypesManagementView extends Vue { this.alertService.toastServerError(); } } - async initSynthesis() { this.isLoading = true; for (const datatype in this.application.dataTypes) { - let minmaxByDatatypes = []; - let synthesis = await this.synthesisService.getSynthesis(this.applicationName, datatype); - for (const variable in synthesis) { - let resultByAggregation = { - variable, - ranges: [], - minmax: [], - }; - let rangesForVariable = synthesis[variable]; - let minmaxByVariable = []; - for (const aggregationIndex in rangesForVariable) { - let aggregation = rangesForVariable[aggregationIndex].aggregation; - let unit = rangesForVariable[aggregationIndex].unit; - let ranges = rangesForVariable[aggregationIndex].ranges; - let minmax = ranges.reduce((acc, range) => { - resultByAggregation.ranges = [...resultByAggregation.ranges, range.range]; - let min = acc[0]; - let max = acc[0]; - min = min ? (min <= range.range[0] ? min : range.range[0]) : range.range[0]; - max = max ? (max >= range.range[1] ? max : range.range[1]) : range.range[1]; - return [min, max]; - }, []); - minmaxByVariable[0] = minmaxByVariable[0] + if (!this.application.dataTypes[datatype].tags.includes(this.hidden_tag)) { + let minmaxByDatatypes = []; + let synthesis = await this.synthesisService.getSynthesis(this.applicationName, datatype); + for (const variable in synthesis) { + let resultByAggregation = { + variable, + ranges: [], + minmax: [], + }; + let rangesForVariable = synthesis[variable]; + let minmaxByVariable = []; + for (const aggregationIndex in rangesForVariable) { + let aggregation = rangesForVariable[aggregationIndex].aggregation; + let unit = rangesForVariable[aggregationIndex].unit; + let ranges = rangesForVariable[aggregationIndex].ranges; + let minmax = ranges.reduce((acc, range) => { + resultByAggregation.ranges = [...resultByAggregation.ranges, range.range]; + let min = acc[0]; + let max = acc[0]; + min = min ? (min <= range.range[0] ? min : range.range[0]) : range.range[0]; + max = max ? (max >= range.range[1] ? max : range.range[1]) : range.range[1]; + return [min, max]; + }, []); + minmaxByVariable[0] = minmaxByVariable[0] ? minmaxByVariable[0] < minmax[0] - ? minmaxByVariable[0] - : minmax[0] + ? minmaxByVariable[0] + : minmax[0] : minmax[0]; - minmaxByVariable[1] = minmaxByVariable[1] + minmaxByVariable[1] = minmaxByVariable[1] ? minmaxByVariable[1] < minmax[1] - ? minmaxByVariable[1] - : minmax[1] + ? minmaxByVariable[1] + : minmax[1] : minmax[1]; - resultByAggregation[aggregation] = { - variable, - aggregation, - unit, - ranges, - minmax, - }; - } - resultByAggregation.minmax = minmaxByVariable; - minmaxByDatatypes[0] = minmaxByDatatypes[0] + resultByAggregation[aggregation] = { + variable, + aggregation, + unit, + ranges, + minmax, + }; + } + resultByAggregation.minmax = minmaxByVariable; + minmaxByDatatypes[0] = minmaxByDatatypes[0] ? minmaxByDatatypes[0] < minmaxByVariable[0] - ? minmaxByDatatypes[0] - : minmaxByVariable[0] + ? minmaxByDatatypes[0] + : minmaxByVariable[0] : minmaxByVariable[0]; - minmaxByDatatypes[1] = minmaxByDatatypes[1] + minmaxByDatatypes[1] = minmaxByDatatypes[1] ? minmaxByDatatypes[1] < minmaxByVariable[1] - ? minmaxByDatatypes[1] - : minmaxByVariable[1] + ? minmaxByDatatypes[1] + : minmaxByVariable[1] : minmaxByVariable[1]; - this.synthesis[datatype] = this.synthesis[datatype] || {}; - this.synthesis[datatype].minmax = minmaxByDatatypes; - this.synthesis[datatype].ranges = this.synthesis[datatype].ranges || []; - this.synthesis[datatype].ranges = [ - ...this.synthesis[datatype].ranges, - ...resultByAggregation.ranges, - ]; - this.synthesis[datatype][variable] = resultByAggregation; + this.synthesis[datatype] = this.synthesis[datatype] || {}; + this.synthesis[datatype].minmax = minmaxByDatatypes; + this.synthesis[datatype].ranges = this.synthesis[datatype].ranges || []; + this.synthesis[datatype].ranges = [ + ...this.synthesis[datatype].ranges, + ...resultByAggregation.ranges, + ]; + this.synthesis[datatype][variable] = resultByAggregation; + } + if (minmaxByDatatypes.length) this.synthesisMinMax[datatype] = minmaxByDatatypes; } - if (minmaxByDatatypes.length) this.synthesisMinMax[datatype] = minmaxByDatatypes; } - this.synthesis = {...this.synthesis}; - this.synthesisMinMax = {...this.synthesisMinMax}; + this.synthesis = { ...this.synthesis }; + this.synthesisMinMax = { ...this.synthesisMinMax }; this.isLoading = false; } @@ -336,17 +289,17 @@ export default class DataTypesManagementView extends Vue { openDataTypeCb(event, label) { event.stopPropagation(); this.openPanel = - this.chosenDataType && this.chosenDataType.label === label ? !this.openPanel : true; + this.chosenDataType && this.chosenDataType.label === label ? !this.openPanel : true; this.chosenDataType = this.dataTypes.find((dt) => dt.label === label); } openDataTypeDetailSynthesisCb(event, option) { event.stopPropagation(); - this.currentOptions = {...option}; + this.currentOptions = { ...option }; this.openSynthesisDetailPanel = - this.chosenDataType && this.chosenDataType.label === option.label - ? !this.openSynthesisDetailPanel - : true; + this.chosenDataType && this.chosenDataType.label === option.label + ? !this.openSynthesisDetailPanel + : true; this.chosenDataType = this.dataTypes.find((dt) => dt.label === option.label); } @@ -392,7 +345,6 @@ export default class DataTypesManagementView extends Vue { this.alertService.toastServerError(error); } } - showRepository(label) { const dataType = this.dataTypes.find((dt) => dt.label === label); this.$router.push(`/applications/${this.applicationName}/dataTypesRepository/${dataType.id}`); @@ -407,9 +359,8 @@ export default class DataTypesManagementView extends Vue { overflow-wrap: break-word; } } - .liste { margin-bottom: 10px; border: 1px solid white; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/datatype/DataTypesRepositoryView.vue b/ui/src/views/datatype/DataTypesRepositoryView.vue index 7bbc2effd19802c42d187178c901e8ca8f7be59f..1aba04e01553f1449e65282072a5d6f2b110c675 100644 --- a/ui/src/views/datatype/DataTypesRepositoryView.vue +++ b/ui/src/views/datatype/DataTypesRepositoryView.vue @@ -2,10 +2,10 @@ <div> <PageView class="with-submenu"> <SubMenu - :paths="subMenuPaths" - :root="application.localName || application.title" - role="navigation" - :aria-label="$t('menu.aria-sub-menu')" + :paths="subMenuPaths" + :root="application.localName || application.title" + role="navigation" + :aria-label="$t('menu.aria-sub-menu')" /> <h1 class="title main-title"> {{ @@ -22,24 +22,24 @@ <b-dropdown :ref="authKey" expanded> <template #trigger="{ active }"> <b-button - expanded - :icon-right="active ? 'chevron-up' : 'chevron-down'" - type="is-primary" + expanded + :icon-right="active ? 'chevron-up' : 'chevron-down'" + type="is-primary" > {{ internationalisationService.getLocaleforPath( - application, - getAuthorizationScopePath(authKey), - authKey + application, + getAuthorizationScopePath(authKey), + authKey ) }} </b-button> </template> <DropDownMenu - v-for="(option, optionKey) in authReference" - :key="optionKey" - :option="option" - @select-menu-item="selectAuthorization(authKey, $event)" + v-for="(option, optionKey) in authReference" + :key="optionKey" + :option="option" + @select-menu-item="selectAuthorization(authKey, $event)" /> </b-dropdown> </b-field> @@ -88,15 +88,15 @@ <div class="column"> <b-field :label="$t('dataTypesRepository.start-date')" data-cy="dateStart"> <b-datepicker - v-model="startDate" - :date-parser="parseDate" - :date-formatter="formatDate" - :placeholder=" + v-model="startDate" + :date-parser="parseDate" + :date-formatter="formatDate" + :placeholder=" $t('dataTypesRepository.placeholder-datepicker') + ' dd-MM-YYYY, dd-MM-YYYY hh, dd-MM-YYYY hh:mm, dd-MM-YYYY HH:mm:ss' " - editable - icon="calendar" + editable + icon="calendar" > </b-datepicker> </b-field> @@ -104,32 +104,32 @@ <div class="column"> <b-field :label="$t('dataTypesRepository.end-date')" data-cy="dateEnd"> <b-datepicker - v-model="endDate" - :date-parser="parseDate" - :date-formatter="formatDate" - :placeholder=" + v-model="endDate" + :date-parser="parseDate" + :date-formatter="formatDate" + :placeholder=" $t('dataTypesRepository.placeholder-datepicker') + ' dd-MM-YYYY, dd-MM-YYYY hh, dd-MM-YYYY hh:mm, dd-MM-YYYY HH:mm:ss' " - editable - icon="calendar" + editable + icon="calendar" > </b-datepicker> </b-field> </div> <div class="column"> <b-upload - @input="changeFile" - v-model="file" - class="file-label" - style="margin-top: 30px" - data-cy="changeFileButton" + @input="changeFile" + v-model="file" + class="file-label" + style="margin-top: 30px" + data-cy="changeFileButton" > <span class="file-cta"> <b-icon class="file-icon" icon="upload"></b-icon> <span class="file-label">{{ - $t("dataTypesRepository.choose-file") - }}</span> + $t("dataTypesRepository.choose-file") + }}</span> </span> <span v-if="file" class="file-name"> {{ file.name }} @@ -148,7 +148,7 @@ <div class="column is-10"></div> <div class="column is-2" style="float: right"> <b-button type="is-dark" @click="upload" style="float: right" expanded - >{{ $t("dataTypesRepository.submit") }} + >{{ $t("dataTypesRepository.submit") }} </b-button> </div> </footer> @@ -158,12 +158,11 @@ </div> <div v-if="isAuthorisationsSelected()" class="columns"> <div class="card column"> - <div class="card-content" - id="element"> + <div class="card-content" id="element"> <table - v-if="datasets && Object.keys(datasets).length" - class="table is-striped is-fullwidth numberData" - style="text-align: center; vertical-align: center" + v-if="datasets && Object.keys(datasets).length" + class="table is-striped is-fullwidth numberData" + style="text-align: center; vertical-align: center" > <caption> {{ @@ -176,12 +175,12 @@ <th align>{{ $t("dataTypesRepository.table-file-data-publication") }}</th> </tr> <tr - v-for="(dataset, periode) in datasets" - :key="dataset.id" - @click="showDatasets(dataset)" - @keypress.enter="showDatasets(dataset)" - tabindex="0" - style="cursor: pointer" + v-for="(dataset, periode) in datasets" + :key="dataset.id" + @click="showDatasets(dataset)" + @keypress.enter="showDatasets(dataset)" + tabindex="0" + style="cursor: pointer" > <td align>{{ periode }}</td> <td align>{{ Object.keys(dataset.datasets).length }}</td> @@ -189,13 +188,17 @@ </tr> </table> <table - v-if="currentDataset && currentDataset.length" - class="table is-striped is-fullwidth" - style="text-align: center; vertical-align: center" + v-if="currentDataset && currentDataset.length" + class="table is-striped is-fullwidth" + style="text-align: center; vertical-align: center" > <caption> - {{ $t("dataTypesRepository.list-file-data-period") }} - {{ currentDataset[0].periode }} + {{ + $t("dataTypesRepository.list-file-data-period") + }} + {{ + currentDataset[0].periode + }} <div v-if="errorsMessages.length" style="margin: 10px"> <div v-for="msg in errorsMessages" v-bind:key="msg"> <b-message @@ -231,50 +234,61 @@ <p>{{ UTCToString(dataset.params.binaryFiledataset.comment) }}</p> </template> <a - :aria-describedby="dataset.id" - tabindex="0" - @keypress.enter="changeCss(dataset.id)" + :aria-describedby="dataset.id" + tabindex="0" + @keypress.enter="changeCss(dataset.id)" > {{ dataset.id.slice(0, 8) }} </a> </b-tooltip> </td> - <td align>{{ dataset.size / 1000 }} {{ $t("dataTypesRepository.table-file-data-size-unit") }}</td> + <td align> + {{ dataset.size / 1000 }} + {{ $t("dataTypesRepository.table-file-data-size-unit") }} + </td> <td align>{{ formatDate(dataset.params.createdate) }}</td> <td align>{{ dataset.createuser }}</td> - <td align v-if="dataset.params.published">{{ formatDate(dataset.params.publisheddate) }}</td> + <td align v-if="dataset.params.published"> + {{ formatDate(dataset.params.publisheddate) }} + </td> <td align v-else></td> <td align v-if="dataset.params.published">{{ dataset.publisheduser }}</td> <td align v-else></td> <td align> <b-field> <b-button - :icon-right="dataset.params.published ? 'check-circle' : 'circle'" - size="is-medium" - type="is-primary is-light" - @click="publish(dataset, !dataset.params.published)" - style="height: 1.5em; background-color: transparent; font-size: 1.45rem" + :icon-right="dataset.params.published ? 'check-circle' : 'circle'" + size="is-medium" + type="is-primary is-light" + @click="publish(dataset, !dataset.params.published)" + style="height: 1.5em; background-color: transparent; font-size: 1.45rem" /> </b-field> </td> <td align> <b-field> - <b-tooltip :label="$t('dataTypesRepository.table-file-data-delete')" position="is-left"> + <b-tooltip + :label="$t('dataTypesRepository.table-file-data-delete')" + position="is-left" + > <b-button - icon-right="times-circle" - size="is-medium" - type="is-danger is-light" - @click="remove(dataset, dataset.params.published)" - style="height: 1.5em; background-color: transparent; font-size: 1.45rem" + icon-right="times-circle" + size="is-medium" + type="is-danger is-light" + @click="remove(dataset, dataset.params.published)" + style="height: 1.5em; background-color: transparent; font-size: 1.45rem" /> </b-tooltip> - <b-tooltip :label="$t('dataTypesRepository.table-file-data-download')" position="is-left"> + <b-tooltip + :label="$t('dataTypesRepository.table-file-data-download')" + position="is-left" + > <b-button - icon-right="download" - size="is-medium" - type="is-primary is-light" - @click="downloadDataTypeVersion(dataset)" - style="height: 1.5em; background-color: transparent; font-size: 1.45rem" + icon-right="download" + size="is-medium" + type="is-primary is-light" + @click="downloadDataTypeVersion(dataset)" + style="height: 1.5em; background-color: transparent; font-size: 1.45rem" /> </b-tooltip> </b-field> @@ -289,23 +303,23 @@ </template> <script> -import {Component, Prop, Vue} from "vue-property-decorator"; +import { Component, Prop, Vue } from "vue-property-decorator"; import PageView from "@/views/common/PageView.vue"; -import {ApplicationService} from "@/services/rest/ApplicationService"; -import {ApplicationResult} from "@/model/ApplicationResult"; +import { ApplicationService } from "@/services/rest/ApplicationService"; +import { ApplicationResult } from "@/model/ApplicationResult"; import CollapsibleTree from "@/components/common/CollapsibleTree.vue"; -import {AlertService} from "@/services/AlertService"; -import {DataService} from "@/services/rest/DataService"; -import {FileService} from "@/services/rest/FileService"; -import {ReferenceService} from "@/services/rest/ReferenceService"; -import {ErrorsService} from "@/services/ErrorsService"; -import SubMenu, {SubMenuPath} from "@/components/common/SubMenu.vue"; -import {BinaryFileDataset} from "@/model/file/BinaryFileDataset"; -import {BinaryFile} from "@/model/file/BinaryFile"; -import {FileOrUUID} from "@/model/file/FileOrUUID"; -import {Dataset} from "@/model/file/Dataset"; -import {InternationalisationService} from "@/services/InternationalisationService"; -import {LOCAL_STORAGE_LANG} from "@/services/Fetcher"; +import { AlertService } from "@/services/AlertService"; +import { DataService } from "@/services/rest/DataService"; +import { FileService } from "@/services/rest/FileService"; +import { ReferenceService } from "@/services/rest/ReferenceService"; +import { ErrorsService } from "@/services/ErrorsService"; +import SubMenu, { SubMenuPath } from "@/components/common/SubMenu.vue"; +import { BinaryFileDataset } from "@/model/file/BinaryFileDataset"; +import { BinaryFile } from "@/model/file/BinaryFile"; +import { FileOrUUID } from "@/model/file/FileOrUUID"; +import { Dataset } from "@/model/file/Dataset"; +import { InternationalisationService } from "@/services/InternationalisationService"; +import { LOCAL_STORAGE_LANG } from "@/services/Fetcher"; import DropDownMenu from "@/components/common/DropDownMenu"; import moment from "moment"; import { HttpStatusCodes } from "@/utils/HttpUtils"; @@ -382,7 +396,7 @@ export default class DataTypesRepositoryView extends Vue { if (this.repository.authorizationScope) { for (const authorizationScopeKey in this.repository.authorizationScope) { let authorizationScope = - matches[this.repository.authorizationScope[authorizationScopeKey]]; + matches[this.repository.authorizationScope[authorizationScopeKey]]; var currentNode = this.authReferences[authorizationScopeKey]; @@ -419,16 +433,16 @@ export default class DataTypesRepositoryView extends Vue { } } if ( - this.repository.startDate && - this.repository.startDate.token && - matches[this.repository.startDate.token] + this.repository.startDate && + this.repository.startDate.token && + matches[this.repository.startDate.token] ) { this.startDate = moment(matches[this.repository.startDate.token], "DD-MM-YYYY").toDate(); } if ( - this.repository.endDate && - this.repository.endDate.token && - matches[this.repository.endDate.token] + this.repository.endDate && + this.repository.endDate.token && + matches[this.repository.endDate.token] ) { this.endDate = moment(matches[this.repository.endDate.token], "DD-MM-YYYY").toDate(); } @@ -464,15 +478,19 @@ export default class DataTypesRepositoryView extends Vue { async init() { try { - this.application = await this.applicationService.getApplication(this.applicationName, ['CONFIGURATION','DATATYPE', 'REFERENCETYPE']); + this.application = await this.applicationService.getApplication(this.applicationName, [ + "CONFIGURATION", + "DATATYPE", + "REFERENCETYPE", + ]); this.repository = this.application.dataTypes[this.dataTypeId].repository; this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) - .localName, + .localName, localDatatypeName: this.internationalisationService.localeDataTypeIdName( - this.application, - this.application.dataTypes[this.dataTypeId] + this.application, + this.application.dataTypes[this.dataTypeId] ), }; this.configuration = this.application.configuration.dataTypes[this.dataTypeId]; @@ -503,22 +521,22 @@ export default class DataTypesRepositoryView extends Vue { } let refs = Object.values(ret) - .reduce( - (acc, k) => [ - ...acc, - ...k.referenceValues.reduce( - (a, b) => [...a, ...b.hierarchicalReference.split(".")], - acc - ), - ], - [] - ) - .reduce((a, b) => { - if (a.indexOf(b) < 0) { - a.push(b); - } - return a; - }, []); + .reduce( + (acc, k) => [ + ...acc, + ...k.referenceValues.reduce( + (a, b) => [...a, ...b.hierarchicalReference.split(".")], + acc + ), + ], + [] + ) + .reduce((a, b) => { + if (a.indexOf(b) < 0) { + a.push(b); + } + return a; + }, []); for (const refsKey in refs) { await this.getOrLoadReferences(refs[refsKey]); } @@ -562,10 +580,10 @@ export default class DataTypesRepositoryView extends Vue { periodeToStringForBinaryFileDataset(binaryFiledataset) { return ( - "du " + - this.dateToString(binaryFiledataset.from) + - " au " + - this.dateToString(binaryFiledataset.to) + "du " + + this.dateToString(binaryFiledataset.from) + + " au " + + this.dateToString(binaryFiledataset.to) ); } @@ -580,27 +598,27 @@ export default class DataTypesRepositoryView extends Vue { async upload() { if (this.file && this.startDate && this.endDate) { var fileOrId = new FileOrUUID( - null, - new BinaryFileDataset( - this.dataTypeId, - this.selected.requiredAuthorizations, - /(.{10})T(.{8}).*/ - .exec(new Date(this.startDate).toISOString()) - .filter((a, i) => i !== 0) - .join(" "), - /(.{10})T(.{8}).*/ - .exec(new Date(this.endDate).toISOString()) - .filter((a, i) => i !== 0) - .join(" "), - this.comment - ), - false + null, + new BinaryFileDataset( + this.dataTypeId, + this.selected.requiredAuthorizations, + /(.{10})T(.{8}).*/ + .exec(new Date(this.startDate).toISOString()) + .filter((a, i) => i !== 0) + .join(" "), + /(.{10})T(.{8}).*/ + .exec(new Date(this.endDate).toISOString()) + .filter((a, i) => i !== 0) + .join(" "), + this.comment + ), + false ); var uuid = await this.dataService.addData( - this.applicationName, - this.dataTypeId, - this.file, - fileOrId + this.applicationName, + this.dataTypeId, + this.file, + fileOrId ); this.$emit("uploaded", uuid); } @@ -609,8 +627,8 @@ export default class DataTypesRepositoryView extends Vue { async publish(dataset, pusblished) { // ajout loading en JS const loadingComponent = this.$buefy.loading.open({ - container: document.getElementById("element") - }) + container: document.getElementById("element"), + }); this.errorsMessages = []; dataset.params.published = pusblished; let requiredAuthorizations = dataset.params.binaryFiledataset.requiredAuthorizations; @@ -622,10 +640,10 @@ export default class DataTypesRepositoryView extends Vue { var fileOrId = new FileOrUUID(dataset.id, dataset.params.binaryFiledataset, pusblished); try { var uuid = await this.dataService.addData( - this.applicationName, - this.dataTypeId, - null, - fileOrId + this.applicationName, + this.dataTypeId, + null, + fileOrId ); this.$emit("published", uuid.fileId); this.alertService.toastSuccess(this.$t("alert.data-updated")); @@ -691,7 +709,7 @@ export default class DataTypesRepositoryView extends Vue { isAuthorisationsSelected() { if (this.selected && this.selected.requiredAuthorizations) { return ( - this.selected && Object.values(this.selected.requiredAuthorizations).every((v) => v?.length) + this.selected && Object.values(this.selected.requiredAuthorizations).every((v) => v?.length) ); } return false; @@ -700,9 +718,9 @@ export default class DataTypesRepositoryView extends Vue { async updateDatasets(uuid) { if (this.isAuthorisationsSelected()) { let datasetsList = await this.fileService.getFiles( - this.applicationName, - this.dataTypeId, - this.selected + this.applicationName, + this.dataTypeId, + this.selected ); if (!datasetsList || !datasetsList.length) { this.datasets = {}; @@ -727,9 +745,9 @@ export default class DataTypesRepositoryView extends Vue { this.datasets = datasetMap; if (fileList.uuid) { var periode = - fileList.uuid && - this.datasets && - Object.values(this.datasets).find((e) => e.findByUUID(fileList.uuid))?.periode; + fileList.uuid && + this.datasets && + Object.values(this.datasets).find((e) => e.findByUUID(fileList.uuid))?.periode; this.currentDataset = this.datasets?.[periode]?.datasets; } return this.datasets; @@ -738,14 +756,13 @@ export default class DataTypesRepositoryView extends Vue { remove(dataset, isPublished) { this.$buefy.dialog.confirm({ message: - (isPublished - ? "<b>La version contient des données publiées.</b><br /> La supprimer entraînera la suppression de ces données.<br /><br />?" - : "") + "Etes vous sûr de vouloir supprimer cette version?", + (isPublished + ? "<b>La version contient des données publiées.</b><br /> La supprimer entraînera la suppression de ces données.<br /><br />?" + : "") + "Etes vous sûr de vouloir supprimer cette version?", onConfirm: () => this.deleteFile(dataset.id), }); } - async downloadDataTypeVersion(event) { await this.fileService.download(this.applicationName, event.id); return false; @@ -785,7 +802,7 @@ export default class DataTypesRepositoryView extends Vue { localName = key; } var completeLocalName = - typeof currentCompleteLocalName === "undefined" ? "" : currentCompleteLocalName; + typeof currentCompleteLocalName === "undefined" ? "" : currentCompleteLocalName; completeLocalName = completeLocalName + (completeLocalName === "" ? "" : ",") + localName; let authPartition = returnValues[key] || { key, @@ -803,8 +820,8 @@ export default class DataTypesRepositoryView extends Vue { var auth = returnValues[returnValuesKey]; let referenceValueLeaf = auth.referenceValues?.[0]; if ( - auth.referenceValues.length <= 1 && - referenceValueLeaf.hierarchicalKey === auth.currentPath + auth.referenceValues.length <= 1 && + referenceValueLeaf.hierarchicalKey === auth.currentPath ) { returnValues[returnValuesKey] = { ...auth, @@ -813,9 +830,9 @@ export default class DataTypesRepositoryView extends Vue { }; } else { var r = await this.partitionReferencesValues( - auth.referenceValues, - auth.currentPath, - auth.completeLocalName + auth.referenceValues, + auth.currentPath, + auth.completeLocalName ); returnValues[returnValuesKey] = { ...auth, @@ -876,4 +893,4 @@ caption { .tooltip-content { } } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/references/ReferenceTableView.vue b/ui/src/views/references/ReferenceTableView.vue index 8c900818a92137f57e1827c54a0b9cab8003e8e2..227a376901ef47610a7acf376c2e17cc24f25927 100644 --- a/ui/src/views/references/ReferenceTableView.vue +++ b/ui/src/views/references/ReferenceTableView.vue @@ -9,6 +9,9 @@ <h1 class="title main-title"> {{ $t("titles.references-data", { refName: application.localRefName }) }} </h1> + <div class="column is-offset-one-third is-one-third"> + <TagsCollapse v-if="tagsColumn && Object.keys(tagsColumn).length > 1" :tags="tagsColumn" /> + </div> <div v-if="reference && columns"> <b-table @@ -43,7 +46,7 @@ /> </template> <b-table-column - v-for="column in columns" + v-for="column in columnsToBeShown" :key="column.id" :field="column.id" :label="column.title" @@ -117,9 +120,11 @@ import { Component, Prop, Vue } from "vue-property-decorator"; import PageView from "../common/PageView.vue"; import { InternationalisationService } from "@/services/InternationalisationService"; import { DownloadDatasetQuery } from "@/model/application/DownloadDatasetQuery"; +import TagsCollapse from "@/components/common/TagsCollapse.vue"; +import { TagService } from "@/services/TagService"; @Component({ - components: { PageView, SubMenu }, + components: { PageView, SubMenu, TagsCollapse }, }) export default class ReferenceTableView extends Vue { @Prop() applicationName; @@ -129,6 +134,7 @@ export default class ReferenceTableView extends Vue { applicationService = ApplicationService.INSTANCE; internationalisationService = InternationalisationService.INSTANCE; referenceService = ReferenceService.INSTANCE; + tagService = TagService.INSTANCE; params = new DownloadDatasetQuery({ application: null, applicationNameOrId: this.applicationName, @@ -145,6 +151,7 @@ export default class ReferenceTableView extends Vue { columns = []; referenceValues = []; tableValues = []; + tagsColumn = []; // show modal and cards isCardModalActive = false; @@ -153,6 +160,30 @@ export default class ReferenceTableView extends Vue { referencesDynamic; display = "__display_" + window.localStorage.lang; + buildTags() { + let tags = {}; + for (let column in this.reference.columns) { + let currentTags = this.reference.columns[column].tags; + if (!currentTags) { + continue; + } + this.tagService.currentTags( + tags, + currentTags, + this.application, + this.internationalisationService + ); + this.reference.columns[column].localtags = this.reference.columns[column].tags.map( + (tag) => tags[tag]?.localName || tag + ); + } + this.tagsColumn = tags; + } + + get columnsToBeShown() { + return this.tagService.toBeShown(this.tagsColumn, this.columns); + } + async changePage(value) { this.params.offset = (value - 1) * this.params.limit; const references = await this.referenceService.getReferenceValues( @@ -244,12 +275,16 @@ export default class ReferenceTableView extends Vue { async created() { await this.init(); await this.setInitialVariables(); + this.buildTags(); } async init() { this.isLoading = true; try { - this.application = await this.applicationService.getApplication(this.applicationName,['CONFIGURATION','REFERENCETYPE']); + this.application = await this.applicationService.getApplication(this.applicationName, [ + "CONFIGURATION", + "REFERENCETYPE", + ]); this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) @@ -305,7 +340,14 @@ export default class ReferenceTableView extends Vue { if (this.reference && this.reference.columns) { this.columns = [ - { id: "#", title: "#id", key: false, linkedTo: null }, + { + id: "#", + title: "#id", + key: false, + linkedTo: null, + tags: ["no-tag"], + localtags: ["no-tag"], + }, ...Object.values(this.reference.columns).sort((c1, c2) => { if (c1.title < c2.title) { return -1; @@ -376,4 +418,4 @@ export default class ReferenceTableView extends Vue { width: max-content; position: sticky; } -</style> \ No newline at end of file +</style> diff --git a/ui/src/views/references/ReferencesManagementView.vue b/ui/src/views/references/ReferencesManagementView.vue index b73c731c36b6a0567d5e8b8627aa3a88de562d93..62e916734ecc10f903ee4ce8ada93b5067985679 100644 --- a/ui/src/views/references/ReferencesManagementView.vue +++ b/ui/src/views/references/ReferencesManagementView.vue @@ -1,80 +1,77 @@ <template> <PageView class="with-submenu"> <SubMenu - :aria-label="$t('menu.aria-sub-menu')" - :paths="subMenuPaths" - :root="application.localName" - role="navigation" + :aria-label="$t('menu.aria-sub-menu')" + :paths="subMenuPaths" + :root="application.localName" + role="navigation" /> <h1 class="title main-title"> - {{ $t("titles.references-page", {applicationName: application.localName}) }} + {{ $t("titles.references-page", { applicationName: application.localName }) }} </h1> <div v-if="errorsMessages.length" style="margin: 10px"> <div v-for="msg in errorsMessages" :key="msg"> <b-message - :aria-close-label="$t('message.close')" - :title="$t('message.data-type-config-error')" - class="mt-4" - has-icon - type="is-danger" + :aria-close-label="$t('message.close')" + :title="$t('message.data-type-config-error')" + class="mt-4" + has-icon + type="is-danger" > - <span v-html="msg"/> + <span v-html="msg" /> </b-message> </div> </div> <div class="column is-offset-one-third is-one-third"> - <TagsCollapse - v-if="tags && Object.keys(tags).length > 1" - :tags="tags" - /> + <TagsCollapse v-if="tags && Object.keys(tags).length > 1" :tags="tags" /> </div> <div class="section"> <CollapsibleTree - v-for="(ref, i) in referencesToBeShown" - :id="i + 1" - :key="ref.id" - :application-name="applicationName" - :application-title="$t('titles.references-page')" - :buttons="buttons" - :level="0" - :line-count="lineCount(ref)" - :on-click-label-cb="(event, label) => openRefDetails(event, label)" - :on-upload-cb="(label, refFile) => uploadReferenceCsv(label, refFile)" - :option="ref" - class="liste" + v-for="(ref, i) in referencesToBeShown" + :id="i + 1" + :key="ref.id" + :application-title="$t('titles.references-page')" + :buttons="buttons" + :level="0" + :line-count="lineCount(ref)" + :on-click-label-cb="(event, label) => openRefDetails(event, label)" + :on-upload-cb="(label, refFile) => uploadReferenceCsv(label, refFile)" + :option="ref" + class="liste" > </CollapsibleTree> <ReferencesDetailsPanel - :application-name=" application.name" - :close-cb="(newVal) => (openPanel = newVal)" - :left-align="false" - :open="openPanel" - :reference="chosenRef" - :tags="tags" + :close-cb="(newVal) => (openPanel = newVal)" + :left-align="false" + :open="openPanel" + :reference="chosenRef" + :tags="tags" /> </div> </PageView> </template> <script> -import {Component, Prop, Vue} from "vue-property-decorator"; -import {convertReferencesToTrees} from "@/utils/ConversionUtils"; +import { Component, Prop, Vue } from "vue-property-decorator"; +import { convertReferencesToTrees } from "@/utils/ConversionUtils"; import CollapsibleTree from "@/components/common/CollapsibleTree.vue"; import TagsCollapse from "@/components/common/TagsCollapse.vue"; import ReferencesDetailsPanel from "@/components/references/ReferencesDetailsPanel.vue"; -import {ApplicationService} from "@/services/rest/ApplicationService"; -import {InternationalisationService} from "@/services/InternationalisationService"; -import {ReferenceService} from "@/services/rest/ReferenceService"; +import { ApplicationService } from "@/services/rest/ApplicationService"; +import { InternationalisationService } from "@/services/InternationalisationService"; +import { ReferenceService } from "@/services/rest/ReferenceService"; + import PageView from "../common/PageView.vue"; -import {ApplicationResult} from "@/model/ApplicationResult"; -import SubMenu, {SubMenuPath} from "@/components/common/SubMenu.vue"; -import {AlertService} from "@/services/AlertService"; -import {Button} from "@/model/Button"; -import {HttpStatusCodes} from "@/utils/HttpUtils"; -import {ErrorsService} from "@/services/ErrorsService"; +import { ApplicationResult } from "@/model/ApplicationResult"; +import SubMenu, { SubMenuPath } from "@/components/common/SubMenu.vue"; +import { AlertService } from "@/services/AlertService"; +import { Button } from "@/model/Button"; +import { HttpStatusCodes } from "@/utils/HttpUtils"; +import { ErrorsService } from "@/services/ErrorsService"; +import { TagService } from "@/services/TagService"; @Component({ - components: {CollapsibleTree, TagsCollapse, ReferencesDetailsPanel, PageView, SubMenu}, + components: { CollapsibleTree, TagsCollapse, ReferencesDetailsPanel, PageView, SubMenu }, }) export default class ReferencesManagementView extends Vue { @Prop() applicationName; @@ -84,6 +81,7 @@ export default class ReferencesManagementView extends Vue { internationalisationService = InternationalisationService.INSTANCE; alertService = AlertService.INSTANCE; errorsService = ErrorsService.INSTANCE; + tagService = TagService.INSTANCE; references = []; currentPage = 1; @@ -95,32 +93,20 @@ export default class ReferencesManagementView extends Vue { errorsList = []; buttons = [ new Button( - this.$t("referencesManagement.consult"), - "eye", - (label) => this.consultReference(label), - "is-dark" + this.$t("referencesManagement.consult"), + "eye", + (label) => this.consultReference(label), + "is-dark" ), new Button(this.$t("referencesManagement.download"), "download", (label) => - this.downloadReference(label) + this.downloadReference(label) ), ]; tags = {}; get referencesToBeShown() { - if (!this.tags) { - return this.references; - } - let selectedTags = Object.keys(this.tags).filter((t) => this.tags[t].selected); - if (!Object.keys(this.tags).length) { - return this.references; - } - return this.references.filter((reference) => { - return reference.tags.some((t) => { - return selectedTags.includes(t); - }); - }); + return this.tagService.toBeShown(this.tags, this.references); } - buildTags() { let tags = {}; for (const reference of this.references) { @@ -128,18 +114,12 @@ export default class ReferencesManagementView extends Vue { if (!currentTags) { continue; } - for (const tagName of currentTags) { - if (tags[tagName]) { - continue; - } - tags[tagName] = {}; - tags[tagName].selected = true; - tags[tagName].localName = this.internationalisationService.getLocaleforPath( - this.application, - "internationalizedTags." + tagName, - tagName - ); - } + this.tagService.currentTags( + tags, + currentTags, + this.application, + this.internationalisationService + ); reference.localtags = reference.tags.map((tag) => tags[tag]?.localName || tag); } this.tags = tags; @@ -148,9 +128,9 @@ export default class ReferencesManagementView extends Vue { created() { this.subMenuPaths = [ new SubMenuPath( - this.$t("referencesManagement.references").toLowerCase(), - () => this.$router.push(`/applications/${this.applicationName}/references`), - () => this.$router.push(`/applications`) + this.$t("referencesManagement.references").toLowerCase(), + () => this.$router.push(`/applications/${this.applicationName}/references`), + () => this.$router.push(`/applications`) ), ]; this.init(); @@ -171,33 +151,14 @@ export default class ReferencesManagementView extends Vue { this.application = { ...this.application, localName: this.internationalisationService.mergeInternationalization(this.application) - .localName, + .localName, }; if (!this.application?.id) { return; } this.references = convertReferencesToTrees( - Object.values(this.internationalisationService.treeReferenceName(this.application)) - .map(ref => { - let isAdmin = this.application.authorizationReferencesRights.authorizations[ref.label].ADMIN; - let canUpload = isAdmin || this.application.authorizationReferencesRights.authorizations[ref.label].UPLOAD; - let canRead = isAdmin || this.application.authorizationReferencesRights.authorizations[ref.label].UPLOAD; - let canDownload = isAdmin || this.application.authorizationReferencesRights.authorizations[ref.label].DOWNLOAD; - let canDelete = isAdmin || this.application.authorizationReferencesRights.authorizations[ref.label].DELETE; - let any = isAdmin || this.application.authorizationReferencesRights.authorizations[ref.label].ANY; - return { - ...ref, - autorizations: this.application.authorizationReferencesRights.authorizations[ref], - canUpload: canUpload, - canRead: canRead, - canDownload: canDownload, - canDelete: canDelete, - isAdmin: isAdmin, - canShow: any - } - } - ) - ) + Object.values(this.internationalisationService.treeReferenceName(this.application)) + ); this.buildTags(); } catch (error) { this.alertService.toastServerError(); @@ -231,8 +192,8 @@ export default class ReferencesManagementView extends Vue { } else { for (let j = 0; j < ref.children[n].children.length; j++) { if ( - this.application.referenceSynthesis[i].referenceType === - ref.children[n].children[j].label + this.application.referenceSynthesis[i].referenceType === + ref.children[n].children[j].label ) { ref.children[n].children[j] = { ...ref.children[n].children[j], @@ -289,14 +250,7 @@ export default class ReferencesManagementView extends Vue { } findReferenceByLabel(label) { - var ref = this.findReferenceByLabelOnElement(this.referencesToBeShown, label); - return ref; - } - - findReferenceByLabelOnElement(element, label) { - if (!element) return false; - var ref = element.map((ref) => ref.label === label?ref:this.findReferenceByLabelOnElement(ref.children, label)) - .find(t=>t); + var ref = Object.values(this.application.references).find((ref) => ref.label === label); return ref; } } @@ -306,4 +260,4 @@ export default class ReferencesManagementView extends Vue { margin-bottom: 10px; border: 1px solid white; } -</style> \ No newline at end of file +</style>