Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. package com.pig.microservices.limitsservice;
  2.  
  3. import org.springframework.web.bind.annotation.GetMapping;
  4. import org.springframework.web.bind.annotation.RestController;
  5.  
  6. import com.pig.microservices.limitsservice.bean.LimitConfiguration;
  7.  
  8. @RestController
  9. public class LimitsConfigurationController {
  10. @GetMapping("/limits")
  11. public LimitConfiguration retrieveLimitsFromConfigurations() {
  12. return new LimitConfiguration(1000,1);
  13. }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement