4 * Copyright 2016 RIFT.IO Inc
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 var alt
= require('../core/alt');
20 function CreateFleet () {
21 this.exportAsync(require('./createSource.js'));
22 this.bindActions(require('./createActions.js'));
26 validateErrorEvent
= false;
27 validateErrorMsg
= "";
30 CreateFleet
.prototype.getNetworkServicesSuccess = function(data
) {
35 CreateFleet
.prototype.getSlaParamsSuccess = function(data
) {
40 CreateFleet
.prototype.getPoolsSuccess = function(data
) {
45 CreateFleet
.prototype.validateError = function(msg
) {
47 validateErrorEvent
: true,
51 CreateFleet
.prototype.validateReset = function() {
53 validateErrorEvent
: false
57 module
.exports
= alt
.createStore(CreateFleet
, 'CreateFleet');