Skip to content
Snippets Groups Projects
Unverified Commit 7dcbbd95 authored by Andrea Franchini's avatar Andrea Franchini
Browse files

fix gateways bug, domlr was using hardcoded version

parent 71ea48d8
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "2.2.1",
"configurations": [ "configurations": [
{ {
"name": "Python: MC Synthesis", "name": "Python: MC Synthesis",
"type": "python", "type": "python",
...@@ -11,8 +12,6 @@ ...@@ -11,8 +12,6 @@
"module": "mc_openapi", "module": "mc_openapi",
"justMyCode": true, "justMyCode": true,
"args": [ "args": [
"-d", "tests/doml/openstack_template.domlx",
"--synth"
] ]
} }
] ]
......
...@@ -39,7 +39,7 @@ def post(body, version=None): ...@@ -39,7 +39,7 @@ def post(body, version=None):
if (dmc.doml_version == DOMLVersion.V2_2 if (dmc.doml_version == DOMLVersion.V2_2
or dmc.doml_version == DOMLVersion.V2_2_1): or dmc.doml_version == DOMLVersion.V2_2_1):
domlr_parser = Parser(DOMLRTransformer) domlr_parser = Parser(DOMLRTransformer)
model = get_pyecore_model(doml_xmi, DOMLVersion.V2_2) model = get_pyecore_model(doml_xmi, dmc.doml_version)
func_reqs = model.functionalRequirements.items func_reqs = model.functionalRequirements.items
user_req_store = RequirementStore() user_req_store = RequirementStore()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment