Skip to content

Commit

Permalink
Merge pull request #366 from oblivion14/develop
Browse files Browse the repository at this point in the history
ServiceModel Component 연동 Data 변경
  • Loading branch information
oblivion14 authored Feb 7, 2017
2 parents 6c1d433 + 4d98dc5 commit 508171e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public String registerServiceModel(ServiceModel serviceModel) {
if(serviceModel.getId() == null){
serviceModel.setId("sm-make-"+ UUIDConverter.shortUUID(UUID.randomUUID().toString().toCharArray()));
}
if(serviceModel.getDescription() == null){
serviceModel.setDescription(serviceModel.getName() + "CVO");
}
logger.debug("ServiceModel = " + serviceModel);
ResponseMessage responseMessage = ResponseMessage.newResponseMessage();
// ServiceModelStore serviceModelStore = ServiceModelMapStore.getInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ public ServiceModelTransFormObject(String id, String name, List<String> serviceI
this.serviceIdList = serviceIdList;
}

public ServiceModelTransFormObject(String name, List<String> serviceIdList , String location) {
this.name = name;
this.serviceIdList = serviceIdList;
this.location = location;
}

public ServiceModelTransFormObject(String id, String name, List<String> serviceIdList, String createTime, String modifiedTime, String location, String sessionId, String description) {
this.id = id;
this.name = name;
Expand Down

0 comments on commit 508171e

Please sign in to comment.