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

🌱 Update config definitions, base configs and initialize call #197

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Jan 15, 2025

Based on changes to the kai runtime configurations in konveyor/kai#526, update the CLI arguments and initialize request object to match.

Summary of changes:

  • Reorder the config field definitions

  • Use enum values in config definitions where available

  • Config keys related to analyzer configuration still remain but cannot be passed along to the analyzer, see kai issue 550

  • Aligned CLI arguments and initialize request payload types to the updated Kai configuration keys

  • Dropped config.toml handling since that file is no longer in use

Prerequisite for: #184

@sjd78 sjd78 requested a review from a team as a code owner January 15, 2025 14:24
vscode/package.json Outdated Show resolved Hide resolved
djzager
djzager previously approved these changes Jan 15, 2025
Copy link
Member

@djzager djzager left a comment

Choose a reason for hiding this comment

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

My understanding is that this brings us inline with konveyor/kai#526 . Stealing what Jonah did in #190 😁 . If that is true, this LGTM with the understanding the larger ✨ will come when we move the kai config to it's own file.

vscode/src/utilities/configuration.ts Outdated Show resolved Hide resolved
vscode/src/client/analyzerClient.ts Outdated Show resolved Hide resolved
@sjd78
Copy link
Member Author

sjd78 commented Jan 15, 2025

My understanding is that this brings us inline with konveyor/kai#526 . Stealing what Jonah did in #190 😁 . If that is true, this LGTM with the understanding the larger ✨ will come when we move the kai config to it's own file.

Yep, stole refactored what Jonah did in #190 with a bit of extra cleanup and reorg.

Based on changes to the kai runtime configurations
in konveyor/kai#526, update
the CLI arguments and initialize request object to
match.

Summary of changes:
  - Reorder the config field definitions

  - Use enum values in config definitions where available

  - Config keys with order 99 probably can be removed
    as they don't appear to be used

  - Aligned CLI arguments and initialize request payload
    types to the updated Kai configuration keys

  - Dropped config.toml handling since that file is no
    longer in use

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
sjd78 added 2 commits January 15, 2025 13:13
Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
@sjd78 sjd78 requested review from dymurray and djzager January 15, 2025 18:23
Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
djzager
djzager previously approved these changes Jan 15, 2025
Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
@sjd78 sjd78 merged commit adefc8c into konveyor:main Jan 15, 2025
9 checks passed
@sjd78 sjd78 deleted the base-config-updates branch January 15, 2025 20:45
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