From 4981540992b469e18a71239fa75ee6635385db03 Mon Sep 17 00:00:00 2001 From: Nacho Mansanet Date: Sat, 29 Jan 2022 13:17:57 +0100 Subject: [PATCH] [iMansanet] New Java Tool Specification to process all project files --- tools_specs/javaparserWholeProject.json | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tools_specs/javaparserWholeProject.json diff --git a/tools_specs/javaparserWholeProject.json b/tools_specs/javaparserWholeProject.json new file mode 100644 index 000000000..3aaef6915 --- /dev/null +++ b/tools_specs/javaparserWholeProject.json @@ -0,0 +1,35 @@ +{ + "toolID": "javaParser", + "toolName": "Java Parser", + "description": "Generates one or several JSON file(s) from the artefactID according to the generate parameter, processing all files of the project", + "phases": [ + "LLD" + ], + "tasks": [ + "systemImplementation" + ], + "server":"http://javaparser:5001/", + "endpoint":{ + "path":"/decoder/javaASTGenerator/{dbName}", + "method":"get", + "queryParameters":[ + { + "name": "generate", + "description": "Generate JSON files just with a specific type of annotations. If ommited, all files will be generated", + "required": false, + "type": "string", + "allowedValues":["ast", "comments", "annotations", "all"] + } + ], + "pathFields":[ + { + "name": "dbName", + "description": "The DB name where to find the source file", + "required": true, + "type": "string", + "isDBName": true + } + ] + + } +} -- GitLab