Skip to content

Commit

Permalink
Merge pull request #365 from oblivion14/develop
Browse files Browse the repository at this point in the history
domain 컴포넌트 기능추가
  • Loading branch information
oblivion14 authored Feb 7, 2017
2 parents 1208fbb + fe0ffee commit 6c1d433
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 6c1d433

Please sign in to comment.