2828import org .slf4j .Logger ;
2929import org .slf4j .LoggerFactory ;
3030import org .springframework .beans .factory .annotation .Autowired ;
31- import org . springframework . web . bind . annotation . CrossOrigin ;
31+
3232import org .springframework .web .bind .annotation .RequestBody ;
3333import org .springframework .web .bind .annotation .RequestMapping ;
3434import org .springframework .web .bind .annotation .RequestMethod ;
@@ -60,7 +60,6 @@ public void setServiceProvider_ServiceImpl(BlockingInter blockingInter) {
6060 this .blockingInter = blockingInter ;
6161 }
6262
63- @ CrossOrigin ()
6463 @ Operation (summary = "Block provider 1" )
6564 @ RequestMapping (value = "/blockProvider1" , headers = "Authorization" , method = { RequestMethod .POST }, produces = {
6665 "application/json" })
@@ -119,7 +118,6 @@ public String blockProvider1(@RequestBody String providerBlocking) {
119118
120119 }
121120
122- @ CrossOrigin ()
123121 @ Operation (summary = "Block provider" )
124122 @ RequestMapping (value = "/blockProvider" , headers = "Authorization" , method = { RequestMethod .POST }, produces = {
125123 "application/json" })
@@ -178,7 +176,6 @@ public String blockProvider(@RequestBody String providerBlocking) {
178176
179177 }
180178
181- @ CrossOrigin ()
182179 @ Operation (summary = "Block provider by service id" )
183180 @ RequestMapping (value = { "/blockProviderByServiceId" }, method = { RequestMethod .POST }, produces = {
184181 "application/json" }, headers = "Authorization" )
@@ -239,7 +236,6 @@ public String blockProviderByServiceId(@RequestBody String blockProviderByServic
239236
240237 }
241238
242- @ CrossOrigin ()
243239 @ Operation (summary = "Get provider status" )
244240 @ RequestMapping (value = "/getProviderStatus" , headers = "Authorization" , method = {
245241 RequestMethod .POST }, produces = { "application/json" })
@@ -266,7 +262,6 @@ public String getProviderStatus(@RequestBody String getProviderStatus) {
266262
267263 }
268264
269- @ CrossOrigin ()
270265 @ Operation (summary = "Get provider status 1" )
271266 @ RequestMapping (value = "/getProviderStatus1" , headers = "Authorization" , method = {
272267 RequestMethod .POST }, produces = { "application/json" })
@@ -293,7 +288,6 @@ public String getProviderStatus1(@RequestBody String getProviderStatus) {
293288
294289 }
295290
296- @ CrossOrigin ()
297291 @ Operation (summary = "Get service liens using provider" )
298292 @ RequestMapping (value = "/getServiceLinesUsingProvider" , headers = "Authorization" , method = {
299293 RequestMethod .POST }, produces = { "application/json" })
@@ -320,7 +314,6 @@ public String getServiceLiensUsingProvider(@RequestBody String getServiceLiensUs
320314
321315 }
322316
323- @ CrossOrigin ()
324317 @ Operation (summary = "Get provider status by provider and service id" )
325318 @ RequestMapping (value = "/getProviderStatusByProviderAndServiceId" , headers = "Authorization" , method = {
326319 RequestMethod .POST }, produces = { "application/json" })
@@ -348,7 +341,6 @@ public String getProviderStatusByProviderAndServiceId(@RequestBody String getPro
348341
349342 }
350343
351- @ CrossOrigin ()
352344 @ Operation (summary = "Block provider by service" )
353345 @ RequestMapping (value = "/blockProviderByService" , headers = "Authorization" , method = {
354346 RequestMethod .POST }, produces = { "application/json" })
@@ -401,7 +393,6 @@ public String blockProviderByService(@RequestBody String providerServiceBlocking
401393
402394 }
403395
404- @ CrossOrigin ()
405396 @ Operation (summary = "Get provider status by service" )
406397 @ RequestMapping (value = "/getProviderStatusByService" , headers = "Authorization" , method = {
407398 RequestMethod .POST }, produces = { "application/json" })
@@ -430,7 +421,6 @@ public String getProviderStatusByService(@RequestBody String providerServiceBloc
430421
431422 }
432423
433- @ CrossOrigin ()
434424 @ Operation (summary = "Block provider by state" )
435425 @ RequestMapping (value = "/blockProviderByState" , headers = "Authorization" , method = {
436426 RequestMethod .POST }, produces = { "application/json" })
@@ -491,7 +481,6 @@ public String blockProviderByState(@RequestBody String providerStateBlocking) {
491481
492482 }
493483
494- @ CrossOrigin ()
495484 @ Operation (summary = "Get provider status by state" )
496485 @ RequestMapping (value = "/getProviderStatusByState" , headers = "Authorization" , method = {
497486 RequestMethod .POST }, produces = { "application/json" })
@@ -520,7 +509,6 @@ public String getProviderStatusByState(@RequestBody String providerStateBlocking
520509
521510 }
522511
523- @ CrossOrigin ()
524512 @ Operation (summary = "Block user" )
525513 @ RequestMapping (value = "/blockUser" , headers = "Authorization" , method = { RequestMethod .POST }, produces = {
526514 "application/json" })
@@ -568,7 +556,6 @@ public String blockUser(@RequestBody String blockUser) {
568556
569557 }
570558
571- @ CrossOrigin ()
572559 @ Operation (summary = "Get status" )
573560 @ RequestMapping (value = "/getStatus" , headers = "Authorization" , method = { RequestMethod .POST }, produces = {
574561 "application/json" })
@@ -593,7 +580,6 @@ public String getStatus(@RequestBody String getStatus) {
593580
594581 }
595582
596- @ CrossOrigin ()
597583 @ Operation (summary = "Provider state and service lines" )
598584 @ RequestMapping (value = "/addProviderStateAndServiceLines" , headers = "Authorization" , method = {
599585 RequestMethod .POST }, produces = { "application/json" })
@@ -657,7 +643,6 @@ public String ProviderStateAndServiceLines(@RequestBody String ProviderStateAndS
657643
658644 }
659645
660- @ CrossOrigin ()
661646 @ Operation (summary = "Delete provider state and service lines" )
662647 @ RequestMapping (value = "/deleteProviderStateAndServiceLines" , headers = "Authorization" , method = {
663648 RequestMethod .POST }, produces = { "application/json" })
@@ -701,7 +686,6 @@ public String deleteProviderStateAndServiceLines(@RequestBody String deleteProvi
701686
702687 }
703688
704- @ CrossOrigin ()
705689 @ Operation (summary = "Create cit mapping with service lines" )
706690 @ RequestMapping (value = "/createCitMappingwithServiceLines" , headers = "Authorization" , method = {
707691 RequestMethod .POST }, produces = { "application/json" })
@@ -728,7 +712,6 @@ public String createCitMappingwithServiceLines(@RequestBody String createCitMapp
728712
729713 }
730714
731- @ CrossOrigin ()
732715 @ Operation (summary = "Get mapped service lines and state to provider" )
733716 @ RequestMapping (value = "/getMappedServiceLinesAndStatetoProvider" , headers = "Authorization" , method = {
734717 RequestMethod .POST }, consumes = { "application/json" }, produces = { "application/json" })
@@ -756,7 +739,6 @@ public String getMappedServiceLinesAndStatetoProvider(@RequestBody String getMap
756739
757740 }
758741
759- @ CrossOrigin ()
760742 @ Operation (summary = "Map provider and service lines" )
761743 @ RequestMapping (value = "/mapServiceLinesAndStatetoProvider" , headers = "Authorization" , method = {
762744 RequestMethod .POST }, produces = { "application/json" })
@@ -822,7 +804,6 @@ public String mapProviderAndServiceLines(@RequestBody String mapProviderAndServi
822804
823805 }
824806
825- @ CrossOrigin ()
826807 @ Operation (summary = "Edit mapped service lines and state to provider" )
827808 @ RequestMapping (value = "/editMappedServiceLinesAndStatetoProvider" , headers = "Authorization" , method = {
828809 RequestMethod .POST }, produces = { "application/json" })
@@ -856,7 +837,6 @@ public String editMappedServiceLinesAndStatetoProvider(
856837
857838 }
858839
859- @ CrossOrigin ()
860840 @ Operation (summary = "Delete mapped service lines and state to provider" )
861841 @ RequestMapping (value = "/deleteMappedServiceLinesAndStatetoProvider" , headers = "Authorization" , method = {
862842 RequestMethod .POST }, produces = { "application/json" })
0 commit comments