Skip to content
Merged
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
d73f04e
Syncing bitbucket changes
fotisp Jul 14, 2024
edc801d
Application added new handlers
vkefalas-exz Aug 26, 2024
b6f8dbe
re-adding actions
fotisp Aug 26, 2024
c365a8b
Mergin main
fotisp Aug 26, 2024
a53271b
Application new endpoint for duplication
vkefalas-exz Aug 27, 2024
70bb912
Platforms are automatically added when app is migrated
vkefalas-exz Aug 27, 2024
2fe6b91
Adding environment variables for better version tracking
fotisp Aug 27, 2024
da49621
Fix Slo constraint #16
vkefalas-exz Sep 2, 2024
60fefdf
Cloud registration empty string to null #9
vkefalas-exz Sep 2, 2024
61a90b2
Application duplication fix
vkefalas-exz Sep 2, 2024
a2980f9
Merging master
fotisp Sep 2, 2024
c4d9c2c
Fixing exposed sensible information
fotisp Sep 2, 2024
7e0adb3
Adding build information to controller for better debugging
fotisp Sep 2, 2024
9d98591
Merging and preparing for deployment
fotisp Sep 2, 2024
b1d7ee1
Platforms are added on application start
vkefalas-exz Sep 5, 2024
658c97c
Merge branch 'main' into development
vkefalas-exz Sep 5, 2024
ca8e1b0
Resource field type change
vkefalas-exz Sep 27, 2024
7a4f22b
New endpoints for application
vkefalas-exz Oct 3, 2024
90b5815
Fix doublescaping \n
vkefalas-exz Oct 14, 2024
b269e61
Added new field for resources
vkefalas-exz Oct 17, 2024
5c9d3bb
Added new field for resources v2
vkefalas-exz Oct 18, 2024
38ee58f
Change in stringify json
vkefalas-exz Oct 23, 2024
83ea373
Merge branch 'main' into development
vkefalas-exz Oct 23, 2024
017f7d4
Change library for stringifying key
vkefalas-exz Oct 23, 2024
e1ecbfa
Merge branch 'main' into development
vkefalas-exz Oct 23, 2024
c1f67aa
Merge branch 'main' into development
fotisp Nov 13, 2024
372c820
Adding temporary user info payload in case of early testers
fotisp Nov 13, 2024
040e130
feat-677
fotisp Jan 14, 2025
a8854ee
feat-790
fotisp Jan 14, 2025
62847c0
#48 - Include scope / project in db projection
fotisp Jan 21, 2025
d336b07
Development (#26) (#29)
fotisp Jan 28, 2025
4b088a8
#31 - Opendev 677
fotisp Jan 28, 2025
adc6df6
Merge remote-tracking branch 'origin/main' into development
fotisp Jan 28, 2025
c2b97bc
Refactoring EXN to permit status update
fotisp Feb 10, 2025
888d329
Merging master
fotisp Feb 10, 2025
8458f15
542 - Supporting application state through event
fotisp Feb 10, 2025
57d5530
Mergin main
fotisp Feb 10, 2025
8d1da6a
Merge branch 'main' into development
fotisp Feb 20, 2025
56ce277
Opendev feat 784
fotisp Feb 20, 2025
4cbb35b
Correct topic names to align to documentation
fotisp Feb 20, 2025
362be55
Correct topic names to align to documentation
fotisp Feb 20, 2025
1166a9c
Merge remote-tracking branch 'origin/main' into development
fotisp Mar 4, 2025
028b38b
Fixing topics
fotisp Mar 4, 2025
82a6325
Adding more verbose logging, fixing to address
fotisp Mar 17, 2025
6ca3df8
Merging main
fotisp Mar 17, 2025
b9cee05
Merge remote-tracking branch 'origin/main' into development
fotisp Mar 28, 2025
24dcac0
Fix dsl generation
fotisp Mar 28, 2025
5899096
https://openproject.nebulouscloud.eu/projects/nebulous-2nd-release-1/…
fotisp Mar 29, 2025
602c4dc
Merge remote-tracking branch 'origin/main' into development
fotisp Apr 7, 2025
66d0de8
#41
fotisp Apr 7, 2025
fb0ca70
Merge remote-tracking branch 'origin/main' into development
fotisp May 22, 2025
377625a
AI integration v1
fotisp May 22, 2025
5796d63
Stable changes from main (#44)
robert-sanfeliu May 29, 2025
bf6de1a
Merge remote-tracking branch 'origin/main' into development
fotisp Jun 18, 2025
5ba1320
Fixing logic for prompt
fotisp Jun 18, 2025
123d44a
Merge remote-tracking branch 'origin' into development
fotisp Aug 29, 2025
0209b2e
Adding slCreation and slMetaConstraints
fotisp Aug 29, 2025
aeb68c8
Adding application policy and validators
fotisp Aug 30, 2025
15eb72d
Merging main
fotisp Aug 30, 2025
c8de89b
Merge remote-tracking branch 'origin' into development
fotisp Aug 30, 2025
79d3935
Bringin policy to the front
fotisp Aug 30, 2025
41aecd5
Merge remote-tracking branch 'origin/main' into development
fotisp Sep 29, 2025
8ff346f
Adding graph mockup
fotisp Sep 29, 2025
72d9290
Adding Influx DB
fotisp Oct 6, 2025
139c618
Fixing application/index.js from main
fotisp Oct 6, 2025
f385f48
Mergin back r1
fotisp Oct 16, 2025
cd0b65b
Merging back main
fotisp Oct 16, 2025
d77a211
Merge remote-tracking branch 'remotes/origin/main' into r1
robert-sanfeliu Oct 17, 2025
9ec24cc
Merge remote-tracking branch 'origin/main' into development
fotisp Oct 21, 2025
a7b85da
Orchestrating undeployment
fotisp Oct 21, 2025
1d43056
Merge remote-tracking branch 'remotes/origin/main' into r1
robert-sanfeliu Oct 21, 2025
ad81868
Merging main
fotisp Oct 30, 2025
fa38650
Merging r1
fotisp Oct 30, 2025
c3f1e50
Adding VR Data controller
fotisp Oct 30, 2025
04202d2
Merge remote-tracking branch 'origin/main' into development
fotisp Oct 30, 2025
bca2840
Transforming the VR dataset
fotisp Oct 30, 2025
5e866e3
Finalizing VR Controller
fotisp Nov 1, 2025
f25b438
Merging back main
fotisp Nov 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 24 additions & 11 deletions modules/application/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1355,22 +1355,35 @@ module.exports = {

try {
const measurements = req.query.measurement || []
const interval = req.query.interval || '-1d'
const res = await self.apos.modules.influxdb.getTimeSeriesForMeasurements(doc.uuid, measurements,interval)
return {
charts: res.map(chart => ({
title: chart.title,
points: chart.config.labels.map((label, index) => ({
t: label,
v: chart.config.datasets[0].data[index]
}))
}))
};
const interval = req.query.interval || '-30d'
const range = req.query.range || 10
const slice = req.query.slice || 5

const res = await self.apos.modules.influxdb.getTimeSeriesForMeasurements(doc.uuid, measurements, interval)
return {
application: doc.title,
uuid: doc.uuid,
charts: res.map(chart => {
const slicedValues = chart.config.datasets[0].data.slice(0, slice);
const maxValue = Math.max(...slicedValues);

return {
title: chart.title,
points: chart.config.labels.slice(0, slice).map((label, index) => ({
title: label,
value: maxValue > 0 ? (chart.config.datasets[0].data[index] / maxValue) * range : 0,
raw: chart.config.datasets[0].data[index]
}))

}
})
};
} catch (error) {
throw self.apos.error('error', error.message);
}
}


},
delete: {
async ':uuid/uuid'(req) {
Expand Down