File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/main/java/com/redhat/labs/lodestar/model Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,11 @@ public class Engagement {
129
129
@ JsonbProperty ("engagement_region" )
130
130
private String engagementRegion ;
131
131
132
- //Legacy
132
+ //Legacy - front end should switch to name
133
133
@ JsonbProperty ("project_name" )
134
134
private String projectName ;
135
135
136
- //Legacy
136
+ //Legacy - front end should switch to type
137
137
@ JsonbProperty ("engagement_type" )
138
138
private String engagementType ;
139
139
@@ -167,6 +167,12 @@ public void setEngagementType(String engagementType) {
167
167
this .type = engagementType ;
168
168
}
169
169
170
+ //Legacy
171
+ public void setType (String type ) {
172
+ this .engagementType = type ;
173
+ this .type = type ;
174
+ }
175
+
170
176
//Legacy
171
177
public void addArtifact (Artifact a ) {
172
178
if (artifacts == null ) {
You can’t perform that action at this time.
0 commit comments