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

DM-43597: Remove outdated modules and their tests #62

Merged
merged 1 commit into from Apr 25, 2024

Conversation

JeremyMcCormick
Copy link
Collaborator

@JeremyMcCormick JeremyMcCormick commented Apr 24, 2024

Remove modules that have been fully deprecated, primarily by the switch to a Pydantic data model rather than using the raw YAML interface.

These modules included:

  • check: This module has been completely replaced by Pydantic validation.

  • simple: This is the old data model that was replaced by a Pydantic implementation.

  • visitor: This is an implementation of a typed visitor pattern, which is not needed anymore.

The corresponding test cases for these modules were removed as well.

The basic-check command was removed from the cli module and the corresponding test was removed from test_cli as well.

  • Verify that the Jenkins CI passes on this branch once dax_apdb changes are merged to use the Pydantic data model instead of simple

@JeremyMcCormick
Copy link
Collaborator Author

@andy-slac These changes have been verified on CI in this build.

Copy link
Contributor

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

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

Looks great!

Remove modules that have been fully deprecated, primarily by the switch
to a Pydantic data model rather than using the raw YAML interface.

These modules included:

- check: This module has been completely replaced by Pydantic
  validation.

- simple: This is the old data model that was replaced by a Pydantic
  implementation.

- visitor: This is an implementation of a typed visitor pattern, which
  is not needed anymore.

The corresponding test cases for these modules were removed as well.

The `basic-check` command was removed from the `cli` module and the
corresponding test was removed from `test_cli` as well.
@JeremyMcCormick JeremyMcCormick merged commit cae913e into main Apr 25, 2024
10 checks passed
@JeremyMcCormick JeremyMcCormick deleted the tickets/DM-43597 branch April 25, 2024 18:19
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.

None yet

2 participants