Skip to content

Commit

Permalink
add public reference field to engagement (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanoy authored Sep 30, 2020
1 parent 427014b commit 3b23f3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/redhat/labs/lodestar/model/Engagement.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public class Engagement extends PanacheMongoEntityBase {
private String ocpPersistentStorageSize;
@JsonbProperty("ocp_cluster_size")
private String ocpClusterSize;
@JsonbProperty("public_reference")
private boolean publicReference;
@JsonProperty("additional_details")
private String additionalDetails;
private Launch launch;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ void testPostEngagementWithAuthAndRoleSuccess() throws Exception {
.statusCode(201)
.body("customer_name", equalTo(engagement.getCustomerName()))
.body("project_name", equalTo(engagement.getProjectName()))
.body("public_reference", equalTo(engagement.isPublicReference()))
.body("project_id", nullValue());


Expand Down

0 comments on commit 3b23f3f

Please sign in to comment.