Marek Wolan
ec7723732b
Merge remote-tracking branch 'origin/dev' into feature/2137-refactor-request-api
2024-01-04 14:40:20 +00:00
Marek Wolan
bc367222a8
Change software describe state keys
2024-01-04 12:55:46 +00:00
Marek Wolan
528e3b22a9
Add integration tests
2024-01-04 12:47:35 +00:00
Marek Wolan
a798d262b8
use names instead of uuids for requests
2023-12-18 14:03:47 +00:00
Marek Wolan
ffeb04d6ed
Merged PR 235: Refactor describe_state to use name/hostname instead of UUID as primary key
...
## Summary
- Refactor Simulator state to use service/application name instead of UUID, and node hostname instead of UUID.
- Refactor observations to read the hostname/name instead of UUID.
- Refactor rewards as well.
- Refactor configs to specify name instead of reference that will be translated to UUID.
## Test process
Existing unit tests pass. Inspected the printout from running 'describe_state' on arcd_uc2_network' to verify that names are used to report state.
## Checklist
- [x] PR is linked to a **work item**
- [x] **acceptance criteria** of linked ticket are met
- [x] performed **self-review** of the code
- [na] written **tests** for any new functionality added with this PR
- [na] updated the **documentation** if this PR changes or adds functionality
- [x] written/updated **design docs** if this PR implements new functionality
- [na] 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: #2131
2023-12-15 16:02:29 +00:00
Marek Wolan
495d847a71
Use service and app name for node software requests
2023-12-15 13:04:18 +00:00
Marek Wolan
a16028d10c
Merge remote-tracking branch 'origin/feature/2131-refactor-describe-state' into feature/2137-refactor-request-api
2023-12-15 10:10:39 +00:00
Nick Todd
fab39b1506
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-15 09:50:19 +00:00
Marek Wolan
1ec7df1170
Change describe_state to use names instead of uuids
2023-12-14 11:19:32 +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
Nick Todd
f7b5c8ae2f
2041: Remove NTPRequest class (review comment)
2023-12-13 10:34:52 +00:00
Czar Echavez
f0be77c79b
#2059 : configure missing configurable items
2023-12-12 17:20:31 +00:00
Nick Todd
e620771c8d
2041: Remove IP address from NTP client (review comment)
2023-12-12 17:08:11 +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
Czar Echavez
094e89fff1
#2059 : Renamed Red service to red application and moved the datamanipulation bot to the red application folder
2023-12-08 14:54:29 +00:00
Nick Todd
c3015b7f0e
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-07 14:55:01 +00:00
Nick Todd
50a6e17fab
2041: Make NTP work with TCP transport layer
2023-12-06 16:42:28 +00:00
Nick Todd
39694fcec2
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-04 11:23:35 +00:00
Marek Wolan
8ea9db2d34
Merge remote-tracking branch 'origin/dev' into feature/2085-dump_describe_state
2023-12-04 10:38:41 +00:00
Marek Wolan
105763971d
Merge 'origin/dev' into bugfix/episode-length-and-rewards
2023-12-03 14:49:34 +00:00
Chris McCarthy
cc04efb31d
#2085 - Added step metadata json file dumps to the environments. Fixed serialization issues in the Switch and ACLRule classes.
2023-12-01 16:37:58 +00:00
Chris McCarthy
008efa1e9d
Merge remote-tracking branch 'devops/bugfix/episode-length-and-rewards' into feature/2085-dump_describe_state
2023-12-01 15:55:22 +00:00
Marek Wolan
eeedea2eff
Make more friendly user outputs when training SB3
2023-12-01 15:36:07 +00:00
Marek Wolan
3642e87eda
Remove distracting debug print statements
2023-12-01 11:07:57 +00:00
Nick Todd
a073038ec0
#2085 : Get enum value data
2023-12-01 09:52:31 +00:00
Czar Echavez
c2f7d737f7
#2084 : missed change to logger
2023-11-30 21:11:35 +00:00
Czar Echavez
423436c3ad
#2084 : testing webbrowser requesting database service user data via web server
2023-11-30 16:32:31 +00:00
Czar Echavez
d9de57757f
#2084 : more tests + remove concurrency in test to make sure coverage works
2023-11-30 15:47:31 +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
Czar Echavez
349f9dee38
Merge remote-tracking branch 'origin/dev' into feature/2084-add-more-tests-to-make-primaite-more-robust
2023-11-30 09:29:34 +00:00
Czar Echavez
b2a52b2ec0
#2084 : created a fixture that we can use to test things at a non end to end level
2023-11-29 16:31:21 +00:00
Marek Wolan
ac2f7ba757
Fix web browser tests.
2023-11-29 14:33:52 +00:00
Marek Wolan
a16116a688
Fix file system reset error
2023-11-29 13:22:15 +00:00
Marek Wolan
05d62a956d
Fix software reset issues
2023-11-29 13:18:38 +00:00
Chris McCarthy
bf73cc2eb7
#1859 - Re-ordered the node reset function again
2023-11-29 13:45:34 +00:00
Czar Echavez
19d534395b
#2084 : beginning the introduction of code coverage + adding tests to try to meet the 80% code coverage target
2023-11-29 01:28:40 +00:00
Chris McCarthy
94f8a45a4d
#1859 - Re-ordered the node reset function
2023-11-28 15:29:13 +00:00
Chris McCarthy
9a4855e7bd
#1859 - Added the call to file system reset
2023-11-28 11:58:09 +00:00
Marek Wolan
2de1d02c48
Fix app install logic
2023-11-27 22:55:00 +00:00
Marek Wolan
b0399195bb
Fix software manager usage in uc2 network func
2023-11-27 22:20:44 +00:00
Marek Wolan
21b865d8a8
Merge origin/dev into feature/1859
2023-11-27 22:13:42 +00:00
Chris McCarthy
517f99b04b
#1859 - Added the call to file system reset
2023-11-28 09:45:45 +00:00
Chris McCarthy
37663c941d
#1859 - Added route table reset, still not working
2023-11-28 00:51:48 +00:00
Chris McCarthy
39dfbb741f
#1859 - Made some fixes to resets. Still an issue with the Router reset.
2023-11-28 00:21:41 +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
Chris McCarthy
ae5046b8fb
#1859 - As disccused
2023-11-27 17:05:12 +00:00
Nick Todd
40d596c373
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-11-27 15:07:06 +00:00
Chris McCarthy
c3bb78c5a3
Merge remote-tracking branch 'devops/feature/1859-red-agent-marek' into feature/1859-red-agent-marek
2023-11-27 13:50:41 +00:00
Chris McCarthy
4d4a578555
#1859 - Integrated the runtime execution for web client. Added in the webclient application execution action. Now fixing http status code issues.
2023-11-27 13:47:59 +00:00