Marek Wolan
c481847b01
#2888 - Software: align identifiers, tidy up schemas
2025-01-03 13:39:58 +00:00
Marek Wolan
66ca72be79
Merge branch '4.0.0a1-dev' into feature/2888_Align_core_software_with_registry
2025-01-03 12:11:46 +00:00
Marek Wolan
bf32271ddd
Change copyright to 2025
2025-01-02 15:05:06 +00:00
Nick Todd
4a52054ed6
#2888 : Initialise ConfigSchema's and fix type names.
2024-12-12 14:58:48 +00:00
Nick Todd
4050bd9e85
#2888 : Add identifier keyword to services.
2024-12-11 10:12:50 +00:00
Nick Todd
66f775da4d
#2888 : Add ConfigSchema to Services.
2024-12-10 16:58:28 +00:00
Marek Wolan
f1b911bc65
Change port and protocol to annotated validators
2024-09-25 16:28:22 +01:00
Marek Wolan
695891f55c
Add port and protocol custom validators
2024-09-20 11:21:28 +01:00
Marek Wolan
dd931d900b
port refactor - eod commit, airspace still broken
2024-09-18 16:02:25 +01:00
Chris McCarthy
a5652ae4b2
Merge branch 'refs/heads/dev' into feature/2768_enable-multi-port-listening-for-services-and-applications
2024-08-08 14:26:35 +01:00
Chris McCarthy
d2011ff327
#2811 - Updated syslog messaging around DatabaseClient and DatabaseService connection request and password authentication
2024-08-05 22:23:54 +01:00
Chris McCarthy
322a691e53
#2768 - Added listen_on_ports attribute to IOSoftware. updated software manager so that it sends copies of payloads to listening ports too. Added integration test that installs a listening service to snoop on DB traffic.
2024-08-02 23:21:35 +01:00
Czar Echavez
3ac97f8c3f
#2641 : Added a check for software health state in db service + tests
2024-06-28 13:07:57 +01:00
Chris McCarthy
81bcf99855
#2646 - Added a custom pre-commit hook that ensure the copyright clause is added to .py and .rst files.
2024-06-05 09:11:37 +01:00
Chris McCarthy
18c837ff0e
#2561 - Fixed issue relating to no access to software manager from inside service during install
2024-05-20 16:16:19 +01:00
Chris McCarthy
7a404773ac
#2561 - Ran pre-commit hook
2024-05-20 12:44:58 +01:00
Chris McCarthy
e2f061fde0
#2561 - Set the DatabaseServer service to automatically install the upon install to enable backup. Added some defensive statements that gracefully handle backup/restore requests when FTPClient is not installed.
2024-05-13 07:58:43 +01:00
Charlie Crane
5ee23dcb17
Merged PR 348: #2462 - Refactor of DatabaseClient and DatabaseServer
...
## Summary
Refactor of `DatabaseClient` and `DatabaseService` to update how connection IDs are generated. These are now provided by DatabaseService when establishing a connection.
Creation of `DatabaseClientConnection` class. This is used by `DatabaseClient` to hold a dictionary of active db connections.
## Test process
Tests have been updated to reflect the changes and all pass
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [X] written **tests** for any new functionality added with this PR
- [X] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [X] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [X] attended to any **TO-DOs** left in the code
Related work items: #2462
2024-04-26 14:52:21 +00:00
Czar Echavez
b8d4a8cc8d
#2470 : changed default log level to warning + changed sys logging in code to be more aligned with severity of messages
2024-04-19 11:37:52 +01:00
Marek Wolan
0828f70b4c
#2459 back-sync b8 changes into core
2024-04-15 11:50:08 +01:00
Czar Echavez
383cf051df
#2448 : store last query response for db client
2024-04-04 14:17:34 +01:00
Czar Echavez
989e7481f3
#2437 : fix the visible health status not being carried on after restoring backup file
2024-04-02 15:10:48 +01:00
Cristian-VM2
5860c74ef9
#2404 change software state from patching to fixing to align with CAOS v0.8
2024-03-26 16:41:11 +00:00
Cristian-VM2
944b248300
#2404 rename software patch to fix
2024-03-26 10:51:33 +00:00
Marek Wolan
2a1d99ccce
Fix problem with checking connection for db admin
2024-03-01 16:36:41 +00:00
Czar Echavez
eefc2739c8
Merge remote-tracking branch 'origin/dev' into feature/2257-router-routes-cannot-be-represented-in-config-file
2024-02-29 11:34:56 +00:00
Czar Echavez
d738a23709
#2257 : list of db payloads
2024-02-26 11:35:17 +00:00
Marek Wolan
a34cf08209
Merge remote-tracking branch 'origin/dev' into feature/2317-refactor-reset
2024-02-25 16:41:40 +00:00
Czar Echavez
fb148dc4fb
#2257 : applications and services docs
2024-02-23 16:49:01 +00:00
Marek Wolan
72f4cc0a50
Remove reset methods from most classes
2024-02-20 16:56:25 +00:00
Marek Wolan
f82506023b
Delete set_original_state method definitions
2024-02-20 16:29:27 +00:00
Nick Todd
4a38672fea
2306: Handle INSERT query
2024-02-14 13:18:20 +00:00
Marek Wolan
e500eccaf7
Finish upgrading folder actions to work with names instead of uuids & get tests fixed
2024-02-06 16:58:08 +00:00
Marek Wolan
def52f94e3
Add docstrings and update typos
2024-01-30 09:56:16 +00:00
Marek Wolan
555802baaa
Merge remote-tracking branch 'origin/dev' into dev-v3.0.0b6
2024-01-29 10:26:28 +00:00
Marek Wolan
edc9772d0a
Fix typo in database restore
2024-01-15 10:10:30 +00:00
Marek Wolan
728f80cc21
Temporarily disable file delete action
2024-01-15 09:48:14 +00:00
Marek Wolan
842e59f596
Database patch
2024-01-11 15:40:37 +00:00
Marek Wolan
1505d08721
Fix backup issues and align with Yak
2024-01-10 18:04:48 +00:00
Marek Wolan
66a42ebc69
Make database failure based on file status not service status
2024-01-10 13:06:48 +00:00
Czar Echavez
a4d372d3eb
#2151 : utilise set_health_state method instead of directly changing software states
2024-01-09 16:29:40 +00:00
Czar Echavez
592e1a3610
#2059 : apply suggestions from PR + adding another test that checks for dos affecting green agent
2023-12-13 11:56:25 +00:00
Czar Echavez
4f79d2ad36
#2059 : moved connection handling from Service to IOSoftware + changes that now utilise connections from IOSoftware + dos bot attacking now works + tests
2023-12-12 17:01:03 +00:00
Czar Echavez
cd5ed48b00
#2059 : implementing the service connections limit
2023-12-08 17:07:57 +00:00
Marek Wolan
105763971d
Merge 'origin/dev' into bugfix/episode-length-and-rewards
2023-12-03 14:49:34 +00:00
Marek Wolan
3642e87eda
Remove distracting debug print statements
2023-12-01 11:07:57 +00:00
Czar Echavez
3cf21e4015
#2084 : change all instances of retrieving software from software['software_name'] to software.get() + adding some tests for describe state
2023-11-30 13:49:37 +00:00
Marek Wolan
05d62a956d
Fix software reset issues
2023-11-29 13:18:38 +00:00
Chris McCarthy
9a4855e7bd
#1859 - Added the call to file system reset
2023-11-28 11:58:09 +00:00
Marek Wolan
21b865d8a8
Merge origin/dev into feature/1859
2023-11-27 22:13:42 +00:00