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

Changed system update API and added maintenance view with system update functionality into GUI #338

Merged
merged 10 commits into from
Jan 10, 2018

Conversation

dn0
Copy link
Member

@dn0 dn0 commented Jan 2, 2018

API changes

  • Refactored system_update and system_node_update API views to be asynchronous:
    • system_update creates a mgmt task, which runs the esdc-git-update command
    • system_node_update create an execute task (with implicit log callback), which runs the esdc-git-update command
  • Added esdc-service-control script responsible for restarting all Danube Cloud services
  • Added --force and --esdc-service-restart options into esdc-git-update
  • Added locking into esdc-git-update
  • Changed temp location for esdc-docs in ctl.sh gendoc command

GUI changes

A new GUI (URL) namespace was created - /system, which will provide views for the whole Danube Cloud management system available only to a SuperAdmin.

3 views have been added:

  • /system/maintenance -> used for system/node updates
  • /system/overview -> a dashboard-like view
  • /system/settings -> system settings view

@dn0 dn0 added this to the 3.0.0 milestone Jan 2, 2018
@dn0 dn0 self-assigned this Jan 2, 2018
@dn0 dn0 force-pushed the system_update_view branch 5 times, most recently from 5b00e7e to b0c14a1 Compare January 3, 2018 17:38
…te functionality into GUI

**API changes**

- Refactored system_update and system_node_update API views to be asynchronous:
    - system_update creates a mgmt task, which runs the esdc-git-update command
    - system_node_update create an execute task (with implicit log callback), which runs the esdc-git-update command
- Added esdc-service-control script responsible for restarting all Danube Cloud services
- Added ``--force`` and ``--esdc-service-restart``  options into esdc-git-update
- Added locking into esdc-git-update
- Changed temp location for esdc-docs in ctl.sh gendoc command

**GUI changes**

A new GUI (URL) namespace was created - /system, which will provide views for the whole Danube Cloud management system available only to a SuperAdmin.

3 views have been added:

- /system/maintenance -> used for system/node updates
- /system/overview -> a dashboard-like view
- /system/settings -> system settings view
@dn0 dn0 force-pushed the system_update_view branch from b0c14a1 to 411bae3 Compare January 4, 2018 13:07
@dn0 dn0 requested review from secult and YanChii January 4, 2018 20:52
@secult secult removed the request for review from YanChii January 4, 2018 20:53
Copy link
Contributor

@secult secult left a comment

Choose a reason for hiding this comment

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

The system update GUI works for me.

@secult secult requested a review from YanChii January 4, 2018 21:00
@dn0 dn0 merged commit 03e3bdf into v2.7 Jan 10, 2018
@dn0 dn0 deleted the system_update_view branch January 10, 2018 20:24
dn0 added a commit that referenced this pull request Jan 13, 2018
dn0 added a commit that referenced this pull request Jan 13, 2018
dn0 added a commit that referenced this pull request Jan 13, 2018
dn0 added a commit that referenced this pull request Jan 13, 2018
dn0 added a commit that referenced this pull request Jan 13, 2018
dn0 added a commit that referenced this pull request Jan 13, 2018
dn0 added a commit that referenced this pull request Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants