Commit 9c36af3c authored by Gilles Mouchard's avatar Gilles Mouchard
Browse files

Merge remote-tracking branch 'origin/tools_specs_corrections'

parents bc0c1552 ba8df54b
Pipeline #19031 passed with stages
in 27 minutes and 26 seconds
......@@ -33,14 +33,19 @@
"type" : "string",
"isDBName" : true
},
"invocationID" : {
"description" : "The process engine invocation id",
"type" : "string",
"required" : false
},
"path" : {
"description" : "Text to translate into code",
"description" : "pkm path to query to retrieve json data containing the text to analyze",
"type" : "string",
"required" : true,
"example" : "code/c/comments/mydb"
},
"access" : {
"description" : "Text to translate into code",
"description" : "json path allowing to retrieve the text to analyze in the retrieved data",
"type" : "string",
"required" : true,
"example" : "[?global_kind == 'GFun'] | [?loc.pos_start.pos_path == 'examples/vector2.c'].comments | [0]"
......
......@@ -19,14 +19,19 @@
"acceptanceTesting",
"integrationTesting"
],
"server" : "http://srl:701/",
"server" : "http://srl/",
"endpoint" : {
"path" : "/decoder/ner_tool",
"path" : "/pkmfilesrl",
"method" : "post",
"requestBody" : {
"type" : "object",
"required" : true,
"properties" : {
"invocationID" : {
"description" : "The process engine invocation id",
"type" : "string",
"required" : false
},
"project_id" : {
"description" : "The DB name where to find the source file",
"required" : true,
......@@ -34,13 +39,13 @@
"isDBName" : true
},
"path" : {
"description" : "Text to translate into code",
"description" : "pkm path to query to retrieve json data containing the text to analyze",
"type" : "string",
"required" : true,
"example" : "code/c/comments/mydb"
},
"access" : {
"description" : "Text to translate into code",
"description" : "json path allowing to retrieve the text to analyze in the retrieved data",
"type" : "string",
"required" : true,
"example" : "[?global_kind == 'GFun'] | [?loc.pos_start.pos_path == 'examples/vector2.c'].comments | [0]"
......
......@@ -19,14 +19,19 @@
"acceptanceTesting",
"integrationTesting"
],
"server" : "http://trace_recovery:703/",
"server" : "http://trace_recovery/",
"endpoint" : {
"path" : "/decoder/trace_recovery_tool",
"path" : "/pkm_trace_recovery",
"method" : "post",
"requestBody" : {
"type" : "object",
"required" : true,
"properties" : {
"invocationID" : {
"description" : "The process engine invocation id",
"type" : "string",
"required" : false
},
"project_id" : {
"description" : "The DB name where to find the source file",
"required" : true,
......@@ -34,25 +39,25 @@
"isDBName" : true
},
"src_path" : {
"description" : "Source Path",
"description" : "pkm path to query to retrieve json data containing the source text",
"type" : "string",
"required" : true,
"example" : "code/c/comments/mydb"
},
"src_access" : {
"description" : "Source Access",
"description" : "json path allowing to retrieve the source text to analyze in the retrieved data",
"type" : "string",
"required" : true,
"example" : "[?global_kind == 'GFun'] | [?loc.pos_start.pos_path == 'examples/vector2.c'].comments | [0]"
},
"tgt_path" : {
"description" : "Target Path",
"description" : "pkm path to query to retrieve json data containing the target text",
"type" : "string",
"required" : true,
"example" : "code/c/comments/mydb"
},
"tgt_access" : {
"description" : "Target Access",
"description" : "json path allowing to retrieve the target text to analyze in the retrieved data",
"type" : "string",
"required" : true,
"example" : "[?global_kind == 'GFun'] | [?loc.pos_start.pos_path == 'examples/vector2.c'].comments | [0]"
......
......@@ -18,9 +18,9 @@
"systemTesting",
"acceptanceTesting"
],
"server" : "http://semanticparsing:700/",
"server" : "http://semanticparsing/",
"endpoint" : {
"path" : "/semparser",
"path" : "/pkmfilesemparser",
"method" : "post",
"requestBody" : {
"type" : "object",
......@@ -32,13 +32,18 @@
"type" : "string",
"isDBName" : true
},
"invocationID" : {
"description" : "The process engine invocation id",
"type" : "string",
"required" : false
},
"source_language" : {
"description" : "Source Path",
"description" : "The programming language of the source file",
"type" : "string",
"required" : true
},
"target_language" : {
"description" : "Source Access",
"description" : "The programming language to generate",
"type" : "string",
"required" : true
},
......
Supports Markdown
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