* Enhancement: Added file size and subdirectory support to FileManager directory listing feature
* Refactor to directory listing feature using rategroup 2 component
* Spelling fixes to expect.txt, config feilds for schedin call, fixes on comments/types
* Fix for spellcheck
* Replace fixed size with FileNameStringSize for commands
* Fix minor nits
* Formatting
* Remove fileManager instance, use FileHandling.fileManager
* Fix review feedback
---------
Co-authored-by: M Starch <LeStarch@googlemail.com>
* add deployment function
* update file to use config json file
* remove unuse function
* fix typos
* fixed spelling
* update to use get_mnemonic
* rm shellcmd from fileManager and add health & systemResources testcase
* check memory usage and number of CPUs
* remove Ref.PingReceiver and fixed typos
* fixed spelling fileDownlink,health,systemResources and add config.json file
* Update config.json
* replace ActiveLogger to EventManager
* Updated config.json use lowercase CdhCore and FileHandling(fileDownlink,fileManager,prmDb) and ComCcsds(cmdSeq) etc
* update test_cmd_version to compare version of telemetry channel vs. evr version
* extend max_delay to work with Raspberry pi
* rename config.json to int_config.json
* delete Ref/config.json new file name int_config.json
* add time.sleep between AppendFile cmd to work with rasberry Pi
* fix int_config.json and add new Int DpMgr, DpWriter and DpCatalog
* add comments to confirm /tmp/1MiB.txt and /tmp/test_seq.seq exist before execute script
* add send uplink files
* Rename config.json, fix spelling
* python formatting
---------
Co-authored-by: Cindy T Huynh <chuynh@jpl.nasa.gov>
Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>
Co-authored-by: Kevin F. Ortega <kevin.f.ortega@jpl.nasa.gov>
* Refactored type organization
* Creating better configuration/types header hierarchy
* Replace FpConfig type aliases with FPP generated aliases
* Add the aliases to the FPP model
* Config + Type Aliases builds
* Renamed Fw/Types.h,hpp to Fw/FPrimeBasicTypes.h,hpp
* Updating to FPP-a7
* Adding newline
* sp
* Fixing minor nit from review
* Spurious ;
---------
Co-authored-by: Andrei Tumbar <andrei.tumbar@jpl.nasa.gov>
* Remove FwSignedSizeType from file
* Restoring FwSignedSizeType to seek offsets
* Fixing usages and UTs
* Fixes on Linux
* CI fix
* CI round 3
* CI rev 4
* Fixing code scan errors
* Review fixes - pt 1
* Failed to save
* Remove NATIVE_* types from FileUplink
* Remove NATIVE_* types from RateGroupDriver
* Remove NATIVE_* types from ComLogger
* Addressing init function usage of NATIVE_ types
* NATIVE_ types from command dispatcher
* NATIVE_ types from ComQueue
* NATIVE_ types from CmdSplitter
* U32 -> FwOpcodeType in CmdDispatcher
* NATIVE_ types in BufferManager
* NATIVE_ types in LinuxTimer
* NATIVE_ types from BufferAccumulator and renabling UT
* NATIVE_ types from TlmChan
* NATIVE_ types from BufferRepeater
* NATIVE_ types from Active/Passive Rate Group
* NATIVE_ types from ComSplitter and ComStub
* NATIVE_ types from ActiveLogger and fixed ActiveRateGroup sdd
* NATIVE_ types from Dp*
* NATIVE_ types from FileManager and ActiveLogger (missed)
* NATIVE_ types from BufferLogger, FileDownlink, StaticMemory
* Deleting UdpSender/UdpReceiver that lack models and build config
* NATIVE_ types from Health
* NATIVE_ types from CmdSequencer
* NATIVE_ types from TlmPacketizer
* Fixing unit test issues
* POINTER_CAST from Svc
* CI fixes
* CI fixes (Linux)
* Fixing Ref/RPI for RG context
* CI (sp)
* Fixing RPI build for time conversions
* CI fixes (RPI)
* Self review comments
* Removing UDP sender/receiver config
* Review recommendations - pt 1
* Add FileSystem Interface
* Add OS::FileSystem interface and implementations
* static interface + global Os::init()
* Add test harness
* Implement Os::Directory interfaces and use it in FileSystem::readDirectory
* Add Stub tests for Directory and FileSystem
* wip: modify the interface from Michael feedback
* wip: move functions around and rework interface a little more
* Add Directory rule-based tests
* Refactored Directory for open-create + WIP: FileSystem tests
* Update state tracking mechanism in FileSystem test implementation + add RandomizedTesting
* Replace bounded while-loop with for-loop
* Code cleanup
* fix typo
* Rename FileTracker and code reorganization / clarification
* Code style and add CWD rule
* Clean up tester code
* More cleanup
* Add Posix tests to Os_ut_exe
* Fix DpCatalog readDirectory usage
* Appease CI checks
* Spelling and CI warnings
* Spelling + removing FppConstants include
* Add review changes and todos
* Add Directory::read(Fw::StringBase&) overload
* Refactor copyFileData to iterate over copied size
* Remove FppConstants.hpp include
* Rework moveFile into rename/copy-remove
* Add majestic comments
* Add option to error if dir exist in Fs::createDirectory
* spelling
* include <algorithm> for std::find in tests
* Fix leftover ::CREATE modes in comments and stub tests
* Fix CmdSequencer test case
* Fix memory leak in testing by conditioning the Open rule
* Fix FileManager tests
* Add Directory and FileSystem FPP type definitions; update CMakeLists and clean up comments
* spelling
* Reoder header guards
* Implement changes from peer-review
* read into StringBase with const_cast
* Fix resetSer() call
* Fix spelling
* fix spelling again i guess
* Fix DpCatalog unchecked return value
* Os::File refactor: open w/ basic stub, posix UTs
* Refactoring Os::File for all methods, less UTs
* Adding rules-based common tests
* Fixing posix file for common UTs
* Adding WriteRead and WriteReadSeek tests
* Working random tests
* Working randomized tests and stub testing
* Fixing PrmDb unit tests
* Updating files to used FwSignedSizeType
* Factoring out the synthetic file system
* Initial work on CmdSequencer UTs
* Fixing linux implementation
* Newlines at end of file
* sp
* Static analysis checks
* Changing API to use enums
* Refactoring for proper class tree
* CmdSequencer UTs - WIP
* CmdSequencer UTs work
* Adding copy constructor functionality
* Spelling and static analysis fixes
* Copy constructor/assignment operator UTs and fixes
* Initial CRC work
* Working CRC and FPP models
* Minor UT fixes
* Correcting CMake choices implementation
* MAking implementation choices real dependencies
* Fixing implementation to use source files
* Fixing posix file read/write permissions
* Allowing None implementations
* Fixed CI breakages
* Fixing MyRules.hpp formatting
* Minor CRC unit test fix
* Removing direct write support
* Changing get delegate to static method of interface
* Replacing old comments with new comments
* Fixing friend regression
* Review fixes
* Fixing serialization method usages
* Review fixes
* Fixing RPI build
* Fixing FwBuffSizeType overflow
* Fixing review comment
* Renaming FwExternalSize -> FwSizeStoreType
* WIP: FPP v2
* Initial integration of FPP UT generation
* Updating UT GTestBase.hpp includes
* Update fpp version
* Revise header path
* Revise test; add modified generated code
* Revise modified code gen
* Revise modified generated code
* Add and move files
* Revise Fpp tests
* Add fpp deps
* Update fpp version
* Update include paths
* Fix unit tests
* Fix unit tests
* Revise TlmPacketizer test
* Fix unit tests
* Fix unit tests
* Delete temporary files
* Updating for new FPP tools flags
* Bump for fixed FPP tools
* Migrating TcpServer unit tests to v3.4.0 standards
* Migrating Udp unit tests to v3.4.0 standards
* Migrating LinuxSpiDriver unit tests to v3.4.0 standards
* Migrating LinuxI2cDriver unit tests to v3.4.0 standards
* Migrating LinuxGpioDriver unit tests to v3.4.0 standards
* Migrating TcpClient unit tests to v3.4.0 standards
* Migrating StreamCrossover unit tests to v3.4.0 standards
* Migrating SignalGen unit tests to v3.4.0 standards
* Migrating Checksum unit tests to v3.4.0 standards
* Migrating queued unit tests to v3.4.0 standards
* Migrating empty unit tests to v3.4.0 standards
* Migrating passive unit tests to v3.4.0 standards
* Migrating active unit tests to v3.4.0 standards
* Migrating FilePacket unit tests to v3.4.0 standards
* Migrating Logger unit tests to v3.4.0 standards
* Migrating port_return_type unit tests to v3.4.0 standards
* Migrating ext_dict unit tests to v3.4.0 standards
* Migrating time_tester unit tests to v3.4.0 standards
* Migrating serial_passive unit tests to v3.4.0 standards
* Migrating tlm_multi_inst unit tests to v3.4.0 standards
* Migrating param2 unit tests to v3.4.0 standards
* Migrating param_string unit tests to v3.4.0 standards
* Migrating command_string unit tests to v3.4.0 standards
* Migrating command_res unit tests to v3.4.0 standards
* Migrating tlm_onchange unit tests to v3.4.0 standards
* Migrating param_multi_inst unit tests to v3.4.0 standards
* Migrating command2 unit tests to v3.4.0 standards
* Migrating port_nogen unit tests to v3.4.0 standards
* Migrating tlm2 unit tests to v3.4.0 standards
* Migrating command_tester unit tests to v3.4.0 standards
* Migrating event2 unit tests to v3.4.0 standards
* Migrating param_tester unit tests to v3.4.0 standards
* Migrating tlm_string unit tests to v3.4.0 standards
* Migrating testgen unit tests to v3.4.0 standards
* Migrating log_tester unit tests to v3.4.0 standards
* Migrating port_loopback unit tests to v3.4.0 standards
* Migrating param_enum unit tests to v3.4.0 standards
* Migrating command_multi_inst unit tests to v3.4.0 standards
* Migrating log1 unit tests to v3.4.0 standards
* Migrating event_multi_inst unit tests to v3.4.0 standards
* Migrating serialize_user unit tests to v3.4.0 standards
* Migrating telem_tester unit tests to v3.4.0 standards
* Migrating param1 unit tests to v3.4.0 standards
* Migrating event_throttle unit tests to v3.4.0 standards
* Migrating string_port unit tests to v3.4.0 standards
* Migrating command1 unit tests to v3.4.0 standards
* Migrating noargport unit tests to v3.4.0 standards
* Migrating time_get unit tests to v3.4.0 standards
* Migrating event_enum unit tests to v3.4.0 standards
* Migrating comp_no_namespace unit tests to v3.4.0 standards
* Migrating event1 unit tests to v3.4.0 standards
* Migrating event_string unit tests to v3.4.0 standards
* Migrating tlm1 unit tests to v3.4.0 standards
* Migrating comp_diff_namespace unit tests to v3.4.0 standards
* Migrating tlm_enum unit tests to v3.4.0 standards
* Migrating pass_by_attrib unit tests to v3.4.0 standards
* Migrating stress unit tests to v3.4.0 standards
* Migrating interface1 unit tests to v3.4.0 standards
* Migrating templates unit tests to v3.4.0 standards
* Migrating FileUplink unit tests to v3.4.0 standards
* Migrating ComLogger unit tests to v3.4.0 standards
* Migrating SystemResources unit tests to v3.4.0 standards
* Migrating TlmPacketizer unit tests to v3.4.0 standards
* Migrating ComStub unit tests to v3.4.0 standards
* Migrating ComSplitter unit tests to v3.4.0 standards
* Migrating Health unit tests to v3.4.0 standards
* Migrating BufferLogger unit tests to v3.4.0 standards
* Migrating AssertFatalAdapter unit tests to v3.4.0 standards
* Migrating FileDownlink unit tests to v3.4.0 standards
* Migrating StaticMemory unit tests to v3.4.0 standards
* Migrating CmdSequencer unit tests to v3.4.0 standards
* Migrating Framer unit tests to v3.4.0 standards
* Migrating GroundInterface unit tests to v3.4.0 standards
* Migrating FileManager unit tests to v3.4.0 standards
* Migrating ActiveTextLogger unit tests to v3.4.0 standards
* Migrating LinuxTime unit tests to v3.4.0 standards
* Migrating Deframer unit tests to v3.4.0 standards
* Migrating Deframer unit tests to v3.4.0 standards
* Migrating BufferRepeater unit tests to v3.4.0 standards
* Migrating TlmChan unit tests to v3.4.0 standards
* Migrating GenericHub unit tests to v3.4.0 standards
* Migrating BufferAccumulator unit tests to v3.4.0 standards
* Migrating LinuxTimer unit tests to v3.4.0 standards
* Migrating BufferManager unit tests to v3.4.0 standards
* Migrating CmdSplitter unit tests to v3.4.0 standards
* Migrating ComQueue unit tests to v3.4.0 standards
* Migrating Os unit tests to v3.4.0 standards
* Federating FPP tools with release versions
* Python formatting
* Reverting FPPTest to correctly working build
* Removing minor dead code and comments
---------
Co-authored-by: bocchino <bocchino@jpl.nasa.gov>
* Fixing the U64 vs FwSizeType argument change
The code changed in the time the PR was being reviewed. This should fix the discrepancy.
* fixing spelling error
Our XML files had incorrect schema paths, so they needed to be corrected or removed.
Because of the upcoming transition to F'' YAML modeling, removing the schema refrences is an easier
approach than correcting all component xml files.