Repository navigation
Declare the REST / SOAP clients and the cache adapter with their code - #86
Merged
Merged
Conversation
…verage/cache-process-bundle#53 - Declare the clients and adapters with their code Add the code attribute to the cleverage.rest.client, cleverage.soap.client and cleverage.cache.adapter tags: the clients and adapters are loaded lazily from the registries' service locators, without the addClient() / addAdapter() deprecations (98 notices on the rest, soap, wiremock and cache demos, 0 now). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up of cleverage/rest-process-bundle#58, cleverage/soap-process-bundle#52 and cleverage/cache-process-bundle#53 (PR rest#59, soap#53, cache#54, merged): the clients and adapters tagged without
codeare registered with the deprecatedaddClient()/addAdapter().config/services.yaml:codeattribute on the 9 tags (4 REST clients, 4 SOAP clients, thememorycache adapter), the same code as the$codeargument (getCode()).Checked on the 27
demo.rest.*,demo.soap.*,demo.wiremock.*anddemo.cache.*processes, with the bridgesmain: same exit codes as without the attribute, deprecations in the log 98 → 0;lint:containerOK.Breaking changes
None: the
codeattribute is ignored by the previous versions of the bridges.🤖 Generated with Claude Code