Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cFS-Caelum Review, CFS-41: EVS and FS #1294

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Ignore everything
*

# ...even if they are in subdirectories
!*/

# But not these files...
!/.gitignore
!/ReadMe.md


# EVS
!modules/evs/fsw/**/**
!modules/core_api/fsw/inc/cfe_evs*
!modules/core_private/fsw/inc/cfe_evs_log_typedef.h
!modules/evs/CMakeLists.txt

# FS
!cfe_fs*
!modules/fs/fsw/*
!modules/fs/CMakeLists.txt
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# cFE
## cFS-Caelum Review: CFS-41

This branch is meant for the cFS-Caelum code review of Event (EVS), File Services (FS), The review designation is "CFS-41"


The corresponding, fully-working cFE instance matching the code in this branch can be found under the [cFE v7.0.0-rc1 tag](https://github.com/nasa/cFE/releases/tag/v7.0.0-rc1)

### How to add your review comments

Navigate to the ["files changed" tab](https://github.com/nasa/cFE/pull/1294/files) in the [nasa/cFE#1294](https://github.com/nasa/cFE/pull/1294) pull request.


<img width="820" alt="github-review-instructions-1of2" src="https://user-images.githubusercontent.com/59618057/113956688-dca76a00-97eb-11eb-99d4-9ec84b459dce.png">


You can add comments on any line of code by hovering on the line number and clicking on the plus "+" sign. Once you're finished with the comment click on the green "Start Review" button. To add more comments, just click on the relevant line number in any file, type your comment, and click on "Add review comment".


<img width="1229" alt="github-review-instructions-2of2" src="https://user-images.githubusercontent.com/59618057/113956482-8508fe80-97eb-11eb-8197-618d4e25fa51.png">

If you need to take a break, or if you're done, click the green "Finish Review" button on the top right corner of the
page, add any overall or summarizing comments and click on "Submit Review". You can always return and add new comments using the same process.

**Thank you!**
165 changes: 165 additions & 0 deletions modules/core_api/eds/cfe_fs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

GSC-18128-1, "Core Flight Executive Version 6.7"

Copyright (c) 2006-2019 United States Government as represented by
the Administrator of the National Aeronautics and Space Administration.
All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

This document adheres to the Electronic Data Sheet (EDS) XML schema
as prescribed in CCSDS book 876.0.

Purpose:
This describes all interface objects for the File Services (CFE_FS)
core application

-->
<PackageFile xmlns="http://www.ccsds.org/schema/sois/seds">
<Package name="CFE_FS" shortDescription="NASA Core Flight System File Services">
<DataTypeSet>
<EnumeratedDataType name="SubType" shortDescription="Content descriptor for File Headers">
<IntegerDataEncoding sizeInBits="32" encoding="unsigned" />
<EnumerationList>
<Enumeration label="ES_ERLOG" value="1" shortDescription="Executive Services Exception/Reset Log Type">
<LongDescription>
Executive Services Exception/Reset Log File which is generated in response to a
\link #CFE_ES_WRITE_ERLOG_CC \ES_WRITEERLOG2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="ES_SYSLOG" value="2" shortDescription="Executive Services System Log Type">
<LongDescription>
Executive Services System Log File which is generated in response to a
\link #CFE_ES_WRITE_SYSLOG_CC \ES_WRITESYSLOG2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="ES_QUERYALL" value="3" shortDescription="Executive Services Information on All Applications File">
<LongDescription>
Executive Services Information on All Applications File which is generated in response to a
\link #CFE_ES_QUERY_ALL_CC \ES_WRITEAPPINFO2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="ES_PERFDATA" value="4" shortDescription="Executive Services Performance Data File">
<LongDescription>
Executive Services Performance Analyzer Data File which is generated in response to a
\link #CFE_ES_PERF_STOPDATA_CC \ES_STOPLADATA \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="ES_SHELL" value="5" shortDescription="Executive Services Shell Response File">
<LongDescription>
Executive Services Shell Response Data File which is generated in response to a
\link #CFE_ES_SHELL_CMD_CC \ES_SHELL \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="ES_CDS_REG" value="6" shortDescription="Executive Services Critical Data Store Registry Dump File">
<LongDescription>
Executive Services Critical Data Store Registry Dump File which is generated in response to a
\link #CFE_ES_DUMP_CDS_REG_CC \ES_DUMPCDSREG \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="TBL_REG" value="9" shortDescription="Table Services Registry Dump File">
<LongDescription>
Table Services Registry Dump File which is generated in response to a
\link #CFE_TBL_DUMP_REG_CC \TBL_WRITEREG2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="TBL_IMG" value="8" shortDescription="Table Services Table Image File">
<LongDescription>
Table Services Table Image File which is generated either on the ground or in response to a
\link #CFE_TBL_DUMP_CC \TBL_DUMP \endlink command.
</LongDescription>
</Enumeration>
<Enumeration label="EVS_APPDATA" value="15" shortDescription="Event Services Application Data Dump File">
<LongDescription>
Event Services Application Data Dump File which is generated in response to a
\link #CFE_EVS_FILE_WRITE_APP_DATA_CC \EVS_WRITEAPPDATA2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="EVS_EVENTLOG" value="16" shortDescription="Event Services Local Event Log Dump File">
<LongDescription>
Event Services Local Event Log Dump File which is generated in response to a
\link #CFE_EVS_FILE_WRITE_LOG_DATA_CC \EVS_WRITELOG2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="SB_PIPEDATA" value="20" shortDescription="Software Bus Pipe Data Dump File">
<LongDescription>
Software Bus Pipe Data Dump File which is generated in response to a
\link #CFE_SB_SEND_PIPE_INFO_CC \SB_WRITEPIPE2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="SB_ROUTEDATA" value="21" shortDescription="Software Bus Message Routing Data Dump File">
<LongDescription>
Software Bus Message Routing Data Dump File which is generated in response to a
\link #CFE_SB_SEND_ROUTING_INFO_CC \SB_WRITEROUTING2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="SB_MAPDATA" value="22" shortDescription="Software Bus Message Mapping Data Dump File">
<LongDescription>
Software Bus Message Mapping Data Dump File which is generated in response to a
\link #CFE_SB_SEND_MAP_INFO_CC \SB_WRITEMAP2FILE \endlink
command.
</LongDescription>
</Enumeration>
<Enumeration label="ES_QUERYALLTASKS" value="23" shortDescription="Executive Services Query All Tasks Data File">
<LongDescription>
Executive Services Query All Tasks Data File which is generated in response to a
\link #CFE_ES_QUERY_ALL_TASKS_CC \ES_WRITETASKINFO2FILE \endlink
command.
</LongDescription>
</Enumeration>
</EnumerationList>
</EnumeratedDataType>

<StringDataType name="FileDescription" length="${CFE_MISSION/FS_HDR_DESC_MAX_LEN}" shortDescription="File Description String" />

<ContainerDataType name="Header" shortDescription="Standard cFE File header structure definition">
<EntryList>
<Entry name="ContentType" type="BASE_TYPES/uint32" shortDescription="Identifies the content type" />
<Entry name="SubType" type="SubType" shortDescription="Type of ContentType, if necessary" />
<LengthEntry name="Length" type="BASE_TYPES/uint32" shortDescription="Length of object">
<PolynomialCalibrator>
<Term coefficient="1" exponent="1" />
<Term coefficient="0" exponent="0" />
</PolynomialCalibrator>
</LengthEntry>
<FixedValueEntry name="SpacecraftID" type="BASE_TYPES/uint32" shortDescription="Spacecraft that generated the file" fixedValue="${CFE_MISSION/SPACECRAFT_ID}" />
<Entry name="ProcessorID" type="BASE_TYPES/uint32" shortDescription="Processor that generated the file" />
<Entry name="ApplicationID" type="BASE_TYPES/uint32" shortDescription="Application that generated the file" />
<Entry name="TimeSeconds" type="BASE_TYPES/uint32" shortDescription="File creation timestamp (seconds)" />
<Entry name="TimeSubSeconds" type="BASE_TYPES/uint32" shortDescription="File creation timestamp (sub-seconds)" />
<Entry name="Description" type="FileDescription" shortDescription="File description" />
</EntryList>
</ContainerDataType>

<ContainerDataType name="FileObject" baseType="Header" shortDescription="Encapsulates a CFE file header and data">
<ConstraintSet>
<ValueConstraint entry="ContentType" value="${CFE_FS/FILE_CONTENT_ID}" />
</ConstraintSet>
</ContainerDataType>

</DataTypeSet>
</Package>
</PackageFile>
Loading