Skip to content

Commit

Permalink
fix(germplasm_api): creation service with checkOnly now returns valid…
Browse files Browse the repository at this point in the history
… metadata

OpenSILEX/opensilex-dev!1242
  • Loading branch information
BESOMBES Gabriel committed Jul 4, 2024
1 parent 04f544a commit 4c494ca
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//******************************************************************************
// MetadataDTO.java
// OpenSILEX - Licence AGPL V3.0 - https://www.gnu.org/licenses/agpl-3.0.en.html
// Copyright © INRA 2019
// Contact: vincent.migot@inra.fr, anne.tireau@inra.fr, pascal.neveu@inra.fr
//******************************************************************************
/*
* *****************************************************************************
* MetadataDTO.java
* OpenSILEX - Licence AGPL V3.0 - https://www.gnu.org/licenses/agpl-3.0.en.html
* Copyright © INRAE 2024.
* Last Modification: 04/07/2024 17:38
* Contact: vincent.migot@inra.fr, anne.tireau@inra.fr, pascal.neveu@inra.fr, gabriel.besombes@inrae.fr
* *****************************************************************************
*/
package org.opensilex.server.response;

import java.net.URI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//******************************************************************************
// ObjectUriResponse.java
// OpenSILEX - Licence AGPL V3.0 - https://www.gnu.org/licenses/agpl-3.0.en.html
// Copyright © INRA 2019
// Contact: vincent.migot@inra.fr, anne.tireau@inra.fr, pascal.neveu@inra.fr
//******************************************************************************
/*
* *****************************************************************************
* ObjectUriResponse.java
* OpenSILEX - Licence AGPL V3.0 - https://www.gnu.org/licenses/agpl-3.0.en.html
* Copyright © INRAE 2024.
* Last Modification: 04/07/2024 17:38
* Contact: vincent.migot@inra.fr, anne.tireau@inra.fr, pascal.neveu@inra.fr, gabriel.besombes@inrae.fr
* *****************************************************************************
*/
package org.opensilex.server.response;

import java.net.URI;
Expand Down Expand Up @@ -66,5 +69,6 @@ public ObjectUriResponse(URI uri) {
*/
public ObjectUriResponse() {
super(Status.OK);
this.metadata = new MetadataDTO(new PaginationDTO());
}
}

0 comments on commit 4c494ca

Please sign in to comment.