cloudstack/ui/scripts
Rajani Karuturi c9e7ccf46e Merge pull request #1615 from nvazquez/nfsConfigKey
CLOUDSTACK-9438: Fix for CLOUDSTACK-9252 - Make NFS version changeable in UIJIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-9438

### Introduction

From #1361 it was possible to configure NFS version for secondary storage mount.
However, changing NFS version requires inserting an new detail on `image_store_details` table, with `name = 'nfs.version'` and `value = X` where X is desired NFS version, and then restarting management server for changes to take effect.

Our improvement aims to make NFS version changeable from UI, instead of previously described workflow.

### Proposed solution
Basically, NFS version is defined as an image store ConfigKey, this implied:
* Adding a new Config scope: **ImageStore**
* Make `ImageStoreDetailsDao` class to extend `ResourceDetailsDaoBase` and `ImageStoreDetailVO` implement `ResourceDetail`
* Insert `'display'` column on `image_store_details` table
* Extending `ListCfgsCmd` and `UpdateCfgCmd` to support **ImageStore** scope, which implied:
** Injecting `ImageStoreDetailsDao` and `ImageStoreDao` on `ConfigurationManagerImpl` class, on `cloud-server` module.

### Important
It is important to mention that `ImageStoreDaoImpl` and `ImageStoreDetailsDaoImpl` classes were moved from `cloud-engine-storage` to `cloud-engine-schema` module in order to Spring find those beans to inject on `ConfigurationManagerImpl` in `cloud-server` module.

We had this maven dependencies between modules:
* `cloud-server --> cloud-engine-schema`
* `cloud-engine-storage --> cloud-secondary-storage --> cloud-server`

As `ImageStoreDaoImpl` and `ImageStoreDetailsDao` were defined in `cloud-engine-storage`, and they needed in `cloud-server` module, to be injected on `ConfigurationManagerImpl`, if we added dependency from `cloud-server` to `cloud-engine-storage` we would introduce a dependency cycle. To avoid this cycle, we moved those classes to `cloud-engine-schema` module

* pr/1615:
  CLOUDSTACK-9438: Fix for CLOUDSTACK-9252 - Make NFS version changeable in UI

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
2016-10-27 11:48:23 +05:30
..
ui Merge pull request #1270 from anshul1886/CLOUDSTACK-9194 2016-04-28 16:00:47 -04:00
ui-custom CLOUDSTACK-9267: String is not localized on create instance wizards. 2016-02-03 00:28:28 +05:30
accounts.js CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
accountsWizard.js CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
affinity.js Removed leading tabs from ui/scripts/*.js 2015-08-07 11:58:13 +02:00
autoscaler.js CLOUDSTACK-9229: Autoscale policy creation failing in VPC due to zoneid missing in createAutoScaleVmProfile 2016-01-13 15:47:06 +05:30
cloud.core.callbacks.js Removed leading tabs from ui/scripts/*.js 2015-08-07 11:58:13 +02:00
cloudStack.js CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
configuration.js Added support for system VMs to make use of managed storage 2016-10-21 16:28:34 -06:00
dashboard.js CLOUDSTACK-9335: fix typo in dashboard's fetchlatest usage 2016-04-07 23:14:21 +05:30
docs.js Merge pull request #1319 from nitin-maharana/CloudStack-Nitin15_4.7 2016-01-19 17:44:56 +01:00
domains.js CLOUDSTACK-9220 Sort list of domains on Domain tab in UI 2016-01-09 21:02:38 +01:00
events.js Removed trailing whitespace from ui/scripts/*.js 2015-08-07 11:25:15 +02:00
globalSettings.js Removed leading tabs from ui/scripts/*.js 2015-08-07 11:58:13 +02:00
installWizard.js api: avoid sending sensitive data in api response 2015-03-11 16:34:56 +05:30
instanceWizard.js Merge release branch 4.6 to 4.7 2016-01-28 13:31:26 +01:00
instances.js trailing commas in javascripts removed 2015-12-27 12:34:58 +01:00
lbStickyPolicy.js CLOUDSTACK-8744 Add missing localization (l10n) for several parts in the UI 2015-08-18 11:16:14 +01:00
metrics.js CLOUDSTACK-9377: Fix metrics pagesize issue 2016-05-16 18:19:10 +05:30
network.js Merge pull request #1422 from remibergsma/ui-vpc-routers-improvement_47 2016-04-11 08:44:21 -04:00
plugins.js Plugin API: Support multiple JS includes per plugin 2014-01-27 12:39:36 -08:00
projects.js Add to project detail page: cpu,memory,template,storage and VMs count 2016-08-08 20:04:55 -04:00
regions.js CLOUDSTACK-9272: No option in UI to add GSLB with service type "HTTP" 2016-02-03 09:52:13 +05:30
roles.js CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
sharedFunctions.js CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
storage.js ui: show resize volume button to all users 2016-06-23 12:27:51 +05:30
system.js CLOUDSTACK-9438: Fix for CLOUDSTACK-9252 - Make NFS version changeable in UI 2016-09-28 08:51:37 -07:00
templates.js Merge pull request #1477 from remibergsma/47_default_zone_name_s3 2016-05-11 01:30:44 -04:00
vm_snapshots.js UI code cleanup: Fix trailing commas in JS 2013-09-24 11:16:13 -07:00
vpc.js Merge pull request #1301 from nitin-maharana/CloudStack-Nitin3_4.7 2016-01-16 19:40:07 +01:00
zoneWizard.js CLOUDSTACK-9044: Add RBD Primary Storage to the Zone Wizard. 2015-11-08 18:22:39 +01:00