Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DOML Model Checker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIACERE
public
The Platform
DOML Model Checker
Commits
7dcbbd95
Unverified
Commit
7dcbbd95
authored
2 years ago
by
Andrea Franchini
Browse files
Options
Downloads
Patches
Plain Diff
fix gateways bug, domlr was using hardcoded version
parent
71ea48d8
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.vscode/launch.json
+2
-3
2 additions, 3 deletions
.vscode/launch.json
mc_openapi/handlers.py
+1
-1
1 addition, 1 deletion
mc_openapi/handlers.py
with
3 additions
and
4 deletions
.vscode/launch.json
+
2
−
3
View file @
7dcbbd95
...
...
@@ -2,8 +2,9 @@
//
Use
IntelliSense
to
learn
about
possible
attributes.
//
Hover
to
view
descriptions
of
existing
attributes.
//
For
more
information
,
visit:
https://go.microsoft.com/fwlink/?linkid=
830387
"version"
:
"
0
.2.
0
"
,
"version"
:
"
2
.2.
1
"
,
"configurations"
:
[
{
"name"
:
"Python: MC Synthesis"
,
"type"
:
"python"
,
...
...
@@ -11,8 +12,6 @@
"module"
:
"mc_openapi"
,
"justMyCode"
:
true
,
"args"
:
[
"-d"
,
"tests/doml/openstack_template.domlx"
,
"--synth"
]
}
]
...
...
This diff is collapsed.
Click to expand it.
mc_openapi/handlers.py
+
1
−
1
View file @
7dcbbd95
...
...
@@ -39,7 +39,7 @@ def post(body, version=None):
if
(
dmc
.
doml_version
==
DOMLVersion
.
V2_2
or
dmc
.
doml_version
==
DOMLVersion
.
V2_2_1
):
domlr_parser
=
Parser
(
DOMLRTransformer
)
model
=
get_pyecore_model
(
doml_xmi
,
DOMLV
ersion
.
V2_2
)
model
=
get_pyecore_model
(
doml_xmi
,
dmc
.
doml_v
ersion
)
func_reqs
=
model
.
functionalRequirements
.
items
user_req_store
=
RequirementStore
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment