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

Metapath Query Parser for the CLI #241

Open
5 tasks
aj-stein-nist opened this issue Oct 20, 2023 · 1 comment · May be fixed by #267
Open
5 tasks

Metapath Query Parser for the CLI #241

aj-stein-nist opened this issue Oct 20, 2023 · 1 comment · May be fixed by #267
Assignees
Labels
enhancement New feature or request

Comments

@aj-stein-nist
Copy link
Collaborator

aj-stein-nist commented Oct 20, 2023

User Story:

As a developer of Metaschema-based tools, in order to more effectively develop tools and test arbitrary data with models, I would like the ability to perform arbitrary Metapath queries (i.e. a Metapath sequence of metaschema-cli evaluate-query "1 + 1" which will yield a result of "2") or a Metaschema module and document instance against that module (i.e. metaschema-cli evaluate-query "/computer/vendor[@name='only-want-computer-with-this-name']/@id" --metaschema ./example-computer_metaschema.xml --document ./example-computer_instance.yaml to yield an instance of the assembly in example_computer_instance.yaml with only the vendor assembly's id where the name matches in the query) . This will allow developers to rapidly test and prototype and test arbitrary Metapath expressions, Metaschema modules, document instances of that module, or all the above.

Goals:

  • Minimize feedback loop for Metapath self-exploration and education on Metapath, and Metaschema in general.
  • Decrease speed in developing and testing Metapath expressions without a full set of supporting application code to iterate on queries before writing a full Metaschema processor.

Dependencies:

TBD

Acceptance Criteria

  • All website and readme documentation affected by the changes in this issue have been updated. Changes to the website can be made in the docs/content directory of your branch.
  • A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.

{The items above are general acceptance criteria for all User Stories. Please describe anything else that must be completed for this issue to be considered resolved.}

@aj-stein-nist aj-stein-nist added the enhancement New feature or request label Oct 20, 2023
@aj-stein-nist
Copy link
Collaborator Author

Woops, I used the wrong URL, migration to the appropriate metaschema-java project.

@david-waltermire david-waltermire transferred this issue from usnistgov/metaschema Oct 20, 2023
@aj-stein-nist aj-stein-nist linked a pull request Dec 1, 2023 that will close this issue
8 tasks
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Dec 6, 2023

Unverified

The committer email address is not verified.
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Dec 7, 2023

Unverified

The committer email address is not verified.
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Dec 7, 2023

Unverified

The committer email address is not verified.
david-waltermire pushed a commit to aj-stein-nist/metaschema-java that referenced this issue Dec 18, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
github-merge-queue bot pushed a commit that referenced this issue Dec 18, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* Reorganize test util functions for vectorized tests.

* Parameterize CLI tests as prework for #241.
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Jan 5, 2024

Unverified

The committer email address is not verified.
@aj-stein-nist aj-stein-nist linked a pull request Jan 12, 2024 that will close this issue
8 tasks
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Jan 23, 2024

Unverified

The committer email address is not verified.
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Jan 23, 2024

Unverified

The committer email address is not verified.
Co-Authored-By: David Waltermire <[email protected]>
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Jan 24, 2024

Unverified

The committer email address is not verified.
Co-Authored-By: David Waltermire <[email protected]>
@aj-stein-nist aj-stein-nist self-assigned this Jan 26, 2024
aj-stein-nist added a commit to aj-stein-nist/metaschema-java that referenced this issue Feb 22, 2024

Unverified

The committer email address is not verified.
Co-Authored-By: David Waltermire <[email protected]>
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 6, 2024
… improper handling of JSON keys. Added basic support for arbitrary Metapath command execution. Resolves usnistgov/metaschema-java#241. Builds on metaschema-framework#96.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys. Added basic support for arbitrary Metapath command execution. Resolves usnistgov/metaschema-java#241. Builds on metaschema-framework#96.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 7, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 8, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 9, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Sep 10, 2024
… improper handling of JSON keys.

Added basic support for arbitrary Metapath command execution, building on metaschema-framework#96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.
david-waltermire added a commit to metaschema-framework/metaschema-java that referenced this issue Sep 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* introduce metapath expression evaluator subcommand

* Fixed a schema generation bug causing an existing test to fail due to improper handling of JSON keys.
Added basic support for arbitrary Metapath command execution, building on #96. Metapath execution allows for evaluating expressions without a module or instance.
Resolves usnistgov/metaschema-java#241.

---------

Co-authored-by: wandmagic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant