Skip to content

Implement getConfigs for its use in password_policy app - #32768

Merged
paurakhsharma merged 1 commit into
masterfrom
afterScenario-password_policy-helper
Sep 20, 2018
Merged

paurakhsharma merged 1 commit into
masterfrom
afterScenario-password_policy-helper

Conversation

@paurakhsharma

@paurakhsharma paurakhsharma commented Sep 20, 2018 •

Copy link
Copy Markdown
Contributor

Description

Implement required functions to get app configs.

Related Issue

owncloud/password_policy#132

How Has This Been Tested?

Locally

Types of changes

  • Tests

@codecov

codecov Bot commented Sep 20, 2018

Copy link
Copy Markdown

Codecov Report

Merging #32768 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #32768   +/-   ##
=========================================
  Coverage     64.14%   64.14%           
  Complexity    18681    18681           
=========================================
  Files          1177     1177           
  Lines         70284    70284           
  Branches       1270     1270           
=========================================
  Hits          45085    45085           
  Misses        24829    24829           
  Partials        370      370
Flag Coverage Δ Complexity Δ
#javascript 52.89% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 65.42% <ø> (ø) 18681 <ø> (ø) ⬇️

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 84551d8...6db63db. Read the comment docs.

@phil-davis phil-davis left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this now, it will work. But it might be slow if used a lot when there are many app parameter values to get. It calls runOcc multiple times, and each call will have to talk to the testing app.

For the next refactoring, we can look at the testing app /apps/testing/api/v1/apps and make that have a GET that will respond with all the app parameter values in a single call. See testing app issue owncloud/testing#28

@paurakhsharma
paurakhsharma merged commit e65aaf3 into master Sep 20, 2018
@paurakhsharma
paurakhsharma deleted the afterScenario-password_policy-helper branch September 20, 2018 05:56
@paurakhsharma

Copy link
Copy Markdown
Contributor Author

Backport on #32771

@phil-davis

Copy link
Copy Markdown
Contributor

Congratulations @paurakhsharma you got PR #32768

@paurakhsharma

Copy link
Copy Markdown
Contributor Author

Thank you @phil-davis

@lock lock Bot locked as resolved and limited conversation to collaborators Sep 20, 2019
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.

2 participants