Repository navigation
EIP wave 1: align naming with the kit Mule rules (no behaviour change) - #7
Closed
brunosouzas wants to merge 6 commits into
Closed
brunosouzas wants to merge 6 commits into
brunosouzas wants to merge 6 commits into
Conversation
…-flows, v-variables, typed display names, flow descriptions)
…et instead of a tautological 200
…keeps its quoted names
…e correlation-identifier suite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
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.
Stacked on #6: merge after #6. The base is
main, so until #6 is merged this diff also shows #6's commits. The commits that belong to this PR are the last four.What changed: the wave-1 EIP code (idempotent receiver, correlation identifier,
eip-global.xml) and its MUnit suites now follow the same kit Mule naming rules as wave 2:doc:description(FLOW-4);sf-prefix (FLOW-6);vprefix;SET v…,INFO:/WARN: Log …,Refer to …,Raise <TYPE> Error - …,Try …,On Error Continue (…), and verb + object for everything else;… Object Store/… Config(FLOW-3).Nothing else changes. HTTP endpoint paths, flow names (the ones with listeners), status codes and behaviour are the same.
httpStatuskeeps its name, as the documented exception, because the shared error handler inglobal.xmlreads it. SOLID is not touched, because its published articles quote its current names.AGENTS.mdnow records this rule.Also in this PR: the correlation identifier suite had three tautological
vars.httpStatus default 200 == 200checks. They now assert that no error status was set, as review finding 6 on #6 required for the wave-2 suites.Renames that wiki pages may quote
payment-charge-ordersf-charge-orderpayment-record-duplicatesf-record-duplicate-chargepayment-ledger-summarysf-summarise-payment-ledgerpayment-validate-charge-requestsf-validate-charge-requestpayment-request-from-providersf-request-payment-from-providerchargeResultvChargeResultchargeIdvChargeIdledgerOrderIdvLedgerOrderIdversionvVersionresultsvResultspaymentRequestvPaymentRequestproviderRequestBodyvProviderRequestBodychargedOrdervChargedOrderproviderRequestvProviderRequestcallbackvCallbackunmatchedvUnmatchedpendingRequestvPendingRequestoutcomevOutcomeknown(os:contains target)vKnownCharge onceTry Charge OnceReject duplicates by orderIdReject Duplicates By orderIdDuplicate: 409On Error Continue (duplicate)Match and claim the pending requestTry Match And Claim Pending RequestClaim the pending requestClaim Pending RequestSend payment request to providerSend Payment Request To ProviderLog lost claim/Log unmatched callbackWARN: Log lost claim/WARN: Log unmatched callbackHTTP requester to this appSelf Call Http Request ConfigFlow names are unchanged:
payment-before-charge-endpoint,payment-after-charge-endpoint,payment-get-ledger,payment-charge-batch-client,payment-provider-simulator,payment-confirm-from-provider-callback,payment-get-status,mule-correlation-id-echo,mule-correlation-id-call-default,mule-correlation-id-call-never. The full display-name list is in the diff.Spec: none. This is a rename with no behaviour change.
Checks:
JAVA_HOME=17 mvn clean test→ BUILD SUCCESS, 95 tests, 0 failures, 0 errors, application coverage 99.62%.xmllintpasses on every changed file. A diff ofpath=/allowedMethods/statusCodeagainst #6 shows no endpoint change.Review: no independent review yet.
AB#102