Skip to content

Commit

Permalink
Merge pull request #1542 from NASA-AMMOS/feature/fprime-sequencing
Browse files Browse the repository at this point in the history
FPrime Dictionary Support
  • Loading branch information
goetzrrGit authored Oct 14, 2024
2 parents 2a7ba3b + 3b46aad commit 6f5a6aa
Show file tree
Hide file tree
Showing 30 changed files with 12,386 additions and 192 deletions.
1 change: 1 addition & 0 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ services:
SEQUENCING_DB_USER: "${SEQUENCING_USERNAME}"
SEQUENCING_DB_PASSWORD: "${SEQUENCING_PASSWORD}"
SEQUENCING_LOCAL_STORE: /usr/src/app/sequencing_file_store
#DICTIONARY_PARSER_PLUGIN: "/fprime-dictionary-parser/fprime-parser.js" #-- Uncomment to use a different commmand dictionary parser
SEQUENCING_WORKER_NUM: 8
SEQUENCING_MAX_WORKER_NUM : 8
SEQUENCING_MAX_WORKER_HEAP_MB: 1000
Expand Down
12 changes: 4 additions & 8 deletions deployment/hasura/metadata/actions.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Mutation {
}

type Mutation {
uploadDictionary(dictionary: String!, type: String!): DictionaryResponse
uploadDictionary(dictionary: String!): DictionaryResponse
}

type Mutation {
Expand Down Expand Up @@ -212,13 +212,9 @@ type TypescriptFile {
}

type DictionaryResponse {
id: Int!
dictionary_path: String!
mission: String!
version: String!
parsed_json: Dictionary!
created_at: String!
type : String!
command: Dictionary
parameter: Dictionary
channel: Dictionary
}

type ExpansionSetResponse {
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ services:
SEQUENCING_DB_USER: "${SEQUENCING_USERNAME}"
SEQUENCING_DB_PASSWORD: "${SEQUENCING_PASSWORD}"
SEQUENCING_LOCAL_STORE: /usr/src/app/sequencing_file_store
#DICTIONARY_PARSER_PLUGIN: "/fprime-dictionary-parser/fprime-parser.js" #-- Relative to sequencing-server/plugins, Uncomment to use a different command dictionary parser
SEQUENCING_WORKER_NUM: 8
SEQUENCING_MAX_WORKER_NUM : 8
SEQUENCING_MAX_WORKER_HEAP_MB: 1000
Expand Down
2 changes: 1 addition & 1 deletion sequencing-server/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
testRunner: 'jest-circus/runner',
// testRegex: "(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
testRegex: '((\\.|/)(test|spec))\\.(jsx?|tsx?)$',
testPathIgnorePatterns: ['/node_modules/', '/build/'],
testPathIgnorePatterns: ['/node_modules/', '/build/', '/plugins/'],
coverageReporters: ['html'],
setupFiles: ['dotenv/config', './src/polyfills.ts'],
globalSetup: './jestGlobalSetup.js',
Expand Down
Loading

0 comments on commit 6f5a6aa

Please sign in to comment.