I have one springboot service which contains multiple endpoints(say 8). Now I want to reuse that service and deploy on some new environment, but I only need one endpoint of that service. Is it possible to deploy just a single endpoint ?
Asked
Active
Viewed 140 times
0
-
Yeah why not. There are gazillion ways. For eg: use spring security on top of it. – Aniket Sahrawat May 19 '20 at 08:59
-
@AniketSahrawat Can you please provide me some reference/pointers? – Akanksha May 19 '20 at 09:23
-
Are you familar with Spring Security? – Aniket Sahrawat May 19 '20 at 09:25
-
remove the @RequestMapping – Loui5 May 19 '20 at 09:56
-
1@HoWaiChan I think the concern is that the application is jar. – Aniket Sahrawat May 19 '20 at 16:12
-
1If there is same jar then it is not possible even familar with Spring Security – Loui5 May 20 '20 at 02:43