@Path(value="appstore/import")
public class RawAppResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AppInstallationServiceFinder |
finder |
private static org.slf4j.Logger |
log |
private OAuth2Service |
oauth2Service |
private OfficialAppService |
officialAppService |
Constructor and Description |
---|
RawAppResource(OfficialAppService officialAppService,
AppInstallationServiceFinder finder,
OAuth2Service oauth2Service) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
importApps(java.util.List<RawApp> rawImport) |
javax.ws.rs.core.Response |
importOAuth2Clients(java.util.List<OAuth2Client> oAuth2Clients) |
private static final org.slf4j.Logger log
private final OfficialAppService officialAppService
private final AppInstallationServiceFinder finder
private final OAuth2Service oauth2Service
@Inject public RawAppResource(OfficialAppService officialAppService, AppInstallationServiceFinder finder, OAuth2Service oauth2Service)
@PUT @Path(value="apps") @Consumes(value="application/json") public javax.ws.rs.core.Response importApps(@NotNull java.util.List<RawApp> rawImport)
@PUT @Path(value="clients") @Consumes(value="application/json") public javax.ws.rs.core.Response importOAuth2Clients(java.util.List<OAuth2Client> oAuth2Clients)