You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to support DecapodesAMR in the data-service.
Task Items
Create new model DecapodesContext.java
// Just be a wrapper around a JSON blob.privateModelHeaderheader;
privateObjectcontext;
@JsonProperty("parent_model")
privateUUIDmodelId;
Create new model DecapodesConfiguration.java
// Just be a wrapper around a JSON blob.privateModelHeaderheader;
privateObjectconfiguration;
@JsonProperty("parent_context")
privateUUIDdecapodesContextId;
{"header": {"id": UUID,// ...all properties of 'header'},"model": // ...all properties of 'model'}
/api/model-contexts/decapodes/{id} endpoint to generate a Decapodes AMR Context example of a JSON output
{"header": {"id": UUID,"parent_model": UUID,// ...all properties of 'header'},"context": // ...all properties of 'context'}
/api/model-contexts/decapodes/{id} endpoint to generate a Decapodes AMR Configuration example of a JSON output
{"header": {"id": UUID,"parent_context": UUID,// ...all properties of 'header'},"configuration": // ...all properties of 'configuration'}
/api/model-combined/decapodes/{DecapodesConfigurationId} endpoint to generate a Decapodes AMR Combined example of a JSON output
This one needs to combine a Model, DecapodesContext, and DecapodesConfiguration in one result.
The DecapodesContext is fetch via parent_context in DecapodesConfiguration.
The Model is fetch via parent_model in DecapodesContext.
{"header": {"id": UUID,// Id of the Model// ...all properties of 'header'},"model": ,// ...all properties of 'model'"context": ,// ...all properties of 'context'"configuration": ,// ...all properties of 'configuration'}
Write test for the new endpoints
The text was updated successfully, but these errors were encountered:
Describe the task
We need to support Decapodes AMR in the data-service.
Task Items
DecapodesContext.java
DecapodesConfiguration.java
/api/models/decapodes
endpoint to generate a Decapodes AMR Modelexample of a JSON output
/api/model-contexts/decapodes/{id}
endpoint to generate a Decapodes AMR Contextexample of a JSON output
/api/model-contexts/decapodes/{id}
endpoint to generate a Decapodes AMR Configurationexample of a JSON output
/api/model-combined/decapodes/{DecapodesConfigurationId}
endpoint to generate a Decapodes AMR Combinedexample of a JSON output
This one needs to combine a Model, DecapodesContext, and DecapodesConfiguration in one result.
The DecapodesContext is fetch via
parent_context
in DecapodesConfiguration.The Model is fetch via
parent_model
in DecapodesContext.The text was updated successfully, but these errors were encountered: