29 Commits

Author SHA1 Message Date
Moises Mata
268e168f23
Restructure core subtopologies and add Svc_Subtopologies target (#3904)
* Modify Com/Ccsds/Fprime ComDriverConfig & TopologyDefs for easier ComDriver config

* Fix BaseID collision

* Removed restrict platform, UART/TCP driver configs different files, CMake switch depending on FPRIME_HAS_SOCKETS

* Add Exclude_FROM_ALL to all subtopology cmake modules

* remove exclude from ComCcsds (needed for Ref)

* Remove exclude from all for testing

* Exclude_from_all only on comLoggerTee, comFprime (not used in Ref)

* Added Svc_Subtopologies target

* Use add_custom_target, spelling fix

* Add Configs to Svc_Subtopologies target

* Removed comDriver as instance within subtopologies, now within project topology

* Take out cmdSeq from ComSubtopologies, put in FileHandling

* Added Subtopology States for all, common pattern users can follow

* Fix Extra newline

* Moved Phased comDriver code into RefTopology.cpp

* Update metadata

check-spelling run (pull_request_target) for subtopology-config-phasing-updates

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Fixed call to default stack size

* Moved cmdSeq from FileHandling subtopology to Ref Root Topology

* Fix integration test

* Remove unneeded Os includes in RefTopology.cpp

* Fix BaseIds

* Add comment for BaseIDs, comDriver configuration order fix

* Restructure of enums within Com Subtopologies

* Correct include for ComCcsds enum headers

* Using namespace syntax change

* Fix BaseIds

* Update metadata

check-spelling run (pull_request_target) for subtopology-config-phasing-updates

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Remove unneeded Dependency

* Add enum at the top

* Fix RefTopology.cpp

* Update Comment

---------

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
Co-authored-by: Moises Mata <moisesmata@users.noreply.github.com>
2025-07-30 10:25:29 -07:00
Thomas Boyer-Chammard
7ec2bb9a76
Rename ActiveLogger to EventManager (#3920)
* Rename ActiveLogger to EventManager

* Spelling and link fixes

* Formatting and CMake API

* Remove UT_AUTO_HELPERS
2025-07-23 10:41:24 -07:00
Moises Mata
d69b7a10d1
Add Core Subtopologies: ComFprime, ComCcsds, DataProducts, FileHandling (#3768)
* Added led-blinker workflow for aarch64-linux platform

* Update runner label

* Added Tags to RPI self hosted workflows, sparse-checkout-cone-mode false

* Add subtopologies to Svc/ restructing of Ref to include CDH subtopology

* CDHCore Subtopology added under Svc and integrated into Ref

* Health instance within CDHCore references CDHCoreConfig for queue size

* Update metadata

check-spelling run (push) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Added AssertFatalAdapter Version PassiveTextLogger to Subtopology, config clarity improvements

* Comms subtopology without cmdSeq created, integrated in Ref

* Added cmdSeq to Comms Subtopology, integrated into Ref

* Add FileHandling Subtopology, initial structure

* Fixed Spelling, Flie -> File

* Update metadata

check-spelling run (push) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Added working FileHandling, DataProducts subtopology, integrated into Ref

* prmDb part of FileHandling, fatalHandler part of CDHCore

* Update metadata

check-spelling run (push) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Update comment for clarity

* Initial move to phasing components

* Fixing Phasing: Adding initial Phasing for CDHCore, DataProducts, FileHandling

* Renaming topologydefs.hpp, phasing fully working on all four subtopologies, needs cleaning up

* Cleanup with Ports_ComPacketQueue, definition only in Comms.fpp now

* Base project with all 4 subtopologies, integrated into Ref, and passing CI

* Initial Commit with all Subtopologies in Svc/Subtopologies

* Added posixtime back in to Ref Deployment (Accidentally Deleted)

* Updates to match new subtopology structure, integrate CCSDS into Ref

* Changes to CommCCSDS that go with last changes

* Standardize subtopology structure and naming to PascalCase

* Namespace fixe for ComFprime

* CDHCore->Cdhcore for consistency

* Rename CDHCore to CdhCore for consistency

* Update metadata

check-spelling run (pull_request_target) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Reorder on teardown phases for Com Subtopolgies

* Cpp check style fix

* Fix: Add missing tearDownComponents cleanup for DataProducts dpBufferManager

* Delete old comments, test using same mallocator for all subtopologies

* fix: Deallocated DataProducts BufferMgr

* Fix DataProducts subtopology memory cleanup

* Fix: Dataproducts subtopology teardown order

* Added tearDownComponents(state)

* Consolidate all cleanup to teardowncomponents

* Fix memory leaks: restore teardown phases

* Removal of redundant teardowncomponents()

* Revert "Removal of redundant teardowncomponents()"

This reverts commit 29d4ff8242574f1afc1bb6aacdf5cfef4d79987d.

* Fix formatting, remove commented out code

* Swap hardcoded numbers to config constants in subtopologies

* register_fprime_config() in config modules, isolated ComDriver into a separate config fpp file

* Added explicit CMake Module Names and Depends between Subtopologies and their Configs

* Fixed CCSDS case, more config constants

* Added explicit depends for each subtopology config

* added mallocator config, subtopology state structure

* Update subtopology config names for clarity, fixes #3571

* Fix reference to dpBuffer config Constants

---------

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
Co-authored-by: Moises Mata <moisesmata@users.noreply.github.com>
2025-06-26 15:00:57 -07:00
Moises Mata
ea96da0792
Add Core Subtopologies: CDHCore (#3720)
* Added led-blinker workflow for aarch64-linux platform

* Update runner label

* Added Tags to RPI self hosted workflows, sparse-checkout-cone-mode false

* Add subtopologies to Svc/ restructing of Ref to include CDH subtopology

* CDHCore Subtopology added under Svc and integrated into Ref

* Health instance within CDHCore references CDHCoreConfig for queue size

* Update metadata

check-spelling run (push) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Added AssertFatalAdapter Version PassiveTextLogger to Subtopology, config clarity improvements

* Comms subtopology without cmdSeq created, integrated in Ref

* Added cmdSeq to Comms Subtopology, integrated into Ref

* Add FileHandling Subtopology, initial structure

* Fixed Spelling, Flie -> File

* Update metadata

check-spelling run (push) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Added working FileHandling, DataProducts subtopology, integrated into Ref

* prmDb part of FileHandling, fatalHandler part of CDHCore

* Update metadata

check-spelling run (push) for add-subtopologies

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Update comment for clarity

* Initial move to phasing components

* Fixing Phasing: Adding initial Phasing for CDHCore, DataProducts, FileHandling

* Renaming topologydefs.hpp, phasing fully working on all four subtopologies, needs cleaning up

* Cleanup with Ports_ComPacketQueue, definition only in Comms.fpp now

* CDHCore subtopology added and integrated within Ref deployment

* Fixed to work with CCSDS, added comment on RefPackets, fatalHandler within CDHCore config

* Add correct stackSize in CDHCoreconfig

* CDHCore Subtopology, parameterization done through config overrides
 - Subtopology with core CDH functionality within Svc
 - integrated within Ref Deployment
 - PingEntries.hpp within CDHCore/ that provides default values for PingEntries
 - Default TlmChan, option to use TlmPacketizer through changing CDHCoreConfig.fpp

* Fixed priority values in CDHCoreConfig, removed FatalHandler from CDHCore

* Update metadata

check-spelling run (pull_request_target) for add-cdhcore-subtopology

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Added CDHCore as a dependency for TestDeployment, in CMakeLists.txt

* Changed Structure in RefTopologyDefs.hpp to make simpler

* Reverted to prior RefTopologydefs.hpp Structure

---------

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
Co-authored-by: Moises Mata <moisesmata@users.noreply.github.com>
2025-06-16 15:26:35 -07:00
chuynh4duarte
875fa11f07
fixed #3089. change timeout value to 3 (#3171)
Co-authored-by: Cindy T Huynh <chuynh@jpl.nasa.gov>
2025-01-29 16:14:35 -08:00
Thomas Boyer-Chammard
4d1ab758ea
Fix SignalGen commands in integration tests (#3075)
* Fix SignalGen commands in integration tests

* Fix formatting
2024-12-11 15:10:43 -08:00
Justine West
672538de32
Update Ref and RPI for compatibility with FPP #349 (fully qualified component instance names) (#2823)
* updated ref and rpi integration tests

* fix component qualifiers

* FPP v2.2.0a1

* fix py file formatting

* add new line

* remove newline

* file py file formatting

* fprime-gds v3.4.4a3

* fix typo in integration test command name

---------

Co-authored-by: jawest <justine.a.west@jpl.nasa.gov>
2024-09-04 14:48:25 -07:00
M Starch
a487823496
Update/streamlined int tests (#1974)
* initial streamlining of integration tests

* formatting

* Adding CMD example component integration test

* Run int tests from deployment area
2023-04-20 13:39:58 -07:00
M Starch
8b5d3c97b7
Update/ref int tests (#1479)
* lestarch: making a better, more robust Ref integration test suite

* lestarch: formatting

* lestarch: signal gent integration tests - WIP

* lestarch: fixinshing complex type integration tests

* lestarch: making a better, more robust Ref integration test suite

* lestarch: formatting

* lestarch: formatting

* lestarch: sp

* lestarch: using events when testing command arguments

* lestarch: formatting
2022-06-28 15:11:14 -07:00
Sadra Yahyapour
edc2f1c4d3
Using TAB escape sequence instead of pure spaces (#1353)
* using \t instead if raw spaces

* isort observed

* black observed
2022-04-12 12:38:49 -07:00
M Starch
052bbdb8c0
lestarch: merged latest nasa/devel (#964)
* lestarch: merged latest nasa/devel

* lestarch: fixing coverage on macOs

* lestarch: correcting UTs for merging latest devel

* lestarch: integration tests

* lestarch: build error correction
2021-08-25 18:50:45 -07:00
M Starch
933e971a9f lestarch: mering in fixes for pr 769 2021-06-25 18:44:18 -07:00
bocchino
b48a70d97d Revise Ref integration tests
Update enum names in ActiveLogger
2021-06-15 18:38:33 -07:00
Josh Soref
c84f2ba7b5 spelling: whether
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
M Starch
49e6424f07
Merge pull request #277 from timcanham/update/ActiveLoggerMin
Update/active logger min
2020-12-02 17:59:59 -08:00
Michael D Starch
ddeeba037a mstarch: fixing ref integration test for ActiveLogger refactor 2020-12-02 16:31:24 -08:00
Michael D Starch
662884d61c mstarch: adding seqgen integration test 2020-11-30 20:24:39 -08:00
Joshua Anderson
38350ca7d3
Fix dictionary target dependencies
The dictonary target wasn't depending on the topology xml file,
so changes to the topology weren't causing the dictionary to rebuild.

The autocoding step also generates dictionaries as a side affect of
generating the topology autocode (might be worth considering if we can
somehow combine these steps so we don't have to run the topology autocoder
twice). This could sometimes run after the dictionary generation step,
leading to leftover dictionary files in the source tree. Adding a dependency
on the modules autocoded files (including the autocoded topology files)
ensures that this step always runs after the topology autocode step
and can properly clean up.

Also fix integration test was using old dictionary location but was
passing due to above bug.
2020-11-30 13:53:37 -08:00
Michael D Starch
40b9881b19 mstarch: merging in upstream/devel and reformatting with black 2020-07-27 10:20:24 -07:00
Michael D Starch
3dd9ac98f9 mstarch: adding '/tmp' as down store 2020-03-31 14:23:48 -07:00
Michael D Starch
7790515045 mstarch: adding some drain time for slower machines 2020-01-23 19:43:35 -08:00
Michael D Starch
f76e79a0b6 mstarch: ensuring all data flows through tcpserver interface 2020-01-23 18:49:08 -08:00
Michael D Starch
bbcca9dfb1 mstarch: attempting to fix the i and t tests 2019-11-06 13:34:23 -08:00
Michael D Starch
97166ab0be mstarch: fixing Ref I&T errors 2019-11-04 17:44:36 -08:00
Timothy Canham
e5193718a7 Fixed commands in integration test 2019-09-24 21:22:23 -07:00
koran
44c267007a Fixed run_ref_for_int_test.sh and added link in integration test user_guide.md 2019-08-05 14:06:10 -07:00
koran
499bd5990d Fixed log path bug in Ref integration tests 2019-08-01 14:52:18 -07:00
koran
fc0be3d635 Added assert helpers and revised assertion log messages. 2019-07-30 18:46:19 -07:00
koran
f3520ff130 made changes per Michael's feed back in pull request: renamed demo_integration_test to ref_integration_test and reverted changes to standard pipeline histories. 2019-07-30 12:23:44 -07:00