Skip to content

1077 Remove user from a project#1079

Merged
1 commit merged intogooddata:masterfrom
cipous:1077_delete_user_from_project
Sep 14, 2021
Merged

1077 Remove user from a project#1079
1 commit merged intogooddata:masterfrom
cipous:1077_delete_user_from_project

Conversation

@cipous
Copy link
Copy Markdown

@cipous cipous commented Sep 9, 2021

No description provided.

@ghost
Copy link
Copy Markdown

ghost commented Sep 9, 2021

Build succeeded (check pipeline).

@cipous
Copy link
Copy Markdown
Author

cipous commented Sep 9, 2021

fixes #1077

@cipous
Copy link
Copy Markdown
Author

cipous commented Sep 9, 2021

I am not sure if AT will pass... :|

@cipous
Copy link
Copy Markdown
Author

cipous commented Sep 9, 2021

Please can you give me hint how to fix dependency issue? In log I can see
[WARNING] Used undeclared dependencies found:
[WARNING] junit:junit:jar:4.12:test

Thanks.

Comment thread gooddata-java/src/main/java/com/gooddata/sdk/service/project/ProjectService.java Outdated
@ghost
Copy link
Copy Markdown

ghost commented Sep 9, 2021

Build succeeded (check pipeline).

Copy link
Copy Markdown
Contributor

@peter-plochan peter-plochan left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution 👍
See comments below

Comment thread gooddata-java/src/main/java/com/gooddata/sdk/service/project/ProjectService.java Outdated
@ghost
Copy link
Copy Markdown

ghost commented Sep 10, 2021

Build succeeded (check pipeline).

@cipous cipous force-pushed the 1077_delete_user_from_project branch from ea716a3 to 3213625 Compare September 10, 2021 09:13
@ghost
Copy link
Copy Markdown

ghost commented Sep 10, 2021

Build succeeded (check pipeline).

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 10, 2021

Codecov Report

Merging #1079 (6ee8c97) into master (2aeea4a) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1079      +/-   ##
============================================
+ Coverage     83.12%   83.16%   +0.04%     
- Complexity     2597     2607      +10     
============================================
  Files           343      345       +2     
  Lines          6641     6675      +34     
  Branches        477      480       +3     
============================================
+ Hits           5520     5551      +31     
- Misses          925      927       +2     
- Partials        196      197       +1     
Impacted Files Coverage Δ
...m/gooddata/sdk/service/project/ProjectService.java 79.25% <100.00%> (+1.79%) ⬆️
...m/gooddata/sdk/service/account/AccountService.java 77.61% <0.00%> (-1.70%) ⬇️
...ain/java/com/gooddata/sdk/model/project/Users.java 100.00% <0.00%> (ø)
...om/gooddata/sdk/model/project/UsersSerializer.java 100.00% <0.00%> (ø)
...oddata/sdk/model/account/AccountsDeserializer.java 100.00% <0.00%> (ø)
.../java/com/gooddata/sdk/model/account/Accounts.java 100.00% <0.00%> (ø)
...n/java/com/gooddata/sdk/model/account/Account.java 79.62% <0.00%> (+0.78%) ⬆️
.../sdk/service/account/AccountNotFoundException.java 85.71% <0.00%> (+10.71%) ⬆️

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 2aeea4a...6ee8c97. Read the comment docs.

@liry liry linked an issue Sep 10, 2021 that may be closed by this pull request
Comment thread gooddata-java/src/main/java/com/gooddata/sdk/service/project/ProjectService.java Outdated
Comment thread gooddata-java/src/main/java/com/gooddata/sdk/service/project/ProjectService.java Outdated
Comment thread gooddata-java/src/main/java/com/gooddata/sdk/service/project/ProjectService.java Outdated
Comment thread gooddata-java/src/main/java/com/gooddata/sdk/service/project/ProjectService.java Outdated
@liry
Copy link
Copy Markdown
Contributor

liry commented Sep 10, 2021

Please can you give me hint how to fix dependency issue? In log I can see
[WARNING] Used undeclared dependencies found:
[WARNING] junit:junit:jar:4.12:test

Thanks.

I can see that you already found out the reason (using junit instead of testng in ATs). ;)

@ghost
Copy link
Copy Markdown

ghost commented Sep 10, 2021

Build succeeded (check pipeline).

@cipous
Copy link
Copy Markdown
Author

cipous commented Sep 10, 2021

@liry I have applied all your suggestions, now should I write more tests as you extended exception handling?

@ghost
Copy link
Copy Markdown

ghost commented Sep 10, 2021

Build succeeded (check pipeline).

@cipous
Copy link
Copy Markdown
Author

cipous commented Sep 10, 2021

I will have to implement also #1078, dont rush with release

@liry
Copy link
Copy Markdown
Contributor

liry commented Sep 10, 2021

@liry I have applied all your suggestions, now should I write more tests as you extended exception handling?

Yes, adding these to ITs would be great

@ghost
Copy link
Copy Markdown

ghost commented Sep 13, 2021

Build succeeded (check pipeline).

@liry
Copy link
Copy Markdown
Contributor

liry commented Sep 13, 2021

I am not sure if AT will pass... :|

I tried them and they passed ;)

@liry
Copy link
Copy Markdown
Contributor

liry commented Sep 13, 2021

And in the end please squash those commits and we can merge it ;)

@cipous cipous force-pushed the 1077_delete_user_from_project branch from 6ee8c97 to bd6abe6 Compare September 13, 2021 14:41
@ghost
Copy link
Copy Markdown

ghost commented Sep 13, 2021

Build succeeded (check pipeline).

@cipous
Copy link
Copy Markdown
Author

cipous commented Sep 13, 2021

squashed. Please see also https://github.com/gooddata/gooddata-java/pull/1080/files, we need to agree on api.

@liry liry added this to the next milestone Sep 14, 2021
@ghost ghost removed the merge label Sep 14, 2021
@ghost ghost merged commit 835790c into gooddata:master Sep 14, 2021
@ghost
Copy link
Copy Markdown

ghost commented Sep 14, 2021

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Delete a user from a project

5 participants