Cristian-VM2
944b248300
#2404 rename software patch to fix
2024-03-26 10:51:33 +00:00
Marek Wolan
1faefbccac
Add docstring for init request manager
2024-03-11 10:20:47 +00:00
Marek Wolan
beb51834f9
Make all requests return a RequestResponse
2024-03-08 14:58:34 +00:00
Marek Wolan
994dbc3501
Finalise the refactor. It works well now.
2024-02-25 17:44:41 +00:00
Marek Wolan
a34cf08209
Merge remote-tracking branch 'origin/dev' into feature/2317-refactor-reset
2024-02-25 16:41:40 +00:00
Marek Wolan
f82506023b
Delete set_original_state method definitions
2024-02-20 16:29:27 +00:00
Chris McCarthy
411f0a320f
#2248 - Final run over all the docstrings after running pre-commit. All tests now working. Updated CHANGELOG.md.
2024-02-08 10:53:30 +00:00
Chris McCarthy
cb002d644f
#2248 - Tidying up the tests so that they use updated networks
2024-02-02 16:55:43 +00:00
Chris McCarthy
9577f212f8
#2248 - Initial crack at getting ARP into a Service. Lots of refactoring has been done. It's a mess at the minute, but I can successfully send an ARP request so committing as a successful point in time
2024-02-01 22:19:55 +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
842e59f596
Database patch
2024-01-11 15:40:37 +00:00
Marek Wolan
d2a2472e5f
Apply bugfix 2151
2024-01-11 10:49:32 +00:00
Marek Wolan
b34f2a5c8c
Merged PR 253: Make observations use software health state visible instead of actual.
...
We already merged this change into dev, I just replicated it for b5.
Related work items: #2161 , #2174
2024-01-10 13:53:05 +00:00
Marek Wolan
3486347566
Merged PR 252: Align Software health state enum with CAOS
...
Related work items: #2175
2024-01-10 13:52:46 +00:00
Czar Echavez
c985b8793d
#2151 and #2166 : added tests for application being unused + even more tests
2024-01-10 11:58:36 +00:00
Marek Wolan
e73783f6fa
Fixed issue where data manipulation was always executing
2024-01-09 17:10:12 +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
6fc4e15660
#2151 : remove changing of health_state_actual in actions and tests
2024-01-09 15:18:31 +00:00
Marek Wolan
716bd626a5
Hide software health state until scan.
2024-01-09 14:29:23 +00:00
Marek Wolan
82cd8780f9
Align Software health state enum with CAOS
2024-01-09 14:03:10 +00:00
Christopher McCarthy
7c0ab1a19e
Merged PR 243: #2139 - Implemented routing
...
## Summary
- Integrated the RouteTable into the Routers frame processing.
- Frames are now dropped when their TTL reaches 0
## Test process
Added five tests that check routing passes and fails with correct/incorrect route tables.
## Checklist
- [ ] PR is linked to a **work item**
- [ ] **acceptance criteria** of linked ticket are met
- [ ] performed **self-review** of the code
- [ ] written **tests** for any new functionality added with this PR
- [ ] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [ ] updated the **change log**
- [ ] ran **pre-commit** checks for code style
- [ ] attended to any **TO-DOs** left in the code
#2139 - Implemented routing
Related work items: #2139
2024-01-08 11:17:16 +00:00
Chris McCarthy
d2d628b676
#2139 - Fixed unicast and broadcast functionality properly
2024-01-05 22:11:37 +00:00
Marek Wolan
81734e7ad3
Merged PR 241: Add service patch and fix apply timestep issues.
...
## Summary
Replaces Action ID 13 in UC2 with SERVICE.PATCH.
Fixes issue where apply_timestep was not happening at all
Fixes issue where file actions were not correctly being forwarded
## Test process
All pytests passing including a new one for service patch.
## 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
- [ ] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [ ] 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: #2143
2024-01-05 09:58:16 +00:00
Marek Wolan
bc367222a8
Change software describe state keys
2024-01-04 12:55:46 +00:00
Marek Wolan
2aa7c18ad3
Merge remote-tracking branch 'origin/dev' into bugfix/2143-node-service-patch-main
2024-01-03 14:43:46 +00:00
Marek Wolan
96f8435c5e
Add service patch and fix other bugs
2023-12-21 15:07:41 +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
21b865d8a8
Merge origin/dev into feature/1859
2023-11-27 22:13:42 +00:00
Chris McCarthy
58e9033a4c
#1859 - First pass at an implementation of the full reset method. Will now start testing...
2023-11-27 23:01:56 +00:00
Czar Echavez
b7b718f25d
#2064 : added a method that checks if the class can perform actions and added it where necessary + tests everywhere
2023-11-24 15:15:56 +00:00
Czar Echavez
f0fc6518a0
#2064 : add handling of offline service to dns, ftp and database
2023-11-23 21:48:11 +00:00
Czar Echavez
bd6c27244c
#2064 : Edited services and applications to handle when they are shut down
2023-11-23 19:49:03 +00:00
Marek Wolan
0ea282166d
Merge remote-tracking branch 'origin/dev' into dev-game-layer
2023-11-06 16:23:29 +00:00
Czar.Echavez
68b22b6444
#1961 : node scanning + applying timestep to all components within node + node revealing to red
2023-10-27 17:50:41 +01:00
Marek Wolan
ffe80f215e
Merge 'origin/dev-game-layer' into feature/1924-Agent-Interface
2023-10-25 09:58:04 +01:00
Czar.Echavez
1e66795aff
#1947 : remove scan from components that cannot be scanned
2023-10-24 10:43:00 +01:00
Marek Wolan
d4eee36b7b
Fix software registration for game layer and simulator interface
2023-10-23 17:23:14 +01:00
Czar.Echavez
724beb1a29
#1947 : folder/file scan now take multiple time steps to complete
2023-10-23 15:58:37 +01:00
Czar.Echavez
9b5d95cbb9
#1947 : refactor am->rm to align with refactor of ActionManager->RequestManager
2023-10-13 10:41:27 +01:00
Czar.Echavez
060bbf0506
#1947 : added ability for files and folders to be scanned, corrupted and repaired
2023-10-10 15:14:47 +01:00
Czar.Echavez
80d371c238
Merge branch 'feature/1812-traverse-actions-dict' into feature/1947-implement-missing-node-actions
2023-10-10 08:58:58 +01:00
Marek Wolan
37c851b5c5
Merge remote-tracking branch 'origin/dev' into feature/1924-Agent-Interface
2023-10-09 18:29:48 +01:00
Marek Wolan
18706be4ff
Merge branch 'origin/dev' into feature/1812-traverse-actions-dict
2023-10-09 18:26:25 +01:00
Czar.Echavez
bbf2b09f96
#1947 : Add ability for all simcomponents to be scanned - sets up ability for service, files, folders and nodes to be scanned
2023-10-09 16:47:36 +01:00
Marek Wolan
5a5710c6ae
Rename Sim Actions to request
2023-10-09 13:24:08 +01:00
Czar.Echavez
4b5a73bd32
#1943 : web server + client + tests + a few improvements to syslogging
2023-10-03 14:59:48 +01:00
Marek Wolan
aa6834ad08
Check service actions work.
2023-09-19 11:41:02 +01:00
Chris McCarthy
6b41bec32a
#1816 - Added the final pieces of the puzzle to get data up from NIC → session manager → software manager → service.
...
- Implemented a basic sim DB that matches UC2 data manipulation DB in IY.
- Added a test that confirms DB queries can be sent over the network.
2023-09-06 22:01:51 +01:00
Czar Echavez
c349bb4484
#1814 : initial implementation of data manipulator service
2023-09-05 17:14:47 +01:00