Skip to content

Commit 9c16f0a

Browse files
committed
project name rename
1 parent 5baa2d8 commit 9c16f0a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/java/com/redhat/labs/lodestar/models/Engagement.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ public class Engagement {
6565
private String mapType;
6666
@JsonbProperty("categories")
6767
private Set<String> mapCategories;
68+
private String name;
6869

6970
}

src/main/java/com/redhat/labs/lodestar/service/MigrationService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,11 @@ private String migrateEngagement(Engagement engagement) {
213213

214214
copy.setMapRegion(copy.getRegion());
215215
copy.setMapType(copy.getType());
216+
copy.setName(copy.getProjectName());
216217
copy.setCategories(null);
217218
copy.setRegion(null);
218219
copy.setType(null);
220+
copy.setProjectName(null);
219221

220222
copy.setHostingEnvironments(null);
221223
copy.setEngagementUsers(null);

0 commit comments

Comments
 (0)