Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Melodic
morphemic-preprocessor
Commits
a193cb7b
Commit
a193cb7b
authored
Jul 15, 2021
by
Mohamed Khalil Labidi
Browse files
Merge branch 'fix-endpoints-queries' into 'proactive-dev'
Fix the queries of the endpoints See merge request
!117
parents
84d64f46
e096a4ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/PAGateway.java
View file @
a193cb7b
...
...
@@ -168,7 +168,7 @@ public class PAGateway {
* @return the list of all available hardware
*/
public
List
<
Hardware
>
getHardwareList
()
{
return
EntityManagerHelper
.
createQuery
(
"SELECT hw FROM H
ARDWARE
hw"
,
return
EntityManagerHelper
.
createQuery
(
"SELECT hw FROM H
ardware
hw"
,
Hardware
.
class
).
getResultList
();
}
...
...
@@ -177,7 +177,7 @@ public class PAGateway {
* @return the list of all available locations
*/
public
List
<
Location
>
getLocationList
()
{
return
EntityManagerHelper
.
createQuery
(
"SELECT loc FROM L
OCATION
loc"
,
return
EntityManagerHelper
.
createQuery
(
"SELECT loc FROM L
ocation
loc"
,
Location
.
class
).
getResultList
();
}
...
...
@@ -186,7 +186,7 @@ public class PAGateway {
* @return the list of all available monitors
*/
public
List
<
Monitor
>
getMonitorsList
()
{
return
EntityManagerHelper
.
createQuery
(
"SELECT mon FROM M
ONITOR
mon"
,
return
EntityManagerHelper
.
createQuery
(
"SELECT mon FROM M
onitor
mon"
,
Monitor
.
class
).
getResultList
();
}
...
...
Write
Preview
Supports
Markdown
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