Package io.atlasmap.service
Class AtlasService
java.lang.Object
io.atlasmap.service.AtlasService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createMappingRequest
(InputStream mapping, MappingFileType mappingFormat, Integer mappingDefinitionId, javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
createMappingRequestOld
(InputStream mapping, MappingFileType mappingFormat, javax.ws.rs.core.UriInfo uriInfo) Deprecated.javax.ws.rs.core.Response
getMappingRequest
(MappingFileType mappingFormat, Integer mappingDefinitionId) javax.ws.rs.core.Response
getMappingRequestOld
(MappingFileType mappingFormat) Deprecated.javax.ws.rs.core.Response
listFieldActions
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
listLibraryClasses
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
listMappingBuilderClasses
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
listMappings
(javax.ws.rs.core.UriInfo uriInfo, String filter, Integer mappingDefinitionId) javax.ws.rs.core.Response
listMappingsOld
(javax.ws.rs.core.UriInfo uriInfo, String filter) Deprecated.javax.ws.rs.core.Response
ping()
javax.ws.rs.core.Response
processMappingRequest
(InputStream request, javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
removeMappingRequest
(Integer mappingDefinitionId) javax.ws.rs.core.Response
Deprecated.javax.ws.rs.core.Response
javax.ws.rs.core.Response
resetMappingById
(Integer mappingDefinitionId) javax.ws.rs.core.Response
Deprecated.javax.ws.rs.core.Response
javax.ws.rs.core.Response
updateMappingRequest
(InputStream mapping, Integer mappingDefinitionId, javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
updateMappingRequestOld
(InputStream mapping, javax.ws.rs.core.UriInfo uriInfo) Deprecated.javax.ws.rs.core.Response
uploadLibrary
(InputStream requestIn) protected javax.ws.rs.core.Response
validateMapping
(Integer mappingDefinitionId, AtlasMapping mapping, javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
validateMappingRequest
(InputStream mapping, Integer mappingDefinitionId, javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
validateMappingRequestOld
(InputStream mapping, javax.ws.rs.core.UriInfo uriInfo) Deprecated.javax.ws.rs.core.Response
version()
-
Constructor Details
-
AtlasService
- Throws:
AtlasException
-
-
Method Details
-
listFieldActions
@GET @Path("/fieldActions") @Produces("application/json") public javax.ws.rs.core.Response listFieldActions(@Context javax.ws.rs.core.UriInfo uriInfo) -
listMappingsOld
@Deprecated @GET @Path("/mappings") @Produces("application/json") public javax.ws.rs.core.Response listMappingsOld(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("filter") String filter) Deprecated. -
listMappings
-
removeMappingRequestOld
@Deprecated @DELETE @Path("/mapping") @Produces("application/json") public javax.ws.rs.core.Response removeMappingRequestOld()Deprecated. -
removeMappingRequest
@DELETE @Path("/mapping/{mappingDefinitionId}") @Produces("application/json") public javax.ws.rs.core.Response removeMappingRequest(@PathParam("mappingDefinitionId") Integer mappingDefinitionId) -
resetMappingByIdOld
@Deprecated @DELETE @Path("/mapping/RESET") @Produces("application/json") public javax.ws.rs.core.Response resetMappingByIdOld()Deprecated. -
resetMappingById
@DELETE @Path("/mapping/RESET/{mappingDefinitionId}") @Produces("application/json") public javax.ws.rs.core.Response resetMappingById(@PathParam("mappingDefinitionId") Integer mappingDefinitionId) -
resetAllMappings
@DELETE @Path("/mapping/RESET/ALL") @Produces("application/json") public javax.ws.rs.core.Response resetAllMappings() -
resetUserLibs
@DELETE @Path("/mapping/resetLibs") @Produces("application/json") public javax.ws.rs.core.Response resetUserLibs() -
getMappingRequestOld
@Deprecated @GET @Path("/mapping/{mappingFormat}") @Produces({"application/json","application/xml","application/octet-stream"}) public javax.ws.rs.core.Response getMappingRequestOld(@PathParam("mappingFormat") MappingFileType mappingFormat) Deprecated. -
getMappingRequest
@GET @Path("/mapping/{mappingFormat}/{mappingDefinitionId}") @Produces({"application/json","application/xml","application/octet-stream"}) public javax.ws.rs.core.Response getMappingRequest(@PathParam("mappingFormat") MappingFileType mappingFormat, @PathParam("mappingDefinitionId") Integer mappingDefinitionId) -
createMappingRequestOld
@Deprecated @PUT @Path("/mapping/{mappingFormat}") @Consumes({"application/json","application/xml","application/octet-stream"}) @Produces("application/json") public javax.ws.rs.core.Response createMappingRequestOld(InputStream mapping, @PathParam("mappingFormat") MappingFileType mappingFormat, @Context javax.ws.rs.core.UriInfo uriInfo) Deprecated. -
createMappingRequest
@PUT @Path("/mapping/{mappingFormat}/{mappingDefinitionId}") @Consumes({"application/json","application/xml","application/octet-stream"}) @Produces("application/json") public javax.ws.rs.core.Response createMappingRequest(InputStream mapping, @PathParam("mappingFormat") MappingFileType mappingFormat, @PathParam("mappingDefinitionId") Integer mappingDefinitionId, @Context javax.ws.rs.core.UriInfo uriInfo) -
updateMappingRequestOld
@Deprecated @POST @Path("/mapping") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response updateMappingRequestOld(InputStream mapping, @Context javax.ws.rs.core.UriInfo uriInfo) Deprecated. -
updateMappingRequest
@POST @Path("/mapping/{mappingDefinitionId}") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response updateMappingRequest(InputStream mapping, @PathParam("mappingDefinitionId") Integer mappingDefinitionId, @Context javax.ws.rs.core.UriInfo uriInfo) -
validateMappingRequestOld
@Deprecated @PUT @Path("/mapping/validate") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response validateMappingRequestOld(InputStream mapping, @Context javax.ws.rs.core.UriInfo uriInfo) Deprecated. -
validateMappingRequest
@PUT @Path("/mapping/validate/{mappingDefinitionId}") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response validateMappingRequest(InputStream mapping, @PathParam("mappingDefinitionId") Integer mappingDefinitionId, @Context javax.ws.rs.core.UriInfo uriInfo) -
processMappingRequest
@PUT @Path("/mapping/process") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response processMappingRequest(InputStream request, @Context javax.ws.rs.core.UriInfo uriInfo) -
ping
@GET @Path("/ping") public javax.ws.rs.core.Response ping() -
version
@GET @Path("/version") public javax.ws.rs.core.Response version() -
listLibraryClasses
@GET @Path("/library/list") @Produces("application/json") public javax.ws.rs.core.Response listLibraryClasses(@Context javax.ws.rs.core.UriInfo uriInfo) -
uploadLibrary
@PUT @Path("/library") @Consumes("application/octet-stream") public javax.ws.rs.core.Response uploadLibrary(InputStream requestIn) -
listMappingBuilderClasses
@GET @Path("/mappingBuilders") @Produces("application/json") public javax.ws.rs.core.Response listMappingBuilderClasses(@Context javax.ws.rs.core.UriInfo uriInfo) -
getLibraryLoader
-
validateMapping
protected javax.ws.rs.core.Response validateMapping(Integer mappingDefinitionId, AtlasMapping mapping, javax.ws.rs.core.UriInfo uriInfo) throws IOException, AtlasException - Throws:
IOException
AtlasException
-