Skip to content

ogma-core: Expand Copilot templates to allow for extra definitions #368

@ivanperez-keera

Description

@ivanperez-keera

Description

The current Copilot templates do not allow for additional definitions to be included in a Copilot file. For example, if a new stream function or combinator is needed in a property, the current template cannot be used. This limits the applicability of Ogma, and places a burden on the user to copy (and maintain) their own version of the Copilot template. The problem is further exacerbated when the Copilot spec is used in combination with cFS, ROS or FPrime.

To facilitate using Ogma, we should allow for the Copilot spec to be easily extended.

Type

  • Feature: Allow for the Copilot spec to be extended with new definitions.

Additional context

None.

Requester

  • Ivan Perez.

Method to check presence of bug

Not applicable (not a bug).

Expected result

The Copilot specs allow for the expansion of new imports and definitions using additional variables.

Desired result

The Copilot specs allow for the expansion of new imports and definitions using additional variables.

Proposed solution

Modify all Copilot specs in the templates to include the value of an optional extra variable.

Further notes

None.

Metadata

Metadata

Labels

CR:Status:ClosedAdmin only: Change request that has been completedCR:Type:FeatureAdmin only: Change request pertaining to new features requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions