Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit 7efbb52

Browse files
authored
Merge pull request #18 from Breeding-Insight/release/0.8.1
Release v0.8.1
2 parents 5a29d77 + 504e1de commit 7efbb52

File tree

252 files changed

+479279
-3230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+479279
-3230
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This server implements all BrAPI calls. It is backed by a custom database with dummy data.
55

66
* BrAPI V1 Base URL (v1.0, v1.1, v1.2, v1.3): [test-server.brapi.org/brapi/v1/](https://test-server.brapi.org/brapi/v1/)
7-
* BrAPI V2 Base URL (v2.0): [test-server.brapi.org/brapi/v2/](https://test-server.brapi.org/brapi/v2/)
7+
* BrAPI V2 Base URL (v2.0, v2.1): [test-server.brapi.org/brapi/v2/](https://test-server.brapi.org/brapi/v2/)
88

99
Use [/calls](https://test-server.brapi.org/brapi/v1/call) (V1) or [/serverinfo](https://test-server.brapi.org/brapi/v2/serverinfo) (V2) to check the available endpoints.
1010

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>org.postgresql</groupId>
2727
<artifactId>postgresql</artifactId>
28-
<version>42.3.3</version>
28+
<version>42.4.3</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>jakarta.validation</groupId>
Lines changed: 59 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,77 @@
11
package io.swagger.model.core;
22

33
import java.util.Objects;
4-
import com.fasterxml.jackson.annotation.JsonProperty;
54

6-
import io.swagger.annotations.ApiModel;
7-
import io.swagger.annotations.ApiModelProperty;
8-
import org.springframework.validation.annotation.Validated;
5+
import com.fasterxml.jackson.annotation.JsonIgnore;
6+
import com.fasterxml.jackson.annotation.JsonProperty;
97

10-
/**
11-
* The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology
12-
*/
13-
@ApiModel(description = "The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology")
14-
@Validated
15-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2020-03-20T16:31:52.030Z[GMT]")
16-
public class StudyExperimentalDesign {
17-
@JsonProperty("PUI")
18-
private String PUI = null;
8+
public class StudyExperimentalDesign {
9+
@JsonProperty("PUI")
10+
private String PUI = null;
1911

20-
@JsonProperty("description")
21-
private String description = null;
12+
@JsonProperty("description")
13+
private String description = null;
2214

23-
public StudyExperimentalDesign PUI(String PUI) {
24-
this.PUI = PUI;
25-
return this;
26-
}
15+
public StudyExperimentalDesign PUI(String PUI) {
16+
this.PUI = PUI;
17+
return this;
18+
}
2719

28-
/**
29-
* MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology.
30-
* @return PUI
31-
**/
32-
@ApiModelProperty(example = "CO_715:0000145", value = "MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology.")
33-
34-
public String getPUI() {
35-
return PUI;
36-
}
20+
@JsonIgnore
21+
public String getPUI() {
22+
return PUI;
23+
}
3724

38-
public void setPUI(String PUI) {
39-
this.PUI = PUI;
40-
}
25+
public void setPUI(String PUI) {
26+
this.PUI = PUI;
27+
}
4128

42-
public StudyExperimentalDesign description(String description) {
43-
this.description = description;
44-
return this;
45-
}
29+
public StudyExperimentalDesign description(String description) {
30+
this.description = description;
31+
return this;
32+
}
4633

47-
/**
48-
* MIAPPE V1.1 (DM-22) Description of the experimental design - Short description of the experimental design, possibly including statistical design. In specific cases, e.g. legacy datasets or data computed from several studies, the experimental design can be \"unknown\"/\"NA\", \"aggregated/reduced data\", or simply 'none'.
49-
* @return description
50-
**/
51-
@ApiModelProperty(example = "Lines were repeated twice at each location using a complete block design. In order to limit competition effects, each block was organized into four sub-blocks corresponding to earliest groups based on a prior information.", value = "MIAPPE V1.1 (DM-22) Description of the experimental design - Short description of the experimental design, possibly including statistical design. In specific cases, e.g. legacy datasets or data computed from several studies, the experimental design can be \"unknown\"/\"NA\", \"aggregated/reduced data\", or simply 'none'.")
52-
53-
public String getDescription() {
54-
return description;
55-
}
34+
public String getDescription() {
35+
return description;
36+
}
5637

57-
public void setDescription(String description) {
58-
this.description = description;
59-
}
38+
public void setDescription(String description) {
39+
this.description = description;
40+
}
6041

42+
@Override
43+
public boolean equals(java.lang.Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
StudyExperimentalDesign studyNewRequestExperimentalDesign = (StudyExperimentalDesign) o;
51+
return Objects.equals(this.PUI, studyNewRequestExperimentalDesign.PUI)
52+
&& Objects.equals(this.description, studyNewRequestExperimentalDesign.description);
53+
}
6154

62-
@Override
63-
public boolean equals(java.lang.Object o) {
64-
if (this == o) {
65-
return true;
66-
}
67-
if (o == null || getClass() != o.getClass()) {
68-
return false;
69-
}
70-
StudyExperimentalDesign studyNewRequestExperimentalDesign = (StudyExperimentalDesign) o;
71-
return Objects.equals(this.PUI, studyNewRequestExperimentalDesign.PUI) &&
72-
Objects.equals(this.description, studyNewRequestExperimentalDesign.description);
73-
}
55+
@Override
56+
public int hashCode() {
57+
return Objects.hash(PUI, description);
58+
}
7459

75-
@Override
76-
public int hashCode() {
77-
return Objects.hash(PUI, description);
78-
}
60+
@Override
61+
public String toString() {
62+
StringBuilder sb = new StringBuilder();
63+
sb.append("class StudyNewRequestExperimentalDesign {\n");
7964

80-
@Override
81-
public String toString() {
82-
StringBuilder sb = new StringBuilder();
83-
sb.append("class StudyNewRequestExperimentalDesign {\n");
84-
85-
sb.append(" PUI: ").append(toIndentedString(PUI)).append("\n");
86-
sb.append(" description: ").append(toIndentedString(description)).append("\n");
87-
sb.append("}");
88-
return sb.toString();
89-
}
65+
sb.append(" PUI: ").append(toIndentedString(PUI)).append("\n");
66+
sb.append(" description: ").append(toIndentedString(description)).append("\n");
67+
sb.append("}");
68+
return sb.toString();
69+
}
9070

91-
/**
92-
* Convert the given object to string with each line indented by 4 spaces
93-
* (except the first line).
94-
*/
95-
private String toIndentedString(java.lang.Object o) {
96-
if (o == null) {
97-
return "null";
98-
}
99-
return o.toString().replace("\n", "\n ");
100-
}
71+
private String toIndentedString(java.lang.Object o) {
72+
if (o == null) {
73+
return "null";
74+
}
75+
return o.toString().replace("\n", "\n ");
76+
}
10177
}
Lines changed: 59 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,77 @@
11
package io.swagger.model.core;
22

33
import java.util.Objects;
4-
import com.fasterxml.jackson.annotation.JsonProperty;
54

6-
import io.swagger.annotations.ApiModel;
7-
import io.swagger.annotations.ApiModelProperty;
8-
import org.springframework.validation.annotation.Validated;
5+
import com.fasterxml.jackson.annotation.JsonIgnore;
6+
import com.fasterxml.jackson.annotation.JsonProperty;
97

10-
/**
11-
* Short description of the facility in which the study was carried out.
12-
*/
13-
@ApiModel(description = "Short description of the facility in which the study was carried out.")
14-
@Validated
15-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2020-03-20T16:31:52.030Z[GMT]")
16-
public class StudyGrowthFacility {
17-
@JsonProperty("PUI")
18-
private String PUI = null;
8+
public class StudyGrowthFacility {
9+
@JsonProperty("PUI")
10+
private String PUI = null;
1911

20-
@JsonProperty("description")
21-
private String description = null;
12+
@JsonProperty("description")
13+
private String description = null;
2214

23-
public StudyGrowthFacility PUI(String PUI) {
24-
this.PUI = PUI;
25-
return this;
26-
}
15+
public StudyGrowthFacility PUI(String PUI) {
16+
this.PUI = PUI;
17+
return this;
18+
}
2719

28-
/**
29-
* MIAPPE V1.1 (DM-27) Type of growth facility - Type of growth facility in which the study was carried out, in the form of an accession number from the Crop Ontology.
30-
* @return PUI
31-
**/
32-
@ApiModelProperty(example = "CO_715:0000162", value = "MIAPPE V1.1 (DM-27) Type of growth facility - Type of growth facility in which the study was carried out, in the form of an accession number from the Crop Ontology.")
33-
34-
public String getPUI() {
35-
return PUI;
36-
}
20+
@JsonIgnore
21+
public String getPUI() {
22+
return PUI;
23+
}
3724

38-
public void setPUI(String PUI) {
39-
this.PUI = PUI;
40-
}
25+
public void setPUI(String PUI) {
26+
this.PUI = PUI;
27+
}
4128

42-
public StudyGrowthFacility description(String description) {
43-
this.description = description;
44-
return this;
45-
}
29+
public StudyGrowthFacility description(String description) {
30+
this.description = description;
31+
return this;
32+
}
4633

47-
/**
48-
* MIAPPE V1.1 (DM-26) Description of growth facility - Short description of the facility in which the study was carried out.
49-
* @return description
50-
**/
51-
@ApiModelProperty(example = "field environment condition, greenhouse", value = "MIAPPE V1.1 (DM-26) Description of growth facility - Short description of the facility in which the study was carried out.")
52-
53-
public String getDescription() {
54-
return description;
55-
}
34+
public String getDescription() {
35+
return description;
36+
}
5637

57-
public void setDescription(String description) {
58-
this.description = description;
59-
}
38+
public void setDescription(String description) {
39+
this.description = description;
40+
}
6041

42+
@Override
43+
public boolean equals(java.lang.Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
StudyGrowthFacility studyNewRequestGrowthFacility = (StudyGrowthFacility) o;
51+
return Objects.equals(this.PUI, studyNewRequestGrowthFacility.PUI)
52+
&& Objects.equals(this.description, studyNewRequestGrowthFacility.description);
53+
}
6154

62-
@Override
63-
public boolean equals(java.lang.Object o) {
64-
if (this == o) {
65-
return true;
66-
}
67-
if (o == null || getClass() != o.getClass()) {
68-
return false;
69-
}
70-
StudyGrowthFacility studyNewRequestGrowthFacility = (StudyGrowthFacility) o;
71-
return Objects.equals(this.PUI, studyNewRequestGrowthFacility.PUI) &&
72-
Objects.equals(this.description, studyNewRequestGrowthFacility.description);
73-
}
55+
@Override
56+
public int hashCode() {
57+
return Objects.hash(PUI, description);
58+
}
7459

75-
@Override
76-
public int hashCode() {
77-
return Objects.hash(PUI, description);
78-
}
60+
@Override
61+
public String toString() {
62+
StringBuilder sb = new StringBuilder();
63+
sb.append("class StudyNewRequestGrowthFacility {\n");
7964

80-
@Override
81-
public String toString() {
82-
StringBuilder sb = new StringBuilder();
83-
sb.append("class StudyNewRequestGrowthFacility {\n");
84-
85-
sb.append(" PUI: ").append(toIndentedString(PUI)).append("\n");
86-
sb.append(" description: ").append(toIndentedString(description)).append("\n");
87-
sb.append("}");
88-
return sb.toString();
89-
}
65+
sb.append(" PUI: ").append(toIndentedString(PUI)).append("\n");
66+
sb.append(" description: ").append(toIndentedString(description)).append("\n");
67+
sb.append("}");
68+
return sb.toString();
69+
}
9070

91-
/**
92-
* Convert the given object to string with each line indented by 4 spaces
93-
* (except the first line).
94-
*/
95-
private String toIndentedString(java.lang.Object o) {
96-
if (o == null) {
97-
return "null";
98-
}
99-
return o.toString().replace("\n", "\n ");
100-
}
71+
private String toIndentedString(java.lang.Object o) {
72+
if (o == null) {
73+
return "null";
74+
}
75+
return o.toString().replace("\n", "\n ");
76+
}
10177
}

src/main/java/io/swagger/model/germ/PedigreeSearchRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ public class PedigreeSearchRequest extends SearchRequest {
3737
private List<String> germplasmPUIs = null;
3838

3939
@JsonProperty("includeFullTree")
40-
private Boolean includeFullTree = null;
40+
private Boolean includeFullTree = false;
4141

4242
@JsonProperty("includeParents")
43-
private Boolean includeParents = null;
43+
private Boolean includeParents = true;
4444

4545
@JsonProperty("includeProgeny")
46-
private Boolean includeProgeny = null;
46+
private Boolean includeProgeny = true;
4747

4848
@JsonProperty("includeSiblings")
49-
private Boolean includeSiblings = null;
49+
private Boolean includeSiblings = false;
5050

5151
@JsonProperty("instituteCodes")
5252
private List<String> instituteCodes = null;
5353

5454
@JsonProperty("pedigreeDepth")
55-
private Integer pedigreeDepth = null;
55+
private Integer pedigreeDepth = 1;
5656

5757
@JsonProperty("progenyDepth")
58-
private Integer progenyDepth = null;
58+
private Integer progenyDepth = 1;
5959

6060
@JsonProperty("programDbIds")
6161
private List<String> programDbIds = null;

0 commit comments

Comments
 (0)