Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Adapt request to settings service to new API endpoint params #520

Merged
merged 4 commits into from
Aug 19, 2020

Conversation

kulmann
Copy link
Member

@kulmann kulmann commented Jul 21, 2020

When this ocis-settings PR gets merged the api call for listing settings values will require a different param nesting (identifier doesn't exist anymore, account_uuid is on highest level now).
Since the settings are not in production anywhere just yet, we can already merge this, so that a PR in phoenix can be prepared.

Also, there was a nasty bug when the settings service is not available: error.response.status was not accessible and threw an error. Fixed this by checking first if a response exists at all.

@kulmann kulmann requested a review from LukasHirt July 21, 2020 06:04
@kulmann kulmann self-assigned this Jul 21, 2020
@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #520 into master will decrease coverage by 2.43%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #520      +/-   ##
==========================================
- Coverage   78.94%   76.51%   -2.44%     
==========================================
  Files          54       54              
  Lines        4113     4275     +162     
==========================================
+ Hits         3247     3271      +24     
- Misses        866     1004     +138     
Impacted Files Coverage Δ
src/settings.js 100.00% <ø> (ø)
vendor/settingsClient.js 15.29% <25.00%> (-0.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df7000e...e22826e. Read the comment docs.

@kulmann kulmann mentioned this pull request Jul 22, 2020
1 task
@kulmann kulmann force-pushed the settings-api-params branch from 1365533 to 217f938 Compare August 14, 2020 13:40
@PVince81 PVince81 merged commit 0c52dc4 into master Aug 19, 2020
xoxys pushed a commit that referenced this pull request Aug 19, 2020
Merge: df7000e e22826e
Author: Vincent Petry <[email protected]>
Date:   Wed Aug 19 11:46:31 2020 +0200

    Merge pull request #520 from owncloud/settings-api-params

    Adapt request to settings service to new API endpoint params
xoxys pushed a commit that referenced this pull request Aug 19, 2020
Merge: df7000e e22826e
Author: Vincent Petry <[email protected]>
Date:   Wed Aug 19 11:46:31 2020 +0200

    Merge pull request #520 from owncloud/settings-api-params

    Adapt request to settings service to new API endpoint params
@pascalwengerter pascalwengerter deleted the settings-api-params branch August 5, 2021 07:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants