engine: Deleting all snapshot disks during a vdsm restart leaves disks locked

Restarting vdsm when deleting snapshot volumes
leaves some volumes in locked status.

Change-Id: I58b354541821845f506f9848782763f3c2526f9c
Bug-Url: https://bugzilla.redhat.com/1157222
Signed-off-by: Ravi Nori <rnori@redhat.com>
(cherry picked from commit 262786486733a4c8042b1f09a8b2bd545fe19e96)
core: Prevent operations on the hosted engine disk

Prevent the hosted engine disk from being removed, attached to a VM or
updated

Change-Id: I75c1deee655278a8f575814aea22965be2bfee55
Bug-Url: https://bugzilla.redhat.com/1167668
Signed-off-by: Tal Nisan <tnisan@redhat.com>
webadmin: new host->password

- For German, Chinese and Korean locales the password
  field contained a character when adding a new host.
  This is due to the translation of 'empty' constant for
  some reason contained a space instead of being empty.
  In a subsequent patch we will look into replacing the
  translation constant with an actual blank. For now we
  just fix the translation file.

Change-Id: I74825b031d24e901e46f90bfbff6423c56442802
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1168125
Signed-off-by: Alexander Wels <awels@redhat.com>
uutils: introduce CertificateChain

Chain related utilities.

Change-Id: I20fd6ea1436f22eae40c572f8fbed5d13391ffbc
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
uutils: Extract connectionBuilder class

Change-Id: I85ea4e7301b3a018b0438fff25cefad80ebd7256
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>
core: remove commons httpclient from provider proxy

As commons-http client is no longer maintained, there are
two options -
a. move to httpcomponents which is maintained,
b. have our own implementation for httpclient.
As our requirements from http clients are quite minimal,
I have selected option b.
This patch addresses the foreman provider proxy as it uses SSL based
communication.
VdsBroker will eventually contain only the JSON RPC communication

Change-Id: I727d34c33f357b93560d4b5a1784b3733b7fa293
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>
core: Store only a single certificate

Change-Id: Ic9bd8cd7f913cf23eca839452b6e113f749966f7
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>
engine: Import single certificate

GetProviderCertificate is run instead of GetCertificateChain, and retrieves
the top certicate from the chain.

The user approves the certificate, and then it is imported using the new
ImportProviderCertificate command which gets an encoded payload of the certificate
as parmater.

Change-Id: Ic9adb21ded6e6d9fb09fc68331872c1cd88f88a9
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>
core: remove ConnectionWrapper

Change-Id: I41e385f266837c7b45b0d5d1c02402e8ee9eb155
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>
core: Add ImportCertificateCommand

Change-Id: If4308ecb184234fee3931cf4c7cfbd1796efa9d2
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>
engine: Limitaion addition to disk extending.

A limitation for extending a disk while it is connected to a paused vm
added to VdcActionUtils which effects both backend and frontend. a disk
cannot be resized while one of the VMs it is connected to is paused.

Change-Id: I2f2c50f2f047bb0c50a7869f4903ad7d0be5290d
Bug-Url: https://bugzilla.redhat.com/1161966
Signed-off-by: Amit Aviram <aaviram@redhat.com>
EayunBranding: change login page html layout

Change is mostly from here:
https://github.com/eayun/EayunOS-homepage

1. using uibinder to rewrite the html page
2. mark all the css styles with @external so that they can all be
   referenced by branding theme

Signed-off-by: walteryang47 <walteryang47@gmail.com>
EayunBranding: Add event listener and callback loggic

Because some widget in login page has changed from UICommon Model
aware editor to pure widgets, wihch means value changes in widgets
won't cause changes in UICommon Model.

I'm currently having trouble implementing UICommon Model aware
editors, so this change is a workaround to let the Model to
interact with the newly added widgets.

Signed-off-by: walteryang47 <walteryang47@gmail.com>
EayunBranding: change welcome page html layout

Change is mostly from here:
https://github.com/eayun/EayunOS-homepage

main part of the body element content is moved to the branding
template

Signed-off-by: walteryang47 <walteryang47@gmail.com>
Update profile to login model upon login action

This patch fixes #1

Signed-off-by: walteryang47 <walteryang47@gmail.com>
Add host usb apis

Added the following api:

* GET api/hosts/[hostId]/hostusbs
* GET api/vms/[vmId]/hostusbs
* POST api/vms/[vmId]/hostusbs [HostUSB]
* DELETE api/vms/[vmId]/[devname]

Signed-off-by: walteryang47 <walteryang47@gmail.com>
Remove dashboard tab

Because this is a bug in jasper server 5.5 which cannot display
reports independently

Signed-off-by: walteryang47 <walteryang47@gmail.com>
Give more Xmx memory for webadmin gwt compilation

Signed-off-by: walteryang47 <walteryang47@gmail.com>