test_class.file: modules/flowable-rest/src/test/java/org/flowable/rest/service/api/repository/DeploymentCollectionResourceTest.java
test_class.identifier: DeploymentCollectionResourceTest
test_class.superclass: extends BaseSpringRestTestCase
test_case.body: @Test
      public void testGetDeployments() throws Exception {
  
          try {
              // Alter time to ensure different deployTimes
              Calendar yesterday = Calendar.getInstance();
              yesterday.add(Calendar.DAY_OF_MONTH, -1);
              processEngineConfiguration.getClock().setCurrentTime(yesterday.getTime());
  
              Deployment firstDeployment = repositoryService.createDeployment().name("Deployment 1").category("DEF").addClasspathResource("org/flowable/rest/service/api/repository/oneTaskProcess.bpmn20.xml")
                      .deploy();
  
              processEngineConfiguration.getClock().setCurrentTime(Calendar.getInstance().getTime());
              Deployment secondDeployment = repositoryService.createDeployment().name("Deployment 2").category("ABC")
                      .addClasspathResource("org/flowable/rest/service/api/repository/oneTaskProcess.bpmn20.xml").tenantId("myTenant").deploy();
  
              String baseUrl = RestUrls.createRelativeResourceUrl(RestUrls.URL_DEPLOYMENT_COLLECTION);
              assertResultsPresentInDataResponse(baseUrl, firstDeployment.getId(), secondDeployment.getId());
  
              // Check name filtering
              String url = baseUrl + "?name=" + encode("Deployment 1");
              assertResultsPresentInDataResponse(url, firstDeployment.getId());
  
              // Check name-like filtering
              url = baseUrl + "?nameLike=" + encode("%ment 2");
              assertResultsPresentInDataResponse(url, secondDeployment.getId());
  
              // Check category filtering
              url = baseUrl + "?category=DEF";
              assertResultsPresentInDataResponse(url, firstDeployment.getId());
  
              // Check category-not-equals filtering
              url = baseUrl + "?categoryNotEquals=DEF";
              assertResultsPresentInDataResponse(url, secondDeployment.getId());
  
              // Check tenantId filtering
              url = baseUrl + "?tenantId=myTenant";
              assertResultsPresentInDataResponse(url, secondDeployment.getId());
  
              // Check tenantId filtering
              url = baseUrl + "?tenantId=unexistingTenant";
              assertResultsPresentInDataResponse(url);
  
              // Check tenantId like filtering
              url = baseUrl + "?tenantIdLike=" + encode("%enant");
              assertResultsPresentInDataResponse(url, secondDeployment.getId());
  
              // Check without tenantId filtering
              url = baseUrl + "?withoutTenantId=true";
              assertResultsPresentInDataResponse(url, firstDeployment.getId());
  
              // Check ordering by name
              CloseableHttpResponse response = executeRequest(
                      new HttpGet(SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(RestUrls.URL_DEPLOYMENT_COLLECTION) + "?sort=name&order=asc"),
                      HttpStatus.SC_OK);
              JsonNode dataNode = objectMapper.readTree(response.getEntity().getContent()).get("data");
              closeResponse(response);
              assertThatJson(dataNode)
                      .when(Option.IGNORING_EXTRA_FIELDS)
                      .isEqualTo("[ {"
                              + "  id: '" + firstDeployment.getId() + "'"
                              + "}, {"
                              + "  id: '" + secondDeployment.getId() + "'"
                              + "} ]"
                      );
  
              // Check ordering by deploy time
              response = executeRequest(
                      new HttpGet(SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(RestUrls.URL_DEPLOYMENT_COLLECTION) + "?sort=deployTime&order=asc"),
                      HttpStatus.SC_OK);
              dataNode = objectMapper.readTree(response.getEntity().getContent()).get("data");
              closeResponse(response);
              assertThatJson(dataNode)
                      .when(Option.IGNORING_EXTRA_FIELDS)
                      .isEqualTo("[ {"
                              + "  id: '" + firstDeployment.getId() + "'"
                              + "}, {"
                              + "  id: '" + secondDeployment.getId() + "'"
                              + "} ]"
                      );
  
              // Check ordering by tenantId
              response = executeRequest(
                      new HttpGet(SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(RestUrls.URL_DEPLOYMENT_COLLECTION) + "?sort=tenantId&order=desc"),
                      HttpStatus.SC_OK);
              dataNode = objectMapper.readTree(response.getEntity().getContent()).get("data");
              closeResponse(response);
              assertThatJson(dataNode)
                      .when(Option.IGNORING_EXTRA_FIELDS)
                      .isEqualTo("[ {"
                              + "  id: '" + secondDeployment.getId() + "'"
                              + "}, {"
                              + "  id: '" + firstDeployment.getId() + "'"
                              + "} ]"
                      );
  
              // Check paging
              response = executeRequest(new HttpGet(
                              SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(RestUrls.URL_DEPLOYMENT_COLLECTION) + "?sort=deployTime&order=asc&start=1&size=1"),
                      HttpStatus.SC_OK);
              JsonNode responseNode = objectMapper.readTree(response.getEntity().getContent());
              closeResponse(response);
              assertThatJson(responseNode)
                      .when(Option.IGNORING_EXTRA_FIELDS)
                      .isEqualTo("{"
                              + "   data: [ {"
                              + "             id: '" + secondDeployment.getId() + "'"
                              + "         } ],"
                              + "   total: 2,"
                              + "   start: 1,"
                              + "   size: 1"
                              + "}"
                      );
  
          } finally {
              // Always cleanup any created deployments, even if the test failed
              List<Deployment> deployments = repositoryService.createDeploymentQuery().list();
              for (Deployment deployment : deployments) {
                  repositoryService.deleteDeployment(deployment.getId(), true);
              }
          }
      }
test_case.class_method_signature: DeploymentCollectionResourceTest.testGetDeployments()
test_case.full_signature: @Test public void testGetDeployments()
test_case.identifier: testGetDeployments
test_case.invocations: getInstance add setCurrentTime getClock getTime deploy addClasspathResource category name createDeployment setCurrentTime getClock getTime getInstance deploy tenantId addClasspathResource category name createDeployment createRelativeResourceUrl assertResultsPresentInDataResponse getId getId encode assertResultsPresentInDataResponse getId encode assertResultsPresentInDataResponse getId assertResultsPresentInDataResponse getId assertResultsPresentInDataResponse getId assertResultsPresentInDataResponse getId assertResultsPresentInDataResponse encode assertResultsPresentInDataResponse getId assertResultsPresentInDataResponse getId executeRequest createRelativeResourceUrl get readTree getContent getEntity closeResponse isEqualTo when assertThatJson getId getId executeRequest createRelativeResourceUrl get readTree getContent getEntity closeResponse isEqualTo when assertThatJson getId getId executeRequest createRelativeResourceUrl get readTree getContent getEntity closeResponse isEqualTo when assertThatJson getId getId executeRequest createRelativeResourceUrl readTree getContent getEntity closeResponse isEqualTo when assertThatJson getId list createDeploymentQuery deleteDeployment getId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetDeployments()
focal_class.declarator: DEPRECATED_API_DEPLOYMENT_SEGMENT = "deployment"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String DEPRECATED_API_DEPLOYMENT_SEGMENT = "deployment";
focal_class.type: String
focal_class.var_name: DEPRECATED_API_DEPLOYMENT_SEGMENT
focal_class.declarator: allowedSortProperties = new HashMap<>()
focal_class.modifier: private static
focal_class.original_string: private static Map<String, QueryProperty> allowedSortProperties = new HashMap<>();
focal_class.type: Map<String, QueryProperty>
focal_class.var_name: allowedSortProperties
focal_class.declarator: restResponseFactory
focal_class.modifier: @Autowired
      protected
focal_class.original_string: @Autowired
      protected RestResponseFactory restResponseFactory;
focal_class.type: RestResponseFactory
focal_class.var_name: restResponseFactory
focal_class.declarator: repositoryService
focal_class.modifier: @Autowired
      protected
focal_class.original_string: @Autowired
      protected RepositoryService repositoryService;
focal_class.type: RepositoryService
focal_class.var_name: repositoryService
focal_class.declarator: restApiInterceptor
focal_class.modifier: @Autowired(required=false)
      protected
focal_class.original_string: @Autowired(required=false)
      protected BpmnRestApiInterceptor restApiInterceptor;
focal_class.type: BpmnRestApiInterceptor
focal_class.var_name: restApiInterceptor
focal_class.file: modules/flowable-rest/src/main/java/org/flowable/rest/service/api/repository/DeploymentCollectionResource.java
focal_class.identifier: DeploymentCollectionResource
focal_class.class_method_signature: DeploymentCollectionResource.getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_class.full_signature: @ApiOperation(value = "List Deployments", tags = { "Deployment" }, nickname="listDeployments") @ApiImplicitParams({ @ApiImplicitParam(name = "name", dataType = "string", value = "Only return deployments with the given name.", paramType = "query"), @ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return deployments with a name like the given name.", paramType = "query"), @ApiImplicitParam(name = "category", dataType = "string", value = "Only return deployments with the given category.", paramType = "query"), @ApiImplicitParam(name = "categoryNotEquals", dataType = "string", value = "Only return deployments which do not have the given category.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentId", dataType = "string", value = "Only return deployments with the given parent deployment id.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentIdLike", dataType = "string", value = "Only return deployments with a parent deployment id like the given value.", paramType = "query"), @ApiImplicitParam(name = "tenantId", dataType = "string", value = "Only return deployments with the given tenantId.", paramType = "query"), @ApiImplicitParam(name = "tenantIdLike", dataType = "string", value = "Only return deployments with a tenantId like the given value.", paramType = "query"), @ApiImplicitParam(name = "withoutTenantId", dataType = "boolean", value = "If true, only returns deployments without a tenantId set. If false, the withoutTenantId parameter is ignored.", paramType = "query"), @ApiImplicitParam(name = "sort", dataType = "string", value = "Property to sort on, to be used together with the order.", allowableValues = "id,name,deployTime,tenantId", paramType = "query"), }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the request was successful."), }) @GetMapping(value = "/repository/deployments", produces = "application/json") public DataResponse<DeploymentResponse> getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_class.identifier: getDeployments
focal_class.modifiers: @ApiOperation(value = "List Deployments", tags = { "Deployment" }, nickname="listDeployments") @ApiImplicitParams({ @ApiImplicitParam(name = "name", dataType = "string", value = "Only return deployments with the given name.", paramType = "query"), @ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return deployments with a name like the given name.", paramType = "query"), @ApiImplicitParam(name = "category", dataType = "string", value = "Only return deployments with the given category.", paramType = "query"), @ApiImplicitParam(name = "categoryNotEquals", dataType = "string", value = "Only return deployments which do not have the given category.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentId", dataType = "string", value = "Only return deployments with the given parent deployment id.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentIdLike", dataType = "string", value = "Only return deployments with a parent deployment id like the given value.", paramType = "query"), @ApiImplicitParam(name = "tenantId", dataType = "string", value = "Only return deployments with the given tenantId.", paramType = "query"), @ApiImplicitParam(name = "tenantIdLike", dataType = "string", value = "Only return deployments with a tenantId like the given value.", paramType = "query"), @ApiImplicitParam(name = "withoutTenantId", dataType = "boolean", value = "If true, only returns deployments without a tenantId set. If false, the withoutTenantId parameter is ignored.", paramType = "query"), @ApiImplicitParam(name = "sort", dataType = "string", value = "Property to sort on, to be used together with the order.", allowableValues = "id,name,deployTime,tenantId", paramType = "query"), }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the request was successful."), }) @GetMapping(value = "/repository/deployments", produces = "application/json") public
focal_class.parameters: (@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_class.return: DataResponse<DeploymentResponse>
focal_class.signature: DataResponse<DeploymentResponse> getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_class.class_method_signature: DeploymentCollectionResource.uploadDeployment(@ApiParam(name = "deploymentKey") @RequestParam(value = "deploymentKey", required = false) String deploymentKey,
              @ApiParam(name = "deploymentName") @RequestParam(value = "deploymentName", required = false) String deploymentName,
              @ApiParam(name = "tenantId") @RequestParam(value = "tenantId", required = false) String tenantId,
              HttpServletRequest request, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Create a new deployment", tags = { "Deployment" }, consumes = "multipart/form-data", produces = "application/json", notes = "The request body should contain data of type multipart/form-data. There should be exactly one file in the request, any additional files will be ignored. The deployment name is the name of the file-field passed in. If multiple resources need to be deployed in a single deployment, compress the resources in a zip and make sure the file-name ends with .bar or .zip.\n" + "\n" + "An additional parameter (form-field) can be passed in the request body with name tenantId. The value of this field will be used as the id of the tenant this deployment is done in.") @ApiResponses(value = { @ApiResponse(code = 201, message = "Indicates the deployment was created."), @ApiResponse(code = 400, message = "Indicates there was no content present in the request body or the content mime-type is not supported for deployment. The status-description contains additional information.") }) @ApiImplicitParams({ @ApiImplicitParam(name = "file", dataType = "file", paramType = "form", required = true) }) @PostMapping(value = "/repository/deployments", produces = "application/json", consumes = "multipart/form-data") public DeploymentResponse uploadDeployment(@ApiParam(name = "deploymentKey") @RequestParam(value = "deploymentKey", required = false) String deploymentKey,
              @ApiParam(name = "deploymentName") @RequestParam(value = "deploymentName", required = false) String deploymentName,
              @ApiParam(name = "tenantId") @RequestParam(value = "tenantId", required = false) String tenantId,
              HttpServletRequest request, HttpServletResponse response)
focal_class.identifier: uploadDeployment
focal_class.modifiers: @ApiOperation(value = "Create a new deployment", tags = { "Deployment" }, consumes = "multipart/form-data", produces = "application/json", notes = "The request body should contain data of type multipart/form-data. There should be exactly one file in the request, any additional files will be ignored. The deployment name is the name of the file-field passed in. If multiple resources need to be deployed in a single deployment, compress the resources in a zip and make sure the file-name ends with .bar or .zip.\n" + "\n" + "An additional parameter (form-field) can be passed in the request body with name tenantId. The value of this field will be used as the id of the tenant this deployment is done in.") @ApiResponses(value = { @ApiResponse(code = 201, message = "Indicates the deployment was created."), @ApiResponse(code = 400, message = "Indicates there was no content present in the request body or the content mime-type is not supported for deployment. The status-description contains additional information.") }) @ApiImplicitParams({ @ApiImplicitParam(name = "file", dataType = "file", paramType = "form", required = true) }) @PostMapping(value = "/repository/deployments", produces = "application/json", consumes = "multipart/form-data") public
focal_class.parameters: (@ApiParam(name = "deploymentKey") @RequestParam(value = "deploymentKey", required = false) String deploymentKey,
              @ApiParam(name = "deploymentName") @RequestParam(value = "deploymentName", required = false) String deploymentName,
              @ApiParam(name = "tenantId") @RequestParam(value = "tenantId", required = false) String tenantId,
              HttpServletRequest request, HttpServletResponse response)
focal_class.return: DeploymentResponse
focal_class.signature: DeploymentResponse uploadDeployment(@ApiParam(name = "deploymentKey") @RequestParam(value = "deploymentKey", required = false) String deploymentKey,
              @ApiParam(name = "deploymentName") @RequestParam(value = "deploymentName", required = false) String deploymentName,
              @ApiParam(name = "tenantId") @RequestParam(value = "tenantId", required = false) String tenantId,
              HttpServletRequest request, HttpServletResponse response)
focal_class.class_method_signature: DeploymentCollectionResource.splitQueryString(String queryString)
focal_class.full_signature: public Map<String, String> splitQueryString(String queryString)
focal_class.identifier: splitQueryString
focal_class.modifiers: public
focal_class.parameters: (String queryString)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> splitQueryString(String queryString)
focal_class.class_method_signature: DeploymentCollectionResource.decode(String string)
focal_class.full_signature: protected String decode(String string)
focal_class.identifier: decode
focal_class.modifiers: protected
focal_class.parameters: (String string)
focal_class.return: String
focal_class.signature: String decode(String string)
focal_method.body: @ApiOperation(value = "List Deployments", tags = { "Deployment" }, nickname="listDeployments")
      @ApiImplicitParams({
              @ApiImplicitParam(name = "name", dataType = "string", value = "Only return deployments with the given name.", paramType = "query"),
              @ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return deployments with a name like the given name.", paramType = "query"),
              @ApiImplicitParam(name = "category", dataType = "string", value = "Only return deployments with the given category.", paramType = "query"),
              @ApiImplicitParam(name = "categoryNotEquals", dataType = "string", value = "Only return deployments which do not have the given category.", paramType = "query"),
              @ApiImplicitParam(name = "parentDeploymentId", dataType = "string", value = "Only return deployments with the given parent deployment id.", paramType = "query"),
              @ApiImplicitParam(name = "parentDeploymentIdLike", dataType = "string", value = "Only return deployments with a parent deployment id like the given value.", paramType = "query"),
              @ApiImplicitParam(name = "tenantId", dataType = "string", value = "Only return deployments with the given tenantId.", paramType = "query"),
              @ApiImplicitParam(name = "tenantIdLike", dataType = "string", value = "Only return deployments with a tenantId like the given value.", paramType = "query"),
              @ApiImplicitParam(name = "withoutTenantId", dataType = "boolean", value = "If true, only returns deployments without a tenantId set. If false, the withoutTenantId parameter is ignored.", paramType = "query"),
              @ApiImplicitParam(name = "sort", dataType = "string", value = "Property to sort on, to be used together with the order.", allowableValues = "id,name,deployTime,tenantId", paramType = "query"),
      })
      @ApiResponses(value = {
              @ApiResponse(code = 200, message = "Indicates the request was successful."),
      })
      @GetMapping(value = "/repository/deployments", produces = "application/json")
      public DataResponse<DeploymentResponse> getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request) {
          DeploymentQuery deploymentQuery = repositoryService.createDeploymentQuery();
  
          // Apply filters
          if (allRequestParams.containsKey("name")) {
              deploymentQuery.deploymentName(allRequestParams.get("name"));
          }
          if (allRequestParams.containsKey("nameLike")) {
              deploymentQuery.deploymentNameLike(allRequestParams.get("nameLike"));
          }
          if (allRequestParams.containsKey("category")) {
              deploymentQuery.deploymentCategory(allRequestParams.get("category"));
          }
          if (allRequestParams.containsKey("categoryNotEquals")) {
              deploymentQuery.deploymentCategoryNotEquals(allRequestParams.get("categoryNotEquals"));
          }
          if (allRequestParams.containsKey("parentDeploymentId")) {
              deploymentQuery.parentDeploymentId(allRequestParams.get("parentDeploymentId"));
          }
          if (allRequestParams.containsKey("parentDeploymentIdLike")) {
              deploymentQuery.parentDeploymentIdLike(allRequestParams.get("parentDeploymentIdLike"));
          }
          if (allRequestParams.containsKey("tenantId")) {
              deploymentQuery.deploymentTenantId(allRequestParams.get("tenantId"));
          }
          if (allRequestParams.containsKey("tenantIdLike")) {
              deploymentQuery.deploymentTenantIdLike(allRequestParams.get("tenantIdLike"));
          }
          if (allRequestParams.containsKey("withoutTenantId")) {
              boolean withoutTenantId = Boolean.parseBoolean(allRequestParams.get("withoutTenantId"));
              if (withoutTenantId) {
                  deploymentQuery.deploymentWithoutTenantId();
              }
          }
          
          if (restApiInterceptor != null) {
              restApiInterceptor.accessDeploymentsWithQuery(deploymentQuery);
          }
  
          return paginateList(allRequestParams, deploymentQuery, "id", allowedSortProperties, restResponseFactory::createDeploymentResponseList);
      }
focal_method.class_method_signature: DeploymentCollectionResource.getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_method.full_signature: @ApiOperation(value = "List Deployments", tags = { "Deployment" }, nickname="listDeployments") @ApiImplicitParams({ @ApiImplicitParam(name = "name", dataType = "string", value = "Only return deployments with the given name.", paramType = "query"), @ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return deployments with a name like the given name.", paramType = "query"), @ApiImplicitParam(name = "category", dataType = "string", value = "Only return deployments with the given category.", paramType = "query"), @ApiImplicitParam(name = "categoryNotEquals", dataType = "string", value = "Only return deployments which do not have the given category.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentId", dataType = "string", value = "Only return deployments with the given parent deployment id.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentIdLike", dataType = "string", value = "Only return deployments with a parent deployment id like the given value.", paramType = "query"), @ApiImplicitParam(name = "tenantId", dataType = "string", value = "Only return deployments with the given tenantId.", paramType = "query"), @ApiImplicitParam(name = "tenantIdLike", dataType = "string", value = "Only return deployments with a tenantId like the given value.", paramType = "query"), @ApiImplicitParam(name = "withoutTenantId", dataType = "boolean", value = "If true, only returns deployments without a tenantId set. If false, the withoutTenantId parameter is ignored.", paramType = "query"), @ApiImplicitParam(name = "sort", dataType = "string", value = "Property to sort on, to be used together with the order.", allowableValues = "id,name,deployTime,tenantId", paramType = "query"), }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the request was successful."), }) @GetMapping(value = "/repository/deployments", produces = "application/json") public DataResponse<DeploymentResponse> getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_method.identifier: getDeployments
focal_method.invocations: createDeploymentQuery containsKey deploymentName get containsKey deploymentNameLike get containsKey deploymentCategory get containsKey deploymentCategoryNotEquals get containsKey parentDeploymentId get containsKey parentDeploymentIdLike get containsKey deploymentTenantId get containsKey deploymentTenantIdLike get containsKey parseBoolean get deploymentWithoutTenantId accessDeploymentsWithQuery paginateList
focal_method.modifiers: @ApiOperation(value = "List Deployments", tags = { "Deployment" }, nickname="listDeployments") @ApiImplicitParams({ @ApiImplicitParam(name = "name", dataType = "string", value = "Only return deployments with the given name.", paramType = "query"), @ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return deployments with a name like the given name.", paramType = "query"), @ApiImplicitParam(name = "category", dataType = "string", value = "Only return deployments with the given category.", paramType = "query"), @ApiImplicitParam(name = "categoryNotEquals", dataType = "string", value = "Only return deployments which do not have the given category.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentId", dataType = "string", value = "Only return deployments with the given parent deployment id.", paramType = "query"), @ApiImplicitParam(name = "parentDeploymentIdLike", dataType = "string", value = "Only return deployments with a parent deployment id like the given value.", paramType = "query"), @ApiImplicitParam(name = "tenantId", dataType = "string", value = "Only return deployments with the given tenantId.", paramType = "query"), @ApiImplicitParam(name = "tenantIdLike", dataType = "string", value = "Only return deployments with a tenantId like the given value.", paramType = "query"), @ApiImplicitParam(name = "withoutTenantId", dataType = "boolean", value = "If true, only returns deployments without a tenantId set. If false, the withoutTenantId parameter is ignored.", paramType = "query"), @ApiImplicitParam(name = "sort", dataType = "string", value = "Property to sort on, to be used together with the order.", allowableValues = "id,name,deployTime,tenantId", paramType = "query"), }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the request was successful."), }) @GetMapping(value = "/repository/deployments", produces = "application/json") public
focal_method.parameters: (@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)
focal_method.return: DataResponse<DeploymentResponse>
focal_method.signature: DataResponse<DeploymentResponse> getDeployments(@ApiParam(hidden = true) @RequestParam Map<String, String> allRequestParams, HttpServletRequest request)