Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

GRIF-130: Fix middleware CLI usage #274

Merged
merged 8 commits into from
Dec 13, 2023
Merged

GRIF-130: Fix middleware CLI usage #274

merged 8 commits into from
Dec 13, 2023

Conversation

JakubFrejlach
Copy link
Collaborator

This PR:

  • fixes the filtering of middleware CLI data
  • standardize data (even upstreams and sources related data) to JSON in output module

In __ini__.py zsh/bash autocompletion eval has problems with the
direct print statements and tries to evaluate the text which is printed
Leftover from OSIDB/CORGI API to SERVER change
This is for users who doesn't use single command but run middleware cli
through python. Python subprocess requires all parts of the command
to be separated
Check for mutually exclusive groups or one of groups should only run
when griffon itself is running. During tab completion these checks
should be disabled.
* consider all middleware data retrieved by middleware CLI active
* delegate maven build type filter to middleware CLI
sources and upstreams are transformed to raw JSON now so we avoid
problems when mixing middleware CLI data and component registry data
(eg. Component registry bindings models vs JSON)
Copy link
Collaborator

@JimFuller-RedHat JimFuller-RedHat left a comment

Choose a reason for hiding this comment

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

LGTM

@JakubFrejlach JakubFrejlach merged commit 69fbe3f into main Dec 13, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants