Class AccessExternalResourceV2
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
-
- fr.gouv.vitam.access.external.rest.v2.rest.AccessExternalResourceV2
-
@Path("/access-external/v2") public class AccessExternalResourceV2 extends ApplicationStatusResource
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
STATUS_URL, TENANTS_URL
-
-
Constructor Summary
Constructors Constructor Description AccessExternalResourceV2(SecureEndpointRegistry secureEndpointRegistry, AccessExternalConfiguration configuration)
ConstructorAccessExternalResourceV2(SecureEndpointRegistry secureEndpointRegistry, AccessInternalClientFactory accessInternalClientFactory, AccessExternalConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
exportDIP(DipRequest dipRequest)
Get a DIP by dip request (dsl query + other export options)javax.ws.rs.core.Response
listResourceEndpoints()
List secured resource end points-
Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
getServerTenants, status
-
-
-
-
Constructor Detail
-
AccessExternalResourceV2
public AccessExternalResourceV2(SecureEndpointRegistry secureEndpointRegistry, AccessExternalConfiguration configuration)
Constructor- Parameters:
secureEndpointRegistry
- endpoint list registry
-
AccessExternalResourceV2
public AccessExternalResourceV2(SecureEndpointRegistry secureEndpointRegistry, AccessInternalClientFactory accessInternalClientFactory, AccessExternalConfiguration configuration)
-
-
Method Detail
-
listResourceEndpoints
@Path("/") @OPTIONS @Produces("application/json") public javax.ws.rs.core.Response listResourceEndpoints()
List secured resource end points- Returns:
- response
-
exportDIP
@POST @Path("/dipexport") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response exportDIP(DipRequest dipRequest)
Get a DIP by dip request (dsl query + other export options)- Parameters:
dipRequest
- the query to get units- Returns:
- Response
-
-