From b25fb4e6ad4d537e7c22bc6cb8c61972e89afac1 Mon Sep 17 00:00:00 2001 From: navodzoysa Date: Wed, 21 Dec 2022 10:26:21 +0530 Subject: [PATCH] Revert direct app publishing merge conflict --- .../impl/ApplicationManagementPublisherAPIImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/ApplicationManagementPublisherAPIImpl.java b/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/ApplicationManagementPublisherAPIImpl.java index eea083153b..3048cc8f1f 100644 --- a/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/ApplicationManagementPublisherAPIImpl.java +++ b/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/ApplicationManagementPublisherAPIImpl.java @@ -169,7 +169,7 @@ public class ApplicationManagementPublisherAPIImpl implements ApplicationManagem @Consumes(MediaType.APPLICATION_JSON) @Path("/ent-app") public Response createEntApp( - ApplicationWrapper applicationWrapper, @QueryParam("isPublished") boolean isPublished) { + ApplicationWrapper applicationWrapper, @QueryParam("is-published") boolean isPublished) { try { return createApplication(applicationWrapper, isPublished); } catch (BadRequestException e) { @@ -191,7 +191,7 @@ public class ApplicationManagementPublisherAPIImpl implements ApplicationManagem @Consumes(MediaType.APPLICATION_JSON) @Path("/web-app") public Response createWebApp( - WebAppWrapper webAppWrapper, @QueryParam("isPublished") boolean isPublished) { + WebAppWrapper webAppWrapper, @QueryParam("is-published") boolean isPublished) { try { return createApplication(webAppWrapper, isPublished); } catch (BadRequestException e) { @@ -213,7 +213,7 @@ public class ApplicationManagementPublisherAPIImpl implements ApplicationManagem @Consumes(MediaType.APPLICATION_JSON) @Path("/public-app") public Response createPubApp( - PublicAppWrapper publicAppWrapper, @QueryParam("isPublished") boolean isPublished) { + PublicAppWrapper publicAppWrapper, @QueryParam("is-published") boolean isPublished) { try { return createApplication(publicAppWrapper, isPublished); } catch (BadRequestException e) { @@ -235,7 +235,7 @@ public class ApplicationManagementPublisherAPIImpl implements ApplicationManagem @Consumes(MediaType.APPLICATION_JSON) @Path("/custom-app") public Response createCustomApp( - CustomAppWrapper customAppWrapper, @QueryParam("isPublished") boolean isPublished) { + CustomAppWrapper customAppWrapper, @QueryParam("is-published") boolean isPublished) { try { return createApplication(customAppWrapper, isPublished); } catch (BadRequestException e) {