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

feat(trait): operate via default catalog #5798

Merged
merged 4 commits into from
Aug 28, 2024
Merged

Conversation

squakez
Copy link
Contributor

@squakez squakez commented Aug 26, 2024

This PR should remove any problem when running any trait in "sourceless" mode. From now on we will adopt the default Camel catalog coming from the platform.

Release Note

feat(trait): operate sourceless via default catalog 

We should allow the consume of sources and meta from trait package only via consumer funcs. In this way we can control the logic for instance, allowing to consume only when sources or catalog are available.
With this refactoring, we allow any trait to be executed with at least a default CamelCatalog.
This is useful when we run sourceless where, from now on, we can pick the catalog used to operate, regardless if it's a managed Integration or not.
The default is to have a CamelCatalog, so, there is no need to skip traits any longer
@squakez
Copy link
Contributor Author

squakez commented Aug 26, 2024

FYI @hernanDatgDev - although the development should be fully compatible with what we have now, I think it would be nice for you to have a look and confirm if this change would break anything by any chance.

Copy link
Contributor

✔️ Unit test coverage report - coverage increased from 43.1% to 43.4% (+0.3%)

@hernanDatgDev
Copy link
Contributor

@squakez Sure thing. I don't mind testing at all

@squakez
Copy link
Contributor Author

squakez commented Aug 27, 2024

@squakez Sure thing. I don't mind testing at all

If it's easier to test the nightly artifact, I can merge and then you can start your tests from the nightly. Just let me know.

@squakez squakez merged commit 89cfeac into apache:main Aug 28, 2024
10 checks passed
@squakez squakez deleted the feat/5417 branch August 28, 2024 08:57
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