THREESCALE-11947 Allow update methods and mapping rules at once in a Product or Backend CR #1127
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.
What
Fix THREESCALE-11947
Verification steps:
Details
spec: mappingRules: - httpMethod: GET increment: 1 last: true metricMethodRef: GET_two pattern: / - httpMethod: POST increment: 1 metricMethodRef: hits pattern: / methods: GET_two: description: Number of API hits friendlyName: GET_two metrics: hits: description: Number of API hits friendlyName: Hits unit: hit name: backend1 privateBaseURL: 'http://httpbin.httpbin.svc:8080' systemName: backend1method is used by the latest gateway configuration, it will be removed from 3scale only once the promotion without the mapping rule that uses the deleted method is donein BackendCR statusGET_twomethod