Merge "Dashboard ReOrg - Move cloud-services into app/core"
This commit is contained in:
@@ -31,7 +31,6 @@ LAUNCH_INST = 'dashboard/launch-instance/'
|
||||
|
||||
ADD_JS_FILES = [
|
||||
'dashboard/dashboard.module.js',
|
||||
'dashboard/cloud-services/cloud-services.js',
|
||||
LAUNCH_INST + 'launch-instance.module.js',
|
||||
LAUNCH_INST + 'launch-instance-workflow.service.js',
|
||||
LAUNCH_INST + 'launch-instance-modal.controller.js',
|
||||
@@ -57,7 +56,6 @@ ADD_JS_FILES = [
|
||||
|
||||
ADD_JS_SPEC_FILES = [
|
||||
'dashboard/dashboard.module.spec.js',
|
||||
'dashboard/cloud-services/cloud-services.spec.js',
|
||||
LAUNCH_INST + 'launch-instance.module.spec.js',
|
||||
LAUNCH_INST + 'launch-instance-workflow.service.spec.js',
|
||||
LAUNCH_INST + 'launch-instance-modal.controller.spec.js',
|
||||
|
@@ -20,12 +20,12 @@
|
||||
var fromJson = angular.fromJson;
|
||||
var isArray = angular.isArray;
|
||||
|
||||
angular.module('hz.dashboard')
|
||||
angular.module('horizon.app.core')
|
||||
|
||||
/**
|
||||
* @ngdoc factory
|
||||
* @name hz.dashboard:factory:cloudServices
|
||||
* @module hz.dashboard
|
||||
* @name horizon.app.core:factory:cloudServices
|
||||
* @module horizon.app.core
|
||||
* @kind hash table
|
||||
* @description
|
||||
*
|
||||
@@ -78,8 +78,8 @@
|
||||
|
||||
/**
|
||||
* @ngdoc factory
|
||||
* @name hz.dashboard:factory:ifFeaturesEnabled
|
||||
* @module hz.dashboard
|
||||
* @name horizon.app.core:factory:ifFeaturesEnabled
|
||||
* @module horizon.app.core
|
||||
* @kind function
|
||||
* @description
|
||||
*
|
||||
@@ -111,8 +111,8 @@
|
||||
|
||||
/**
|
||||
* @ngdoc factory
|
||||
* @name hz.dashboard:factory:createDirectiveSpec
|
||||
* @module hz.dashboard
|
||||
* @name horizon.app.core:factory:createDirectiveSpec
|
||||
* @module horizon.app.core
|
||||
* @kind function
|
||||
* @description
|
||||
*
|
||||
@@ -160,8 +160,8 @@
|
||||
|
||||
/**
|
||||
* @ngdoc directive
|
||||
* @name hz.dashboard:directive:novaExtension
|
||||
* @module hz.dashboard
|
||||
* @name horizon.app.core:directive:novaExtension
|
||||
* @module horizon.app.core
|
||||
* @description
|
||||
*
|
||||
* This is to enable specifying conditional UI in a declarative way.
|
||||
@@ -204,8 +204,8 @@
|
||||
|
||||
/**
|
||||
* @ngdoc directive
|
||||
* @name hz.dashboard:directive:settingsService
|
||||
* @module hz.dashboard
|
||||
* @name horizon.app.core:directive:settingsService
|
||||
* @module horizon.app.core
|
||||
* @description
|
||||
*
|
||||
* This is to enable specifying conditional UI in a declarative way.
|
@@ -17,14 +17,14 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
describe('hz.dashboard', function () {
|
||||
describe('horizon.app.core', function () {
|
||||
|
||||
// factory:cloudServices
|
||||
|
||||
describe('factory:cloudServices', function () {
|
||||
var cloudServices;
|
||||
|
||||
beforeEach(module('hz.dashboard', function ($provide) {
|
||||
beforeEach(module('horizon.app.core', function ($provide) {
|
||||
$provide.value('horizon.openstack-service-api.cinder', {});
|
||||
$provide.value('horizon.openstack-service-api.glance', {});
|
||||
$provide.value('horizon.openstack-service-api.keystone', {});
|
||||
@@ -80,7 +80,7 @@
|
||||
$q,
|
||||
cloudServices;
|
||||
|
||||
beforeEach(module('hz.dashboard', function ($provide) {
|
||||
beforeEach(module('horizon.app.core', function ($provide) {
|
||||
$q = {
|
||||
all: function () {
|
||||
return {
|
||||
@@ -155,7 +155,7 @@
|
||||
var createDirectiveSpec,
|
||||
ifFeaturesEnabled;
|
||||
|
||||
beforeEach(module('hz.dashboard', function ($provide) {
|
||||
beforeEach(module('horizon.app.core', function ($provide) {
|
||||
ifFeaturesEnabled = function () {
|
||||
return {
|
||||
then: function () {
|
||||
@@ -212,7 +212,7 @@
|
||||
].join('');
|
||||
var element;
|
||||
|
||||
beforeEach(module('hz.dashboard', function ($provide) {
|
||||
beforeEach(module('horizon.app.core', function ($provide) {
|
||||
$provide.value('ifFeaturesEnabled', function () {
|
||||
return {
|
||||
then: function (successCallback) {
|
||||
@@ -262,7 +262,7 @@
|
||||
].join('');
|
||||
var element;
|
||||
|
||||
beforeEach(module('hz.dashboard', function ($provide) {
|
||||
beforeEach(module('horizon.app.core', function ($provide) {
|
||||
$provide.value('ifFeaturesEnabled', function () {
|
||||
return {
|
||||
then: function (successCallback) {
|
Reference in New Issue
Block a user