diff --git a/java/core/src/main/resources/ont-model-metadata.yaml b/java/core/src/main/resources/ont-model-metadata.yaml index 44b272b..88e7038 100644 --- a/java/core/src/main/resources/ont-model-metadata.yaml +++ b/java/core/src/main/resources/ont-model-metadata.yaml @@ -1 +1 @@ -namespace: brapi.org \ No newline at end of file +namespace: http://brapi.org \ No newline at end of file diff --git a/java/core/src/test/resources/openapi-test-options.json b/java/core/src/test/resources/openapi-test-options.json index b44776e..8415ffa 100644 --- a/java/core/src/test/resources/openapi-test-options.json +++ b/java/core/src/test/resources/openapi-test-options.json @@ -77,6 +77,7 @@ "descriptionFormat": "Add new %s to database", "generateFor": { "AlleleMatrix": false, + "BreedingMethod": false, "Call": false, "CallSet": false, "Event": false, @@ -93,6 +94,7 @@ "descriptionFormat": "Update the details for an existing %s", "generateFor": { "AlleleMatrix": false, + "BreedingMethod": false, "Call": false, "CallSet": false, "Cross": false, @@ -119,11 +121,30 @@ "VariantSet": false } }, - "ids": { - "nameFormat": "%sDbId", - "parameterFor": { - "GermplasmAttribute": "attributeDbId", - "GermplasmAttributeValue": "attributeValueDbId" + "properties": { + "id": { + "nameFormat": "%sDbId", + "link": true, + "propertyFor": { + "GermplasmAttribute": "attributeDbId", + "GermplasmAttributeValue": "attributeValueDbId" + } + }, + "name": { + "nameFormat": "%sName", + "link": true, + "propertyFor": { + "GermplasmAttribute": "attributeName", + "GermplasmAttributeValue": "attributeValueName" + } + }, + "pui": { + "nameFormat": "%sPUI", + "link": true, + "propertyFor": { + "GermplasmAttribute": "attributePUI", + "GermplasmAttributeValue": "attributeValuePUI" + } } } } \ No newline at end of file diff --git a/java/core/src/test/resources/openapi-test-options.yaml b/java/core/src/test/resources/openapi-test-options.yaml index 0cbbd2d..1b3c0b5 100644 --- a/java/core/src/test/resources/openapi-test-options.yaml +++ b/java/core/src/test/resources/openapi-test-options.yaml @@ -76,6 +76,7 @@ post: descriptionFormat: Add new %s to database generateFor: AlleleMatrix: false + BreedingMethod: false Call: false CallSet: false Event: false @@ -90,6 +91,7 @@ put: descriptionFormat: Update the details for an existing %s generateFor: AlleleMatrix: false + BreedingMethod: false Call: false CallSet: false Cross: false @@ -112,8 +114,22 @@ delete: Reference: false Variant: false VariantSet: false -ids: - nameFormat: "%sDbId" - parameterFor: - GermplasmAttribute: attributeDbId - GermplasmAttributeValue: attributeValueDbId \ No newline at end of file +properties: + id: + nameFormat: "%sDbId" + link: true + propertyFor: + GermplasmAttribute: attributeDbId + GermplasmAttributeValue: attributeValueDbId + name: + nameFormat: "%sName" + link: true + propertyFor: + GermplasmAttribute: attributeName + GermplasmAttributeValue: attributeValueName + pui: + nameFormat: "%sPUI" + link: true + propertyFor: + GermplasmAttribute: attributePUI + GermplasmAttributeValue: attributeValuePUI \ No newline at end of file