Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Requirement Formalization Tool
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thodoris Nestoridis
Requirement Formalization Tool
Commits
67d6f2e1
Commit
67d6f2e1
authored
Mar 22, 2023
by
Thodoris Nestoridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order is
parent
18b0de4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
requirements_views.py
.../reqman/apps/reqtool/rest_api/views/requirements_views.py
+3
-3
app.conf
reqtool/reqman/build/data/nginx/app.conf
+0
-0
No files found.
reqtool/reqman/api/reqman/apps/reqtool/rest_api/views/requirements_views.py
View file @
67d6f2e1
...
...
@@ -173,7 +173,7 @@ class PrefixListAPIView(ListAPIView):
def
get_queryset
(
self
):
group_pk
=
self
.
kwargs
[
'boilerplate'
]
queryset_prefix
=
Prefix
.
objects
.
filter
(
prefix_boilerplate
=
group_pk
)
return
queryset_prefix
return
queryset_prefix
.
order_by
(
'id'
)
class
ExtractedPropertyAPIView
(
APIView
):
...
...
@@ -337,7 +337,7 @@ class InferDetailsAPIView(RetrieveUpdateDestroyAPIView):
prefix
=
BoilerplateData
.
objects
.
filter
(
group_of_boilerplate_data
=
instance
[
'infer_group_of_boilerplate'
]
.
id
)
for
id
in
prefix
:
boildata
.
append
(
self
.
getboildata
(
id
.
boilerplate_data_id
.
id
))
prefixdata
.
append
(
self
.
getprefixdata
(
id
.
boilerplate_data_id
.
id
))
prefixdata
.
append
(
self
.
getprefixdata
(
id
.
boilerplate_data_id
.
id
)
.
order_by
(
'id'
)
)
maindata
.
append
(
self
.
getmaindata
(
id
.
boilerplate_data_id
.
id
))
suffixdata
.
append
(
self
.
getsuffixdata
(
id
.
boilerplate_data_id
.
id
))
#try:
...
...
@@ -398,7 +398,7 @@ class GetOntology(APIView):
'''Return extracted Properties based on the Property patterns'''
def
getExtractedProperty
(
group_pk
):
queryset_prefix
=
Prefix
.
objects
.
filter
(
prefix_boilerplate
=
group_pk
)
queryset_prefix
=
Prefix
.
objects
.
filter
(
prefix_boilerplate
=
group_pk
)
.
order_by
(
'id'
)
queryset_main
=
Main
.
objects
.
filter
(
boilerplate_of_main
=
group_pk
)
queryset_suffix
=
Suffix
.
objects
.
filter
(
boilerplate_of_suffix
=
group_pk
)
prefixdata
=
list
(
queryset_prefix
.
values
())
...
...
reqtool/reqman/build/data/nginx/app.conf
100644 → 100755
View file @
67d6f2e1
File mode changed from 100644 to 100755
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment