-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from aodn/sync-with-new-es-schema
refactor to sync with latest es-indexer changes
- Loading branch information
Showing
23 changed files
with
277 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
server/src/main/java/au/org/aodn/ogcapi/server/core/model/ArdcVocabModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package au.org.aodn.ogcapi.server.core.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
@Data | ||
@Builder | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class ArdcVocabModel { | ||
// properties are extendable (e.g platformVocabs, organisationVocabs etc.), currently just parameterVocabs. | ||
@JsonProperty("parameter_vocab") | ||
ParameterVocabModel parameterVocabModel; | ||
} |
16 changes: 0 additions & 16 deletions
16
server/src/main/java/au/org/aodn/ogcapi/server/core/model/CategorySuggestDTO.java
This file was deleted.
Oops, something went wrong.
13 changes: 6 additions & 7 deletions
13
...server/core/model/CategoryVocabModel.java → ...erver/core/model/ParameterVocabModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
package au.org.aodn.ogcapi.server.core.model; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.*; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
/** | ||
* This is the model class for http://vocabs.ardc.edu.au/repository/api/lda/aodn/aodn-parameter-category-vocabulary/ | ||
*/ | ||
@Builder | ||
@Getter | ||
@Setter | ||
public class CategoryVocabModel { | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class ParameterVocabModel { | ||
|
||
protected String label; | ||
protected String definition; | ||
protected String about; | ||
protected List<CategoryVocabModel> broader; | ||
protected List<CategoryVocabModel> narrower; | ||
protected List<ParameterVocabModel> broader; | ||
protected List<ParameterVocabModel> narrower; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.