Commit 16bb1d35 by xieshaohua

元数据远程服务调用补充RequestParam.value

parent 67017efd
......@@ -15,50 +15,50 @@ import com.keymobile.tagmanager.exception.TagException;
@FeignClient(value = "tagMetadataRepo", name = "tagMetadataRepo", url = "${service.url.metadata}")
public interface RepoServiceClient {
@PostMapping(value = "/rest/tag/getByTag")
public Map<String,Object> getTagMetadata(@RequestParam String dimensionType,
@RequestParam String idPath,
@RequestParam(required = false) String keyword,
@RequestParam(required = false) String modelPath,
@RequestParam(required = false) int pageNum,
@RequestParam(required = false) int pageSize,
@RequestParam String tagType);
public Map<String,Object> getTagMetadata(@RequestParam(value = "dimensionType") String dimensionType,
@RequestParam(value = "idPath") String idPath,
@RequestParam(required = false,value = "keyword") String keyword,
@RequestParam(required = false,value = "modelPath") String modelPath,
@RequestParam(required = false,value = "pageNum") int pageNum,
@RequestParam(required = false,value = "pageSize") int pageSize,
@RequestParam(value = "tagType") String tagType);
@PostMapping(value = "/rest/tag/getPageByTag")
public Map<String,Object> getPageByTag(
@RequestBody Map<Long, Set<String>> systemTagMap,
@RequestParam(required = false) String modelPath,
@RequestParam String idPath,
@RequestParam String tagType,
@RequestParam String dimensionType,
@RequestParam(required = false) String keyword,
@RequestParam(required = false) List<String> tagIds,
@RequestParam(required = false) String startDate,
@RequestParam(required = false) String endDate,
@RequestParam int pageNum,
@RequestParam int pageSize);
@RequestParam(required = false,value = "modelPath") String modelPath,
@RequestParam(value = "idPath") String idPath,
@RequestParam(value = "tagType") String tagType,
@RequestParam(value = "dimensionType") String dimensionType,
@RequestParam(required = false,value = "keyword") String keyword,
@RequestParam(required = false,value = "tagIds") List<String> tagIds,
@RequestParam(required = false,value = "startDate") String startDate,
@RequestParam(required = false,value = "endDate") String endDate,
@RequestParam(value = "pageNum") int pageNum,
@RequestParam(value = "pageSize") int pageSize);
@PostMapping(value = "rest/tag/getByTagByPrivileges")
public List<Map<String,Object>> getByTagByPrivileges(
@RequestBody Map<Long, Set<String>> systemTagMap,
@RequestParam(required = false) String modelPath,
@RequestParam String idPath,
@RequestParam String tagType,
@RequestParam String dimensionType,
@RequestParam(required = false) String keyword);
@RequestParam(required = false,value = "modelPath") String modelPath,
@RequestParam(value = "idPath") String idPath,
@RequestParam(value = "tagType") String tagType,
@RequestParam(value = "dimensionType") String dimensionType,
@RequestParam(required = false,value = "keyword") String keyword);
@PostMapping(value = "/rest/metadata/getByNamePathAndClass")
public Map<String,Object> getMetaByNamePathAndClass(@RequestParam String claz,
@RequestParam String namePath);
public Map<String,Object> getMetaByNamePathAndClass(@RequestParam(value = "claz") String claz,
@RequestParam(value = "namePath") String namePath);
@PostMapping(value = "/rest/tag/addTag")
public int addTag(@RequestParam List<String> metadataIds, @RequestParam String idPath,
@RequestParam String tagType,@RequestParam String dimensionType);
public int addTag(@RequestParam(value = "dimensionType") List<String> metadataIds, @RequestParam(value = "idPath") String idPath,
@RequestParam(value = "tagType") String tagType,@RequestParam(value = "dimensionType") String dimensionType);
@GetMapping(value = "/rest/tag/aggregate")
public List<Map<String,Object>> aggregate(@RequestParam(required = false) String modelPath,
@RequestParam String attributeName);
public List<Map<String,Object>> aggregate(@RequestParam(required = false,value = "modelPath") String modelPath,
@RequestParam(value = "attributeName") String attributeName);
@PostMapping(value = "rest/tag/deleteTag")
public int deleteTag(@RequestParam String idPath, @RequestParam String tagType,
@RequestParam String dimensionType) throws TagException;
public int deleteTag(@RequestParam(value = "idPath") String idPath, @RequestParam(value = "tagType") String tagType,
@RequestParam(value = "dimensionType") String dimensionType) throws TagException;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment