Skip to content

DM-54017: Use Felis for loading the APDB schemas#57

Open
isullivan wants to merge 4 commits intomainfrom
tickets/DM-54017
Open

DM-54017: Use Felis for loading the APDB schemas#57
isullivan wants to merge 4 commits intomainfrom
tickets/DM-54017

Conversation

@isullivan
Copy link
Copy Markdown
Contributor

No description provided.

@bsmartradio bsmartradio self-assigned this Feb 18, 2026
Copy link
Copy Markdown

@gpdf gpdf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In commit b04b4ce, "Update schema to v11.0 and swap to Felis", a new schema is combined on the same commit with a new schema. We would encourage decoupling these so that it's possible to validate the new avsc-generation using Felis first against an existing one, and then separately committing the result of the schema generation in a different PR.

I also have some comments on the units in the generated schema, which probably need to be fed back to changes in the upstream Felis, where I do see that the "d" units are missing on the attributes corresponding to the comments below.

]
},
{
"doc": "Time when this record was generated, expressed as Modified Julian Date, International Atomic Time.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add units "[d]"

"type": "double"
},
{
"doc": "Time when this record was marked invalid, expressed as Modified Julian Date, International Atomic Time.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add units "[d]"

"type": "long"
},
{
"doc": "Processing time when validity of this diaObject starts, expressed as Modified Julian Date, International Atomic Time.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add units "[d]"

Copy link
Copy Markdown

@gpdf gpdf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In commit b04b4ce, "Update schema to v11.0 and swap to Felis", a new schema is combined on the same commit with a new schema. We would encourage decoupling these so that it's possible to validate the new avsc-generation using Felis first against an existing one, and then separately committing the result of the actual schema generation in a different PR.

I also have some comments on the units in the generated schema, which probably need to be fed back to changes in the upstream Felis YAML rather than being fixed on this ticket. I'll submit a bug ticket to Jira for that.

@bsmartradio
Copy link
Copy Markdown
Contributor

bsmartradio commented Apr 2, 2026

In commit b04b4ce, "Update schema to v11.0 and swap to Felis", a new schema is combined on the same commit with a new schema. We would encourage decoupling these so that it's possible to validate the new avsc-generation using Felis first against an existing one, and then separately committing the result of the actual schema generation in a different PR.

I also have some comments on the units in the generated schema, which probably need to be fed back to changes in the upstream Felis YAML rather than being fixed on this ticket. I'll submit a bug ticket to Jira for that.

Unfortunately, we cannot separate the Felis change and the schema change. We use Felis in updatSchema.py, which builds from the current sdm_schemas. The schema change is needed because a change was made a while back to updating fields were non-nullable. It wasn't caught that the change would have also required a major schema update. This currently does not cause issues, but still is a needed change.

Additionally, the missing units will require a change to sdm_schemas, as we build everything from there. I can open a branch on sdm_schemas to make this change, assuming it needs to be present in all the documentation. I'd just like to confirm that that is what you are asking before making the changes there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants