public Map getTopicsByTenantNamespace()

in src/main/java/org/apache/pulsar/manager/controller/TopicsController.java [73:90]


    public Map<String, Object> getTopicsByTenantNamespace(
            @ApiParam(value = "page_num", defaultValue = "1", example = "1")
            @RequestParam(name = "page_num", defaultValue = "1")
            @Min(value = 1, message = "page_num is incorrect, should be greater than 0.")
                    Integer pageNum,
            @ApiParam(value = "page_size", defaultValue = "10", example = "10")
            @RequestParam(name="page_size", defaultValue = "10")
            @Range(min = 1, max = 1000, message = "page_size is incorrect, should be greater than 0 and less than 1000.")
                    Integer pageSize,
            @ApiParam(value = "The name of tenant")
            @Size(min = 1, max = 255)
            @PathVariable String tenant,
            @ApiParam(value = "The name of namespace")
            @Size(min = 1, max = 255)
            @PathVariable String namespace) {
        String requestHost = environmentCacheService.getServiceUrl(request);
        return topicsService.getTopicsList(pageNum, pageSize, tenant, namespace, requestHost);
    }