Merge branch 'application-mgt-new' of https://gitlab.com/tcdlpds/carbon-device-mgt into application-mgt-new

merge-requests/77/head
Jayasanka 6 years ago
commit 4babef6211

@ -194,7 +194,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -238,7 +238,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -308,7 +308,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -387,7 +387,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -423,7 +423,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -494,7 +494,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -547,7 +547,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "ApplicationDTO Management", tags = "ApplicationDTO Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -595,7 +595,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "Lifecycle Management", tags = "Lifecycle Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )
@ -627,7 +627,7 @@ public interface ApplicationManagementPublisherAPI {
tags = "Lifecycle Management", tags = "Lifecycle Management",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = SCOPE, value = "perm:app:update") @ExtensionProperty(name = SCOPE, value = "perm:app:publisher:update")
}) })
} }
) )

@ -68,6 +68,8 @@ import javax.ws.rs.core.Response;
@Path("/applications") @Path("/applications")
public class ApplicationManagementPublisherAPIImpl implements ApplicationManagementPublisherAPI { public class ApplicationManagementPublisherAPIImpl implements ApplicationManagementPublisherAPI {
private static Log log = LogFactory.getLog(ApplicationManagementPublisherAPIImpl.class);
@POST @POST
@Override @Override
@Consumes("application/json") @Consumes("application/json")

Loading…
Cancel
Save