Interface InspectionService


  • @Path("/inspection")
    @Consumes({"application/xml","application/json"})
    @Produces({"application/xml","application/json"})
    public interface InspectionService
    Inspects middleware. Provides services to discover your topology and resources and synchronize them with the state currently known in XL Deploy.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String createTask​(Inspection inspection)
      Creates the inspection task
      Inspection prepare​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci)
      Initializes the task parameter object for inspection on a CI.
      Inspection prepare​(java.lang.String id)
      Initializes the task parameter object for inspection on a CI.
      java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> retrieveInspectionResults​(java.lang.String taskId)
      Retrieve the inspection results
    • Method Detail

      • prepare

        @POST
        @Path("prepare")
        Inspection prepare​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci)
        Initializes the task parameter object for inspection on a CI.
        Parameters:
        ci - The CI to inspect. For example, the root node of a middleware topology.
        Returns:
        an Inspection parameter object.
        Permission:
        discovery
      • prepare

        @GET
        @Path("prepare/{id:.+}")
        Inspection prepare​(@PathParam("id")
                           java.lang.String id)
        Initializes the task parameter object for inspection on a CI.
        Parameters:
        id - The ID of the CI to inspect. For example, the root node of a middleware topology.
        Returns:
        an Inspection parameter object.
        Permission:
        discovery
      • retrieveInspectionResults

        @POST
        @Path("retrieve/{taskId}")
        java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> retrieveInspectionResults​(@PathParam("taskId")
                                                                                                          java.lang.String taskId)
        Retrieve the inspection results
        Parameters:
        taskId - the Task ID of the task that ran the inspection.
        Returns:
        the list of CIs that were inspected.