Skip to content

Commit

Permalink
Merge pull request #306 from europeana/EA-3720_zoho_eu_migration
Browse files Browse the repository at this point in the history
Merge remote-tracking branch 'origin/develop' into
  • Loading branch information
gsergiu authored Feb 22, 2024
2 parents 277c90c + 12626f8 commit 95424c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import dev.morphia.annotations.Id;
import dev.morphia.annotations.IndexOptions;
import dev.morphia.annotations.Indexed;
import dev.morphia.annotations.Transient;
import eu.europeana.entitymanagement.utils.VocabularyWatcher;

@JsonIgnoreProperties(ignoreUnknown = true)
Expand All @@ -26,6 +27,7 @@
*/
public class Vocabulary {

@Transient
private String type = "Concept";

@Id @JsonIgnore private ObjectId dbId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package eu.europeana.entitymanagement.mongo.repository;

import static dev.morphia.query.experimental.filters.Filters.in;
import static eu.europeana.entitymanagement.definitions.VocabularyFields.ID;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
Expand All @@ -17,6 +16,8 @@ public class VocabularyRepository {

@Resource(name = AppConfigConstants.BEAN_EM_DATA_STORE)
Datastore datastore;

private static final String ID = "id";

/**
* retrieve records by their id
Expand Down

0 comments on commit 95424c9

Please sign in to comment.