Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
ebb35ad41c
|
@ -19,7 +19,7 @@ public class TagEntity extends TenantScopedBaseEntity {
|
|||
@Column(name = "\"label\"", length = TagEntity._labelLength, nullable = false)
|
||||
private String label;
|
||||
public static final String _label = "label";
|
||||
public static final int _labelLength = 250;
|
||||
public static final int _labelLength = 1024;
|
||||
|
||||
@Column(name = "is_active", nullable = false)
|
||||
@Convert(converter = IsActiveConverter.class)
|
||||
|
|
|
@ -7,7 +7,7 @@ BEGIN
|
|||
CREATE TABLE public."Tag"
|
||||
(
|
||||
id uuid NOT NULL,
|
||||
label character varying(250) COLLATE pg_catalog."default" NOT NULL,
|
||||
label character varying(1024) COLLATE pg_catalog."default" NOT NULL,
|
||||
created_by uuid,
|
||||
is_active smallint NOT NULL,
|
||||
created_at timestamp without time zone NOT NULL,
|
||||
|
|
|
@ -58,7 +58,7 @@ public class TagMigrationService {
|
|||
for (Dataset item : items) {
|
||||
List<eu.old.eudat.elastic.entities.Dataset> found = elasticDatasets.stream().filter(x -> item.getId().toString().equals(x.getId())).toList();
|
||||
if (found.isEmpty()) {
|
||||
logger.error("No dataset with id {} found on elastic search. Skipping tag migration for this dataset", item.getId());
|
||||
//logger.error("No dataset with id {} found on elastic search. Skipping tag migration for this dataset", item.getId());
|
||||
continue;
|
||||
}
|
||||
eu.old.eudat.elastic.entities.Dataset elasticDataset = found.getFirst();
|
||||
|
|
Loading…
Reference in New Issue