Skip to content

Conversation

tratsko
Copy link
Collaborator

@tratsko tratsko commented Jul 24, 2025

  • Tickets addressed: AERIE-1083 AERIE-1474
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

This adds description as an annotation to add on an activity definition in the mission model. @description on each activity. This is an optional annotation that takes in a string as the description under an activity.

This annotation can also be added onto parameters in activities to define a description for said parameter.

The mission model compiles with this annotation stored in the activity type and or parameters depending on which the annotation was placed onto.

Also there is a description the user can now add to resources when registering them. This is passed in as another parameter in the function that registers the resources.

Once the compiled model is uploaded to the Merlin server it gets the description and adds it to the activity type and or parameters in the database when each activity is created. Also when the resources are loaded into the database, the description is added to the description column on the resource type if it was defined in the mission model.

Verification

It compiles and picks up tags when the mission model is uploaded with annotations to the database. This verification was done in the e2e test in MissionModelTests for the activty types, parameters and resources.

Documentation

https://nasa-ammos.github.io/aerie-docs/mission-modeling/activity-types/introduction/#activity-type-metadata
This documentation on putting tags in the javadoc on mission models is invalidated by these changes. This documentation on the activity annotations is inaccurate so it will need to get changed.

Future work

Potentially add more annotations on activity types.

@tratsko tratsko requested a review from a team as a code owner July 24, 2025 22:54
@tratsko tratsko requested review from joshhaug and cohansen July 24, 2025 22:54
@tratsko tratsko changed the title Feature/model description annotations Add description on activity types and description annotations in mission models Jul 24, 2025
@tratsko tratsko force-pushed the feature/model-description-annotations branch from 4d2d758 to 023e8d7 Compare July 29, 2025 16:52
@duranb duranb added the publish Tells GH to publish docker images for this PR label Aug 5, 2025
@tratsko tratsko force-pushed the feature/model-description-annotations branch from 6adae16 to 6c52a1e Compare August 12, 2025 19:00
@dandelany
Copy link
Collaborator

Per discussion with @shaheerk94 and @tratsko today, we decided to:

  • Extend this PR before review to add @description support to resources and activity parameters, in order to cover the use cases in Provide description metadata for resources and activity parameters #1474
  • Prioritize backend/GraphQL API support for these descriptions. We will add them to the UI also, but if there are any design questions etc., this PR may be merged earlier, independently from UI.

Copy link

sonarqubecloud bot commented Sep 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
publish Tells GH to publish docker images for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants