-
Notifications
You must be signed in to change notification settings - Fork 22
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
PolicyAPI - Default policy collection is shown in GET /irs/policies #734
Comments
If no BPNL is used the default policy is overridden only in this case when no BPNL is given. |
Planning 2
|
If there is no custom default policy in the database the configured default needs to be returned. |
…cies if no custom default policy is defined
PR:
|
… policy via businessPartnerNumbers=default
…lection - add "Register a default policy" - add more parameters to "Find policies (paged)" and add some descriptions
…lection - add filter for default policies to "Get policies for BPN" - add some descriptions
…T-policies-request fix(policy-api):[#734] return configured default policies if no custo…
Successfully tested endpoints GET /irs/policies and endpoint GET /irs/policies/paged regarding:
Also successfully tested filtering:
|
|
Documentation and The concept of default policies is not new and has already been included in this documentation. Only the format of the configuration value has changed, and the documentation has been updated accordingly. errorRef UPDATE / DELETE HTTP 500 However I created a pull request to handle this situation (404 if normal policy does not exist, 400 if tried to delete / update a configured default policy which are readonly): |
… on read-only default policies
@dsmf Documentation in Arc42 is a AC criteria. Please document the api in the Building block view. Thx. |
… on read-only default policies: tests, readability - Add missing tests for trial to register, update or delete fallback policy - Enhance code readability by relocating checks from the catch block to the beginning of relevant methods.
… on read-only default policies: add handleTrialToModifyFallbackPolicy to registerPolicy method
…donly-default-policies feat(impl): [#734] Handling for modification attempts on read-only de…
As Trace-X
I want default policy to be shown in GET /irs/policies
so that default policy is always visible
Hints / Details
Acceptance Criteria
Testing
Out of Scope
The text was updated successfully, but these errors were encountered: