49 Commits

Author SHA1 Message Date
Radosław Piliszek
37bf85f211 [CI] Include zuul.d/jobs.yaml as a trigger for image jobs
Zuul ignored the reconfiguration of the job vars and did not run
the promotion job in https://review.opendev.org/c/nebulous/activemq/+/919799/4

Change-Id: I182a738c62ed87bf05f8dd814411aea66e05c2d4
2024-05-27 19:01:37 +02:00
Radosław Piliszek
b37fe6858a [CI] Fix images jobs files
So that they are triggered again on any change to the repo contents
(due to the repo structure).

Also - unpin the dependencies' versions as old ones tend to
be deleted from Fedora repos.

Co-Authored-By: Jan Marchel <jmarchel@7bulls.com>
Change-Id: I3f99f96d1a411dd5518098ad20d6ab90ff5d89fe
2024-05-27 09:07:43 +00:00
Geir Horn
2bf9748509 Correcting the mess caused by Gerrit
Change-Id: If80c41555a93773a76f927036e88c3c6229c031f
2024-05-16 15:16:14 +02:00
Geir Horn
58ec992fe3 Support for application lifecycle message
Change-Id: I16db05bccb9ac9a2d18b949952e5ad6812b729cc
2024-04-19 09:39:33 +02:00
Geir Horn
58b37118fb First complete Solver release
Change-Id: Icd5a77c6400a57db93bdd65e61a022af95f8bacb
2024-04-18 11:15:06 +02:00
Geir Horn
d2324e42a3 Merge all outstanding changesets
Commit messages as follows:

Change-Id: I631d374144efc540b158868fa65a0bac232a7548
---
Changed the comments for the SLO Violation handler
---
Performance update:
Adding a boolean flag to indicate when all metrics have been set to avoid a linear scan of all metrics on each SLO Violation message.
---
Metric list and reconfiguration wait
Metric updater now listening for a metric list from the Optimiser Controller and not frmo the EMS, and discards SLO Violations until the Optimiser Controller sends a message indicating that the previous application reconfiguration has finished.
---
Log message to indicate that the "reconfiguration done" even message has been received
---
Added the right topic for the metric list
---
New messages
Metric list from the controller
New message format for AMPL model definition
Fixed the AMQ message property settings
2024-04-17 14:27:21 +02:00
Zuul
f17b524c09 Merge "Add ci process to solver" 2024-03-22 09:55:56 +00:00
Zuul
7584bef98e Merge "Application ID in all messages and improved SLO message handling" 2024-03-20 18:54:55 +00:00
Geir Horn
3cd5817f79 Application ID in all messages and improved SLO message handling
Change-Id: Id6dce069b3e22e4a13144c302137c04dc3dd789d
2024-03-20 19:13:27 +01:00
jmarchel
b43cc2bf03 Add ci process to solver
Change-Id: I422a4d436e5e62a39208dd994d50784871cedf14
2024-03-20 17:23:02 +01:00
Zuul
708a2ca892 Merge "Revert "Refine deployment process"" 2024-03-11 15:05:52 +00:00
Rudi Schlatte
15950057e3 Revert "Refine deployment process"
This reverts commit 72b2007bc4c132894c472bc54a35c61ba0d083d1.

Reason for revert: Breaks deployment

Change-Id: I71a66e7e64999118a87e1d67962f96a9def538fb
2024-03-11 13:14:35 +00:00
Zuul
b98ace3e0d Merge "Refine deployment process" 2024-03-11 09:45:25 +00:00
Rudi Schlatte
72b2007bc4 Refine deployment process
- Build, upload solver docker image.

- Remove deployment job: the solver is not deployed on the Nebulous
  cluster, but is deployed by SAL on each app cluster.

- Adapt helm chart; SAL might use it to deploy the solver.

- Add AMPL license file contents to nebulous secrets store, pass it in
  via helm charts.  Note that it's ok to run without a license file.

- For testing purposes, add a docker-compose.yaml file

- Pacify hadolint: when installing packages in Dockerfile, specify
  package versions.

- Pacify shellcheck: fix warnings in start-solver.sh

- Pacify podman: do not use heredocs for RUN.

- Remove Spring Boot demo application.

Change-Id: I757a440d09082b5824f36a81cb82d6e5c169a699
2024-03-11 10:23:48 +01:00
Geir Horn
8d8ed80c50 Flag for testing available model before allowing solution and explicit checking JSON keys for metric updates
Change-Id: Ib2bc4b5273159077e3eaa7786cc2c846110791d0
2024-03-09 13:28:39 +01:00
Geir Horn
5c67c7c7e0 Final first release now with application ID filtering effective
Change-Id: Ief16b069c20394f3f48dcd038b57766b6c3771c0
2024-02-14 22:00:36 +01:00
Geir Horn
4486393c02 Tested and validated (app ID filtering removed as it does not work in the EXE middleware yet)
Change-Id: If7ecb996fecba1ed1cbe78a633b38659a4b27c6f
2024-02-14 17:53:39 +01:00
Geir Horn
294eb0e62f Corrected the format of the AMPL Data File Message
Change-Id: I191d7241a1edff43f2e34995e6d59a5342084b11
2024-02-08 21:43:17 +01:00
Geir Horn
52d2a5626a Correct applicaton ID message filtering
Change-Id: I951b739e438bc346c4b910e4a41cfa01f1e12a88
2024-02-08 15:36:46 +01:00
Geir Horn
9fcd0a1aca Test prints for the DataFileUpdate to validate application level filtering
Change-Id: Ie3980e77d937646cee59b61e01841632a6692ed4
2024-02-08 13:02:23 +01:00
Geir Horn
e4609b912b Support for new AMQP option handling to filter messages for the application identification.
Change-Id: Ieb1d657fa4f7dcb89392a259700069f1b9088e5f
2024-02-08 08:39:57 +01:00
Geir Horn
d77292357f AMPL Solver supports setting Constant values to variable values for solutions to be deployed
Change-Id: If34b9cfc38e032f043435ac9b8fdeabbca3ee7ba
2024-02-04 18:30:13 +01:00
Geir Horn
3ef5b1c32b Corrected the objective function tag returned in the found solution message from the Solver
Change-Id: Ia4d53438cfe8dd1f5ce4de0d0df686ccf2897b02
2024-01-31 10:22:02 +01:00
Geir Horn
879b659125 Errata in multiple metric definitions
A repeated message with the same version as
the previous would trigger a wrong message exception.

Change-Id: Id575e13c0183c31eb56251d9b181911eb27ea4cb
2024-01-27 19:17:06 +01:00
Geir Horn
d0ad28446b Support for metric list versions
including subscriptions to new metric values and cancellation of subscriptions if metrics are removed

Change-Id: I967a9c1847618aa5398f247c7e2fd71de2ecc46b
2024-01-27 18:30:53 +01:00
Geir Horn
36af1a2605 Metric updater subscribes to SLO Violation detection messages and the default objective function is stated in the now structured AMPL file.
Change-Id: I8b1a7e2b5fde680f353d8cc8d8219f3e2d3e6691
2024-01-26 19:14:15 +01:00
Geir Horn
313cf335dd Fix last changeset
Change-Id: Ie541e8f6fdbc2b5881df1b3e25afc48d97efaa1b
2024-01-25 14:21:23 +01:00
Zuul
c6c0d4e702 Merge "First release" 2024-01-25 12:45:03 +00:00
Geir Horn
f48a968583 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file
- Validated build script
- Accepting the metric definition message from the EMS
- Execution control status messages + solver type command line option

Change-Id: I298dea929764d118ffde42ef68bed99d67ad0488
2024-01-25 12:26:51 +00:00
Geir Horn
36fe843446 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file
- Validated build script
- Accepting the metric definition message from the EMS
- Execution control status messages + solver type command line option
- Executing solver component
- Added instructions on use to the Solver Component source file
- Explicit close of subscriptions in destrcutors if network active.
- Correct handling of metric list messages and subscriptions
- Adding correct message and connection properties
- Debugging message filtering with Fotis

Change-Id: I8940daac2fce3365c24a4262a0a1326353d7e97a
2024-01-25 13:23:56 +01:00
Rudi Schlatte
719fa3eaad Add Dockerfile
Change-Id: Ia2c64127f07793d91d129b14ce1d25899aed9cdf
2024-01-24 10:36:23 +01:00
Geir Horn
44d093d2f8 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file
- Validated build script
- Accepting the metric definition message from the EMS
- Execution control status messages + solver type command line option
- Executing solver component
- Added instructions on use to the Solver Component source file
- Explicit close of subscriptions in destrcutors if network active.
- Correct handling of metric list messages and subscriptions
- Adding correct message and connection properties

Change-Id: If02caff12aacf8a2181c96eb6dca4a19dc23c118
2024-01-23 10:53:48 +01:00
Geir Horn
ae588d8955 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file
- Validated build script
- Accepting the metric definition message from the EMS
- Execution control status messages + solver type command line option
- Executing solver component

Change-Id: I3972b7e24a65eae8555aa60404d5f75cb4fc0705
2024-01-17 16:59:03 +01:00
Zuul
79cf79e7fb Merge "First release" 2024-01-16 11:13:29 +00:00
Geir Horn
03f0b88138 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file
- Validated build script
- Accepting the metric definition message from the EMS

Change-Id: I2c7c661d1006ff5a29f2d4ea77859036072c821b
2024-01-16 11:46:17 +01:00
Geir Horn
125efff4f4 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file
- Validated build script

Change-Id: Ic335a57f7320b3994a6355293799804a1f20e71d
2024-01-15 21:35:34 +01:00
Geir Horn
9ac035a6b9 First release
- Added build script and AMPL license file
- Fixed merge errors for the makefile
- Extended the makefile header
- Added initial AMQ message topics
- Tested remote build
- Removed AMPL license file

Change-Id: I149f307fbb16c48d7217f388b1b09596c10d7ef2
2024-01-15 16:47:12 +00:00
Geir Horn
f5cb0bc6f3 First release of the solver component
- Added build script
- Fixed merge errors for the makefile
- Extended the makefile header

Change-Id: Icbf2d9f76ab0f13eea70796fef20422ecdb3e342
2024-01-12 14:19:12 +01:00
Geir Horn
e730917516 First release of the solver component
Change-Id: Ie016703ce389b97a849ba7c0a56abad89885b5b2
2024-01-10 16:26:09 +01:00
Geir Horn
c83d0dedd5 Checked that all metric values of the application's execution context was received before accepting an SLO Violation Message
Change-Id: I74b1f8217259212c08318cef5f13da50b04a24cc
2024-01-10 08:37:03 +01:00
Geir Horn
3105b79e14 Support for solver component termination message completing the solver component implementation
Change-Id: I0c0fd1e1f6962e4d840789d3477169373b75c971
2024-01-09 22:19:50 +01:00
Geir Horn
8cd1958fbc First version of a makefile
Change-Id: I8e5d225d62843ef2e13efd78de8170541a8d2c03
2024-01-05 19:09:15 +01:00
Geir Horn
5db3a5e865 Implemented AMPL Solver class and interaction with the other Actors
Change-Id: I37bb164b60bf1888b0ce99665486f13552681737
2024-01-02 18:41:49 +01:00
Geir Horn
285b64a8fe First complete version of the Metric Updater
Change-Id: I029afeebaa98af6ae86c95cef4fcc460aea10dbd
2023-12-29 18:52:13 +01:00
Geir Horn
25c4a4fd7d Added the Visual Code Gerrit plug-in
Change-Id: Ibe19c20cd5bf8721bc0c887c0fd7f15e75ceb1c6
2023-12-27 17:51:54 +01:00
Geir Horn
53f6396d55 First version of the solution manager and the solver base class
Change-Id: Ic2817fe00528e28e7cbfb0203785337f7f1fd8df
2023-12-27 17:23:26 +01:00
Geir Horn
5ee0dbcad6 Initial class structure definitions
Change-Id: I2c140d38ebdd5fe4739629692b90fc1ed12ed985
2023-12-25 19:03:51 +01:00
Radosław Piliszek
2af114e479 Init repo from the component-template
Change-Id: Ib3f997825271eaff341dd76608afd390f00db390
2023-09-19 20:16:15 +02:00
OpenDev Project Creator
7960dbad33 Added .gitreview 2023-09-19 14:26:57 +00:00