Marek Wolan
2bf118abc9
Merge remote-tracking branch 'origin/4.0.0a1-dev' into 4.0.0-dev
2025-02-26 15:33:50 +00:00
Marek Wolan
9bb4442bbe
Merge remote-tracking branch 'origin/dev' into 4.0.0-dev
2025-02-26 15:20:05 +00:00
Marek Wolan
46240e49a4
update tests and make office lan creation work like previously
2025-02-17 18:46:09 +00:00
Charlie Crane
a426cf567b
Merged PR 606: Regression Testing Fixes
...
## Summary
Changes to PrimAITE to resolve bugs found during regression testing.
- Addressed hardcoding of "abstract_agent" as the name used in logging. This should now use the agent's `ref` from config.
- Fixed some failing terminal tests that were attempting to pass through a remote IP for actions where this wasn't needed.
- Corrected some old uses of `self.hostname` instead of `self.config.hostname` following refactoring.
- Removal of `node_types_map` when calling `network.show` to resolve issues with extensability.
## Test process
Tests pass when ran locally.
## 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
2025-02-18 10:33:50 +00:00
Charlie Crane
2830a2aef5
#3060 - Amendment to new version tag in configuration yaml. Now under the metadata tag
2025-02-14 12:36:23 +00:00
Charlie Crane
7b80d15d81
# Pre-commit actions
2025-02-14 11:39:25 +00:00
Charlie Crane
7e138d1d61
#Bug and test fixes
2025-02-14 11:38:15 +00:00
Charlie Crane
56e81a020c
#3060 - Adding version to YAML files within PrimAITE
2025-02-11 10:53:41 +00:00
Marek Wolan
96549e68aa
Merge remote-tracking branch 'origin/dev' into 4.0.0-dev
2025-02-10 14:39:28 +00:00
Marek Wolan
c1abbfe58c
bugfix - Make node schemas stricter
2025-02-05 15:04:41 +00:00
Marek Wolan
4a472c5c75
#3062 - Remove discriminators from abstract classes and fix remaining old discriminator names
2025-02-05 10:12:13 +00:00
Marek Wolan
0a6b604afd
Merge remote-tracking branch 'origin/4.0.0a1-dev' into feature/3062-discriminators
2025-02-04 15:20:56 +00:00
Charlie Crane
24161bb3fc
#2887 - Removal of commented out code
2025-02-04 15:06:23 +00:00
Marek Wolan
7ebe7fa4ef
Merge '2887-Align_Node_Types' into 3062-discriminators
2025-02-04 14:04:40 +00:00
Marek Wolan
a310fb3b64
#3062 - Discriminator bugfixes
2025-02-03 16:29:27 +00:00
Marek Wolan
abccf4afc5
#3062 - First pass at unifying naming convention for discriminators (still errors) [skip ci]
2025-02-03 16:24:03 +00:00
Charlie Crane
3d01f52eea
#2887 - Merge in changes on dev to resolve conflicts. All tests should now pass
2025-02-03 11:18:34 +00:00
Charlie Crane
d1e932a57c
#2887 - Merge in changes on dev to resolve conflicts. All tests should now pass
2025-02-03 11:16:34 +00:00
Charlie Crane
d806391625
#2887 - Test fixes
2025-01-31 18:46:02 +00:00
Marek Wolan
055c853b0f
#3062 - rename identifier to discriminator
2025-01-31 16:00:32 +00:00
Marek Wolan
4fb54c9492
#3029 - Add string-ip validator, improve validation, fix minor bugs in pulling schema data
2025-01-31 12:18:52 +00:00
Charlie Crane
4b42a74ac8
#2887 - Corrected failures seen when generating services from config & syntax issues. Wireless Router tests currently fail due to port 1 being disabled on startup
2025-01-29 16:57:25 +00:00
Charlie Crane
51f1c91e15
#2887 - Fixed Node unit test failures
2025-01-29 11:55:10 +00:00
Charlie Crane
f85aace31b
#2887 - Correct networking troubles causing test failures
2025-01-28 19:35:27 +00:00
Charlie Crane
e1f2f73db0
#2887 - Test changes to correct NodeOperatingState is correct per passed config.
2025-01-28 09:37:58 +00:00
Charlie Crane
0570ab984d
#2887 - Node class changes to address some test failures. Addressed some inconsistencies around operating_state, amended instantiation of some Nodes in test environments
2025-01-27 16:35:40 +00:00
Charlie Crane
a7395c466e
#2887 - Final test changes before end of day
2025-01-23 17:42:59 +00:00
Charlie Crane
30c177c272
#2887 - Additional test failure fixes
2025-01-23 17:07:15 +00:00
Charlie Crane
b9d2cd25f3
#2887 - Unit test fixes ahead of raising PR.
2025-01-23 15:28:10 +00:00
Charlie Crane
fbef78db51
#2887 - Resolve conflicts from merge
2025-01-23 09:17:27 +00:00
Charlie Crane
3957142afd
#2887 - Updates to Node components to use rom_config and allow for extensibility. Router and Firewall continue to have custom from_config. Some test fixes to reflect changes to functionality.
2025-01-22 17:20:38 +00:00
Marek Wolan
66daab3baf
Backport 3.3.1 fixes into Core
2025-01-21 13:08:36 +00:00
Marek Wolan
18a665e562
Update actions and agents to get all tests passing post-refactor
2025-01-20 14:07:51 +00:00
Marek Wolan
c521528a0a
Merge remote-tracking branch 'origin/4.0.0a1-dev' into feature/2869-Marek
2025-01-20 10:39:20 +00:00
Marek Wolan
4c0f87e8aa
Fix configure actions that were accidentally combined
2025-01-20 10:23:13 +00:00
Marek Wolan
4481d073e4
Fix action config schemas and formrequest method for dos bot action
2025-01-20 08:35:11 +00:00
Marek Wolan
858406c4a3
update more tests to new actions schema
2025-01-17 14:38:59 +00:00
Nick Todd
c82865d630
#2888 : Uncomment domain_mapping in test configs.
2025-01-16 16:52:49 +00:00
Nick Todd
dff976b336
#2888 : Fix merge test failures.
2025-01-16 16:32:55 +00:00
Marek Wolan
03cab0fcec
Update configs to new action naming schema and remove redundant agent config
2025-01-16 15:18:13 +00:00
Marek Wolan
504f4bd134
#2869 - Refactor agent and action config system
2025-01-16 15:17:42 +00:00
Marek Wolan
f8fb052dad
#2869 - Make agent schema children work properly
2025-01-15 16:44:17 +00:00
Charlie Crane
70d9fe2fd9
#2887 - End of day commit. Updates to ConfigSchema inheritance, and some initials changes to Router to remove the custom from_config method
2025-01-15 16:33:11 +00:00
Nick Todd
1fe0aea48d
Merge remote-tracking branch 'origin/4.0.0a1-dev' into feature/2888_Align_core_software_with_registry
2025-01-15 14:53:46 +00:00
Marek Wolan
40d052141c
#2869 - Remove outdated parameters from actionmanager (action map achieves the same result) [skip ci]
2025-01-14 13:48:18 +00:00
Marek Wolan
fb5242bd78
Merge agents and actions branches + fix import / subclass errors
2025-01-14 11:34:01 +00:00
Marek Wolan
9f5e16dd85
#2869 - Edit test fixture to work with new agent system
2025-01-14 10:58:34 +00:00
Charlie Crane
3cca3d4a5c
#2912 - Actioning review comments. Identifiers have been removed from AbstractActions, _legacy folder has been deleted and correction to IPV4Address type hints
2025-01-13 16:12:16 +00:00
Nick Todd
ea9c13b5f4
#2888 : self.X -> self.config.X
2025-01-13 15:38:11 +00:00
Charlie Crane
edd2668ea4
#2869 - Update type hints and ConfigSchema variables in some agent classes
2025-01-13 15:08:48 +00:00