Skip to content

Commit

Permalink
domain 컴포넌트 기능추
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivion14 committed Feb 7, 2017
1 parent 1208fbb commit fe0ffee
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ public Domain retrieveDomainByName(@PathVariable("name")String domainName){
Domain domain = domainLogic.retrieveDomainDetailByName(domainName);
return domain;
}

//NOTE : Domain Name 으로 Domain 조회
@RequestMapping(value = "/uri/{name}", method = RequestMethod.GET)
@ResponseStatus(value = HttpStatus.OK)
@ResponseBody
public String retrieveDomainUriByName(@PathVariable("name")String domainName){
logger.info(LogPrint.inputInfoLogPrint());
Domain domain = domainLogic.retrieveDomainDetailByName(domainName);
return domain.getUri();
}
}


Expand Down

0 comments on commit fe0ffee

Please sign in to comment.