Skip to content
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

Move 'User Number Report' sender to Codenvy API Server #600

Closed
2 tasks done
dmytro-ndp opened this issue Aug 18, 2016 · 0 comments
Closed
2 tasks done

Move 'User Number Report' sender to Codenvy API Server #600

dmytro-ndp opened this issue Aug 18, 2016 · 0 comments

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Aug 18, 2016

Short Description of Problem

There is a method com.codenvy.im.managers.LdapManager#getNumberOfUsers in Installation Manager which is used by com.codenvy.im.service.ReportSender#sendNumberOfUsers to send report with number of users to the [email protected] ones a week on Sunday morning.

To avoid requesting to Codenvy User DB directly from Installation Manager, and taking in mind that Codenvy API service to get Codenvy on-prem user number can't be public, we ought to move com.codenvy.im.service.ReportSender from the Installation Manager Server to Codenvy API Server.

Implementation Steps

  • Move com.codenvy.im.service.ReportSender to Codenvy API Server.
  • Setup /home/codenvy/codenvy-data/report.properties: report.update_server_endpoint = $installation_manager_update_server_endpoint.
@dmytro-ndp dmytro-ndp self-assigned this Aug 25, 2016
dmytro-ndp pushed a commit that referenced this issue Aug 25, 2016
dmytro-ndp pushed a commit that referenced this issue Aug 30, 2016
dmytro-ndp pushed a commit that referenced this issue Aug 30, 2016
dmytro-ndp pushed a commit that referenced this issue Aug 30, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 3, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 3, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 4, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 4, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 5, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 6, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 6, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 6, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 9, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) Move Report Sender to WS master

Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) Extract 'codenvy-hosted-report' and 'codenvy-hosted-report-shared' modules

Signed-off-by: Dmytro Nochevnov <[email protected]>
@bmicklea bmicklea added this to the 5.0.0-M1 milestone Sep 9, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 9, 2016
Remove power mock. Fix docs and tests.

Improve logic

Change mehanizm add node validation

Delete powerMockito at all. Return 404 Not found when we try delete license from empty storage. Add new tests.

Fix up

Fix up

Remove power mock. Fix docs and tests.

Improve logic

Change mehanizm add node validation

(#600) Move Report Sender to WS master

Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) Move Report Sender to WS master

Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) Extract 'codenvy-hosted-report' and 'codenvy-hosted-report-shared' modules

Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 9, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 9, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 9, 2016
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) fixup

Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) fixup 2

Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) fixup

Signed-off-by: Dmytro Nochevnov <[email protected]>

(#600) fixup 2

Signed-off-by: Dmytro Nochevnov <[email protected]>
dmytro-ndp pushed a commit that referenced this issue Sep 12, 2016
(#600) Move Report Sender from Installation Manager server to WS master server
@dmytro-ndp dmytro-ndp reopened this Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants