You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2016/09/09 03:26:44 UTC
[16/52] ignite git commit: Web Console beta-3.
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/deployment.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/deployment.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/deployment.jade
deleted file mode 100644
index 98e7f61..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/deployment.jade
+++ /dev/null
@@ -1,119 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../app/helpers/jade/mixins.jade
-
--var form = 'deployment'
--var model = 'backupItem'
--var exclude = model + '.peerClassLoadingLocalClassPathExclude'
--var enabled = 'backupItem.peerClassLoadingEnabled'
-
-form.panel.panel-default(name='deployment' novalidate)
- .panel-heading(bs-collapse-toggle ng-click='ui.loadPanel("#{form}")')
- ignite-form-panel-chevron
- label Class deployment
- ignite-form-field-tooltip.tipLabel
- | Task and resources deployment in cluster
- ignite-form-revert
- .panel-collapse(role='tabpanel' bs-collapse-target id='deployment')
- .panel-body(ng-if='ui.isPanelLoaded("#{form}")')
- .col-sm-6
- .settings-row
- +dropdown('Deployment mode:', model + '.deploymentMode', 'deploymentMode', 'true', 'SHARED',
- '[\
- {value: "PRIVATE", label: "PRIVATE"},\
- {value: "ISOLATED", label: "ISOLATED"}, \
- {value: "SHARED", label: "SHARED"},\
- {value: "CONTINUOUS", label: "CONTINUOUS"}\
- ]',
- 'Task classes and resources sharing mode<br/>\
- The following deployment modes are supported:\
- <ul>\
- <li>PRIVATE - in this mode deployed classes do not share resources</li>\
- <li>ISOLATED - in this mode tasks or classes deployed within the same class loader will share the same instances of resources</li>\
- <li>SHARED - same as ISOLATED, but now tasks from different master nodes with the same user version and same class loader will share the same class loader on remote nodes</li>\
- <li>CONTINUOUS - same as SHARED deployment mode, but resources will not be undeployed even after all master nodes left grid</li>\
- </ul>')
- .settings-row
- +checkbox('Enable peer class loading', model + '.peerClassLoadingEnabled', 'peerClassLoadingEnabled', 'Enables/disables peer class loading')
- .settings-row
- +number('Missed resources cache size:', model + '.peerClassLoadingMissedResourcesCacheSize', 'peerClassLoadingMissedResourcesCacheSize', enabled, '100', '0',
- 'If size greater than 0, missed resources will be cached and next resource request ignored<br/>\
- If size is 0, then request for the resource will be sent to the remote node every time this resource is requested')
- .settings-row
- +number('Pool size:', model + '.peerClassLoadingThreadPoolSize', 'peerClassLoadingThreadPoolSize', enabled, '2', '1', 'Thread pool size to use for peer class loading')
- .settings-row
- ignite-form-group(ng-model=exclude ng-form=form)
- ignite-form-field-label
- | Local class path exclude
- ignite-form-group-tooltip
- | List of packages from the system classpath that need to be peer-to-peer loaded from task originating node<br/>
- | '*' is supported at the end of the package name which means that all sub-packages and their classes are included like in Java package import clause
- ignite-form-group-add(ng-show='#{enabled}' ng-click='(group.add = [{}])')
- | Add package name.
-
- -var uniqueTip = 'Such package already exists'
- -var tipJavaPackageName = 'Package name is invalid'
- -var tipJavaKeyWord = 'Package name could not contains reserved java keyword'
-
- .group-content(ng-if=exclude + '.length')
- -var field = 'edit'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var javaPackageName = 'form[ngModelName].$error.javaPackageName'
- -var javaKeywords = 'form[ngModelName].$error.javaKeywords'
- -var save = exclude + '[$index] = ' + field
-
- div(ng-show=enabled)
- ignite-form-field(ng-repeat='model in #{exclude} track by $index' type='internal' name='Package name')
- .indexField
- | {{ $index+1 }})
- +table-remove-button(exclude, 'Remove package name')
- span(ng-hide='field.edit')
- a.labelFormField(ng-click='#{enabled} && (field.edit = true)') {{ model }}
- span(ng-if='field.edit' ng-init='#{field} = model')
- +table-java-package-field(field, exclude, valid, save, false)
- +table-save-button(valid, save, false)
- +unique-feedback(unique, uniqueTip)
- +error-feedback(javaPackageName, 'javaPackageName', tipJavaPackageName)
- +error-feedback(javaKeywords, 'javaKeywords', tipJavaKeyWord)
- div(ng-hide=enabled)
- ignite-form-field(ng-repeat='model in #{exclude} track by $index' type='internal' name='Package name')
- .labelFormField.labelField
- | {{ $index+1 }})
- span.labelFormField
- | {{ model }}
-
- .group-content(ng-repeat='field in group.add')
- -var field = 'new'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var javaPackageName = 'form[ngModelName].$error.javaPackageName'
- -var javaKeywords = 'form[ngModelName].$error.javaKeywords'
- -var save = exclude + '.push(' + field + ')'
-
- ignite-form-field(type='internal' name='Package name')
- +table-java-package-field(field, exclude, valid, save, true)
- +table-save-button(valid, save, true)
- +unique-feedback(unique, uniqueTip)
- +error-feedback(javaPackageName, 'javaPackageName', tipJavaPackageName)
- +error-feedback(javaKeywords, 'javaKeywords', tipJavaKeyWord)
-
-
- .group-content-empty(ng-if='!(#{exclude}.length) && !group.add.length')
- | Not defined
- .col-sm-6
- +preview-xml-java(model, 'clusterDeployment')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.directive.js
deleted file mode 100644
index 80286ac..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './discovery.jade';
-
-export default ['igniteConfigurationClustersDiscovery', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.jade
deleted file mode 100644
index 15b7065..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/discovery.jade
+++ /dev/null
@@ -1,83 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../app/helpers/jade/mixins.jade
-
--var form = 'discovery'
--var model = 'backupItem.discovery'
-
-form.panel.panel-default(name=form novalidate)
- .panel-heading(bs-collapse-toggle ng-click='ui.loadPanel("#{form}")')
- ignite-form-panel-chevron
- label Discovery
- ignite-form-field-tooltip.tipLabel
- | Discovery properties configuration
- ignite-form-revert
- .panel-collapse(role='tabpanel' bs-collapse-target id=form)
- .panel-body(ng-if='ui.isPanelLoaded("#{form}")')
- .col-sm-6
- .settings-row
- +text-ip-address('Local address:', model + '.localAddress', 'discoLocalAddress', 'true', '228.1.2.4', 'Local address')
- .settings-row
- +number-min-max('Local port:', model + '.localPort', 'discoLocalPort', 'true', '47500', '1024', '65535', 'Local port which node uses')
- .settings-row
- +number('Local port range:', model + '.localPortRange', 'discoLocalPortRange', 'true', '100', '1', 'Local port range')
- .settings-row
- +java-class('Address resolver:', model + '.addressResolver', 'discoAddressResolver', 'true', 'false',
- 'Class name of resolution between external and internal addresses provider')
- .settings-row
- +number('Socket timeout:', model + '.socketTimeout', 'socketTimeout', 'true', '5000', '0', 'Socket operations timeout')
- .settings-row
- +number('Acknowledgement timeout:', model + '.ackTimeout', 'ackTimeout', 'true', '5000', '0', 'Message acknowledgement timeout')
- .settings-row
- +number('Max acknowledgement timeout:', model + '.maxAckTimeout', 'maxAckTimeout', 'true', '600000', '0', 'Maximum message acknowledgement timeout')
- .settings-row
- +number('Network timeout:', model + '.networkTimeout', 'discoNetworkTimeout', 'true', '5000', '1', 'Network timeout')
- .settings-row
- +number('Join timeout:', model + '.joinTimeout', 'joinTimeout', 'true', '0', '0',
- 'Join timeout<br/>' +
- '0 means wait forever')
- .settings-row
- +number('Thread priority:', model + '.threadPriority', 'threadPriority', 'true', '10', '1', 'Thread priority for all threads started by SPI')
- .settings-row
- +number('Heartbeat frequency:', model + '.heartbeatFrequency', 'heartbeatFrequency', 'true', '2000', '1', 'Heartbeat messages issuing frequency')
- .settings-row
- +number('Max heartbeats miss w/o init:', model + '.maxMissedHeartbeats', 'maxMissedHeartbeats', 'true', '1', '1',
- 'Max heartbeats count node can miss without initiating status check')
- .settings-row
- +number('Max heartbeats miss w/o failing client node:', model + '.maxMissedClientHeartbeats', 'maxMissedClientHeartbeats', 'true', '5', '1')
- .settings-row
- +number('Topology history:', model + '.topHistorySize', 'topHistorySize', 'true', '1000', '0', 'Size of topology snapshots history')
- .settings-row
- +java-class('Discovery listener:', model + '.listener', 'discoListener', 'true', 'false', 'Grid discovery listener')
- .settings-row
- +java-class('Data exchange:', model + '.dataExchange', 'dataExchange', 'true', 'false', 'Class name of handler for initial data exchange between Ignite nodes')
- .settings-row
- +java-class('Metrics provider:', model + '.metricsProvider', 'metricsProvider', 'true', 'false', 'Class name of metric provider to discovery SPI')
- .settings-row
- +number('Reconnect count:', model + '.reconnectCount', 'discoReconnectCount', 'true', '10', '1', 'Reconnect attempts count')
- .settings-row
- +number('Statistics frequency:', model + '.statisticsPrintFrequency', 'statisticsPrintFrequency', 'true', '0', '1', 'Statistics print frequency')
- .settings-row
- +number('IP finder clean frequency:', model + '.ipFinderCleanFrequency', 'ipFinderCleanFrequency', 'true', '60000', '1', 'IP finder clean frequency')
- .settings-row
- +java-class('Node authenticator:', model + '.authenticator', 'authenticator', 'true', 'false', 'Node authenticator')
- .settings-row
- +checkbox('Force server mode', model + '.forceServerMode', 'forceServerMode', 'Force server mode')
- .settings-row
- +checkbox('Client reconnect disabled', model + '.clientReconnectDisabled', 'clientReconnectDisabled', 'Client reconnect disabled')
- .col-sm-6
- +preview-xml-java(model, 'clusterDiscovery')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.directive.js
deleted file mode 100644
index ee25ae2..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './events.jade';
-
-export default ['igniteConfigurationClustersEvents', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.jade
deleted file mode 100644
index 42582ac..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/events.jade
+++ /dev/null
@@ -1,37 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../app/helpers/jade/mixins.jade
-
--var form = 'events'
--var model = 'backupItem'
-
-form.panel.panel-default(name=form novalidate)
- .panel-heading(bs-collapse-toggle ng-click='ui.loadPanel("#{form}")')
- ignite-form-panel-chevron
- label Events
- ignite-form-field-tooltip.tipLabel
- | Grid events are used for notification about what happens within the grid
- ignite-form-revert
- .panel-collapse(role='tabpanel' bs-collapse-target id=form)
- .panel-body(ng-if='ui.isPanelLoaded("#{form}")')
- .col-sm-6
- .settings-row
- +dropdown-multiple('Include type:', model + '.includeEventTypes', 'includeEventTypes', 'true', 'Choose recorded event types', '', 'eventGroups',
- 'Array of event types, which will be recorded by GridEventStorageManager#record(Event)<br/>\
- Note, that either the include event types or the exclude event types can be established')
- .col-sm-6
- +preview-xml-java(model, 'clusterEvents')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.directive.js
deleted file mode 100644
index b9f59ba..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './failover.jade';
-
-export default ['igniteConfigurationClustersFailover', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.jade
deleted file mode 100644
index a973aeb..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/failover.jade
+++ /dev/null
@@ -1,82 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../app/helpers/jade/mixins.jade
-
--var model = 'backupItem'
--var form = 'failoverSpi'
--var failoverSpi = model + '.failoverSpi'
--var failoverCustom = 'failover.kind === "Custom"'
-
-form.panel.panel-default(name=form novalidate)
- .panel-heading(bs-collapse-toggle ng-click='ui.loadPanel("#{form}")')
- ignite-form-panel-chevron
- label Failover configuration
- ignite-form-field-tooltip.tipLabel
- | Failover SPI provides ability to supply custom logic for handling failed execution of a grid job
- ignite-form-revert
- .panel-collapse(role='tabpanel' bs-collapse-target id=form)
- .panel-body(ng-if='ui.isPanelLoaded("#{form}")')
- .col-sm-6
- .settings-row(ng-init='failoverSpiTbl={type: "failoverSpi", model: "failoverSpi", focusId: "kind", ui: "failover-table"}')
- ignite-form-group(ng-model='#{failoverSpi}' ng-form=form)
- ignite-form-field-label
- | Failover SPI configurations
- ignite-form-group-tooltip
- | Failover SPI configurations
- ignite-form-group-add(ng-click='tableNewItem(failoverSpiTbl)')
- | Add failover SPI
- .group-content-empty(ng-if='!(#{failoverSpi} && #{failoverSpi}.length > 0)')
- | Not defined
- .group-content(ng-show='#{failoverSpi} && #{failoverSpi}.length > 0' ng-repeat='failover in #{failoverSpi} track by $index')
- hr(ng-if='$index != 0')
- .settings-row
- ignite-form-field
- ignite-form-field-label
- | Failover SPI
- i.tipField.fa.fa-remove(bs-tooltip='"Remove Failover SPI"' ng-click='removeFailoverConfiguration($index)')
- ignite-form-field-tooltip
- | Provides ability to supply custom logic for handling failed execution of a grid job
- ul
- li Job stealing - Supports job stealing from over-utilized nodes to under-utilized nodes
- li Never - Jobs are ordered as they arrived
- li Always - Jobs are first ordered by their priority
- li Custom - Jobs are activated immediately on arrival to mapped node
- li Default - Default FailoverSpi implementation
- ignite-form-field-dropdown(
- data-id='failoverKind{{$index}}'
- data-name='failoverKind{{$index}}'
- data-options='[\
- {value: "JobStealing", label: "Job stealing"},\
- {value: "Never", label: "Never"},\
- {value: "Always", label: "Always"},\
- {value: "Custom", label: "Custom"}\
- ]'
- data-ng-model='failover.kind'
- data-ng-required='true'
- data-placeholder='Choose Failover SPI'
- )
- .settings-row(ng-show='failover.kind === "JobStealing"')
- +number('Maximum failover attempts:', 'failover.JobStealing.maximumFailoverAttempts', 'jsMaximumFailoverAttempts{{$index}}', 'true', '5', '0',
- 'Maximum number of attempts to execute a failed job on another node')
- .settings-row(ng-show='failover.kind === "Always"')
- +number('Maximum failover attempts:', 'failover.Always.maximumFailoverAttempts', 'alwaysMaximumFailoverAttempts{{$index}}', 'true', '5', '0',
- 'Maximum number of attempts to execute a failed job on another node')
- .settings-row(ng-show=failoverCustom)
- +java-class('SPI implementation', 'failover.Custom.class', 'failoverSpiClass{{$index}}', 'true', failoverCustom,
- 'Custom FailoverSpi implementation class name.')
- .col-sm-6
- +preview-xml-java(model, 'clusterFailover')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.directive.js
deleted file mode 100644
index ccfadbe..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './general.jade';
-
-export default ['igniteConfigurationClustersGeneral', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.jade
deleted file mode 100644
index 2ed0db0..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general.jade
+++ /dev/null
@@ -1,68 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../app/helpers/jade/mixins.jade
-
--var form = 'general'
--var model = 'backupItem'
-
-form.panel.panel-default(name=form novalidate)
- .panel-heading(bs-collapse-toggle)
- ignite-form-panel-chevron
- label General
- ignite-form-revert
- .panel-collapse(role='tabpanel' bs-collapse-target id=form)
- .panel-body
- .col-sm-6
- .settings-row
- +text('Name:', model + '.name', 'clusterName', 'true', 'Input name', 'Grid name')
- .settings-row
- +caches(model, 'Select caches to start in cluster or add a new cache')
- .settings-row
- +text-ip-address('Local host:', model + '.localHost', 'localHost', 'true', '0.0.0.0', 'System-wide local address or host for all Ignite components to bind to')
- .settings-row
- +dropdown('Discovery:', model + '.discovery.kind', 'discovery', 'true', 'Choose discovery', 'discoveries',
- 'Discovery allows to discover remote nodes in grid\
- <ul>\
- <li>Static IPs - IP Finder which works only with pre configured list of IP addresses specified</li>\
- <li>Multicast - Multicast based IP finder</li>\
- <li>AWS S3 - AWS S3 based IP finder</li>\
- <li>Apache jclouds - Apache jclouds multi cloud toolkit based IP finder</li>\
- <li>Google cloud storage - Google Cloud Storage based IP finder</li>\
- <li>JDBC - JDBC based IP finder</li>\
- <li>Shared filesystem - Shared filesystem based IP finder</li>\
- <li>Apache ZooKeeper - Apache ZooKeeper based IP finder</li>\
- </ul>')
- .settings-row
- .panel-details
- ignite-configuration-clusters-general-discovery-cloud(
- ng-show='#{model}.discovery.kind === "Cloud"')
- ignite-configuration-clusters-general-discovery-google(
- ng-show='#{model}.discovery.kind === "GoogleStorage"')
- ignite-configuration-clusters-general-discovery-jdbc(
- ng-show='#{model}.discovery.kind === "Jdbc"')
- ignite-configuration-clusters-general-discovery-multicast(
- ng-show='#{model}.discovery.kind === "Multicast"')
- ignite-configuration-clusters-general-discovery-s3(
- ng-show='#{model}.discovery.kind === "S3"')
- ignite-configuration-clusters-general-discovery-shared(
- ng-show='#{model}.discovery.kind === "SharedFs"')
- ignite-configuration-clusters-general-discovery-vm(
- ng-show='#{model}.discovery.kind === "Vm"')
- ignite-configuration-clusters-general-discovery-zookeeper(
- ng-show='#{model}.discovery.kind === "ZooKeeper"')
- .col-sm-6
- +preview-xml-java(model, 'clusterCaches', 'caches')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.directive.js
deleted file mode 100644
index 8fa7edc..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './cloud.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryCloud', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.jade
deleted file mode 100644
index 3a6565d..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/cloud.jade
+++ /dev/null
@@ -1,127 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var discoveryKind = 'Cloud'
--var required = 'backupItem.discovery.kind == "' + discoveryKind + '"'
--var model = 'backupItem.discovery.Cloud'
--var regions = model + '.regions'
--var zones = model + '.zones'
--var formRegions = 'discoveryCloudRegions'
--var formZones = 'discoveryCloudZones'
-
-div
- .details-row
- +text('Credential:', model + '.credential', 'credential', 'false', 'Input cloud credential',
- 'Credential that is used during authentication on the cloud<br/>\
- Depending on a cloud platform it can be a password or access key')
- .details-row
- +text('Path to credential:', model + '.credentialPath', 'credentialPath', 'false', 'Input pathto credential',
- 'Path to a credential that is used during authentication on the cloud<br/>\
- Access key or private key should be stored in a plain or PEM file without a passphrase')
- .details-row
- +text('Identity:', model + '.identity', discoveryKind + 'Identity', required, 'Input identity',
- 'Identity that is used as a user name during a connection to the cloud<br/>\
- Depending on a cloud platform it can be an email address, user name, etc')
- .details-row
- +text('Provider:', model + '.provider', discoveryKind + 'Provider', required, 'Input provider', 'Cloud provider to use')
- .details-row
- ignite-form-group(ng-model=regions ng-form=formRegions)
- -var uniqueTip = 'Such region already exists!'
-
- ignite-form-field-label
- | Regions
- ignite-form-group-tooltip
- | List of regions where VMs are located#[br]
- | If the regions are not set then every region, that a cloud provider has, will be investigated. This could lead to significant performance degradation#[br]
- | Note, that some cloud providers, like Google Compute Engine, doesn't have a notion of a region. For such providers regions are redundant
- ignite-form-group-add(ng-click='group.add = [{}]')
- | Add new region
-
- .group-content(ng-if='#{regions}.length')
- -var field = 'edit'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var save = regions + '[$index] = ' + field
-
- ignite-form-field(ng-repeat='model in #{regions} track by $index' type='internal' name='Region')
- .indexField
- | {{ $index+1 }})
- +table-remove-button(regions, 'Remove region')
- span(ng-hide='field.edit')
- a.labelFormField(ng-click='field.edit = true') {{ model }}
- span(ng-if='field.edit' ng-init='#{field} = model')
- +table-text-field(field, regions, valid, save, 'Region name', false)
- +table-save-button(valid, save, false)
- +unique-feedback(unique, uniqueTip)
-
- .group-content(ng-repeat='field in group.add')
- -var field = 'new'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var save = regions + '.push(' + field + ')'
-
- ignite-form-field(type='internal' name='Region')
- +table-text-field(field, regions, valid, save, 'Region name', true)
- +table-save-button(valid, save, true)
- +unique-feedback(unique, uniqueTip)
-
- .group-content-empty(ng-if='!(#{regions}.length) && !group.add.length')
- | Not defined
- .details-row
- ignite-form-group(ng-model=zones ng-form=formZones)
- -var uniqueTip = 'Such zone already exists!'
-
- ignite-form-field-label
- | Zones
- ignite-form-group-tooltip
- | List of zones where VMs are located#[br]
- | If the zones are not set then every zone from specified regions, will be taken into account#[br]
- | Note, that some cloud providers, like Rackspace, doesn't have a notion of a zone. For such providers zones are redundant
- ignite-form-group-add(ng-click='group.add = [{}]')
- | Add new zone
-
- .group-content(ng-if='#{zones}.length')
- -var field = 'edit'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var save = zones + '[$index] = ' + field
-
- ignite-form-field(ng-repeat='model in #{zones} track by $index' type='internal' name='Zone')
- .indexField
- | {{ $index+1 }})
- +table-remove-button(zones, 'Remove zone')
- span(ng-hide='field.edit')
- a.labelFormField(ng-click='field.edit = true') {{ model }}
- span(ng-if='field.edit' ng-init='#{field} = model')
- +table-text-field(field, zones, valid, save, 'Zone name', false)
- +table-save-button(valid, save, false)
- +unique-feedback(unique, uniqueTip)
-
- .group-content(ng-repeat='field in group.add')
- -var field = 'new'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var save = zones + '.push(' + field + ')'
-
- ignite-form-field(type='internal' name='Zone')
- +table-text-field(field, zones, valid, save, 'Zone name', true)
- +table-save-button(valid, save, true)
- +unique-feedback(unique, uniqueTip)
-
- .group-content-empty(ng-if='!(#{zones}.length) && !group.add.length')
- | Not defined
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.directive.js
deleted file mode 100644
index a409946..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './google.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryGoogle', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.jade
deleted file mode 100644
index 2a651df..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/google.jade
+++ /dev/null
@@ -1,38 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
-
--var discoveryKind = 'GoogleStorage'
--var required = 'backupItem.discovery.kind == "' + discoveryKind + '"'
--var model = 'backupItem.discovery.GoogleStorage'
-
-div
- .details-row
- +text('Project name:', model + '.projectName', discoveryKind + 'ProjectName', required, 'Input project name', '' +
- 'Google Cloud Platforms project name<br/>\
- Usually this is an auto generated project number(ex. 208709979073) that can be found in "Overview" section of Google Developer Console')
- .details-row
- +text('Bucket name:', model + '.bucketName', discoveryKind + 'BucketName', required, 'Input bucket name',
- 'Google Cloud Storage bucket name<br/>\
- If the bucket does not exist Ignite will automatically create it<br/>\
- However the name must be unique across whole Google Cloud Storage and Service Account Id must be authorized to perform this operation')
- .details-row
- +text('Private key path:', model + '.serviceAccountP12FilePath', discoveryKind + 'ServiceAccountP12FilePath', required, 'Input private key path',
- 'Full path to the private key in PKCS12 format of the Service Account')
- .details-row
- +text('Account id:', model + '.serviceAccountId', discoveryKind + 'ServiceAccountId', required, 'Input account id', 'Service account ID (typically an e-mail address)')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.directive.js
deleted file mode 100644
index 6edd6ed..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './jdbc.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryJdbc', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.jade
deleted file mode 100644
index fbca508..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/jdbc.jade
+++ /dev/null
@@ -1,24 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var model = 'backupItem.discovery.Jdbc'
-
-div
- .details-row
- +checkbox('DB schema should be initialized by Ignite', model + '.initSchema', 'initSchema',
- 'Flag indicating whether DB schema should be initialized by Ignite or was explicitly created by user')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.directive.js
deleted file mode 100644
index 67775d2..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './multicast.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryMulticast', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.jade
deleted file mode 100644
index 2c9dd50..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/multicast.jade
+++ /dev/null
@@ -1,109 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var form = 'general'
--var model = 'backupItem.discovery.Multicast'
--var addresses = model + '.addresses'
-
-div
- .details-row
- +text-ip-address('IP address:', model + '.multicastGroup', 'multicastGroup', 'true', '228.1.2.4', 'IP address of multicast group')
- .details-row
- +number-min-max('Port number:', model + '.multicastPort', 'multicastPort', 'true', '47400', '0', '65535', 'Port number which multicast messages are sent to')
- .details-row
- +number('Waits for reply:', model + '.responseWaitTime', 'responseWaitTime', 'true', '500', '0',
- 'Time in milliseconds IP finder waits for reply to multicast address request')
- .details-row
- +number('Attempts count:', model + '.addressRequestAttempts', 'addressRequestAttempts', 'true', '2', '0',
- 'Number of attempts to send multicast address request<br/>\
- IP finder re - sends request only in case if no reply for previous request is received')
- .details-row
- +text-ip-address('Local address:', model + '.localAddress', 'localAddress', 'true', '0.0.0.0',
- 'Local host address used by this IP finder<br/>\
- If provided address is non - loopback then multicast socket is bound to this interface<br/>\
- If local address is not set or is any local address then IP finder creates multicast sockets for all found non - loopback addresses')
- .details-row
- -var form = 'discoveryMulticastAddresses';
-
- ignite-form-group(ng-model=addresses ng-form=form)
- -var uniqueTip = 'Such IP address already exists!'
- -var ipAddressTip = 'Invalid IP address!'
-
- ignite-form-field-label
- | Addresses
- ignite-form-group-tooltip
- | Addresses may be represented as follows:#[br]
- ul: li IP address (e.g. 127.0.0.1, 9.9.9.9, etc)
- li IP address and port (e.g. 127.0.0.1:47500, 9.9.9.9:47501, etc)
- li IP address and port range (e.g. 127.0.0.1:47500..47510, 9.9.9.9:47501..47504, etc)
- li Hostname (e.g. host1.com, host2, etc)
- li Hostname and port (e.g. host1.com:47500, host2:47502, etc)
- li Hostname and port range (e.g. host1.com:47500..47510, host2:47502..47508, etc)
- | If port is 0 or not provided then default port will be used (depends on discovery SPI configuration)#[br]
- | If port range is provided (e.g. host:port1..port2) the following should be considered:#[br]
- ul: li port1 < port2 should be true
- li Both port1 and port2 should be greater than 0
- ignite-form-group-add(ng-click='group.add = [{}]')
- | Add new address
-
- .group-content(ng-if='#{addresses}.length')
- -var field = 'edit'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var ipaddress = 'form[ngModelName].$error.ipaddress'
- -var ipaddressPort = 'form[ngModelName].$error.ipaddressPort'
- -var ipaddressPortRange = 'form[ngModelName].$error.ipaddressPortRange'
- -var save = addresses + '[$index] = ' + field
-
- ignite-form-field(ng-repeat='model in #{addresses} track by $index' type='internal' name='Address')
- .indexField
- | {{ $index+1 }})
- +table-remove-button(addresses, 'Remove address')
-
- ignite-form-field-down(ng-if='!$last' ng-hide='field.edit' data-ng-model='model' data-models=addresses)
- ignite-form-field-up(ng-if='!$first' ng-hide='field.edit' data-ng-model='model' data-models=addresses)
-
- span(ng-hide='field.edit')
- a.labelFormField(ng-click='field.edit = true') {{ model }}
- span(ng-if='field.edit' ng-init='#{field} = model')
- +table-address-field(field, addresses, valid, save, false, true)
- +table-save-button(valid, save, false)
- +unique-feedback(unique, uniqueTip)
- +ipaddress-feedback(ipaddress)
- +ipaddress-port-feedback(ipaddressPort)
- +ipaddress-port-range-feedback(ipaddressPortRange)
-
- .group-content(ng-repeat='field in group.add')
- -var field = 'new'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var ipaddress = 'form[ngModelName].$error.ipaddress'
- -var ipaddressPort = 'form[ngModelName].$error.ipaddressPort'
- -var ipaddressPortRange = 'form[ngModelName].$error.ipaddressPortRange'
- -var save = addresses + '.push(' + field + ')'
-
- ignite-form-field(type='internal' name='Address')
- +table-address-field(field, addresses, valid, save, true, true)
- +table-save-button(valid, save, true)
- +unique-feedback(unique, uniqueTip)
- +ipaddress-feedback(ipaddress)
- +ipaddress-port-feedback(ipaddressPort)
- +ipaddress-port-range-feedback(ipaddressPortRange)
-
- .group-content-empty(ng-if='!(#{addresses}.length) && !group.add.length')
- | Not defined
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.directive.js
deleted file mode 100644
index 25fd90a..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './s3.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryS3', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.jade
deleted file mode 100644
index c2e29be..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/s3.jade
+++ /dev/null
@@ -1,27 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var discoveryKind = 'S3'
--var required = 'backupItem.discovery.kind == "' + discoveryKind + '"'
--var model = 'backupItem.discovery.S3'
-
-div
- .details-row
- +text('Bucket name:', model + '.bucketName', discoveryKind + 'BucketName', required, 'Input bucket name', 'Bucket name for IP finder')
- .details-row
- label Note, AWS credentials will be generated as stub
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.directive.js
deleted file mode 100644
index da1ee0c..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './shared.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryShared', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.jade
deleted file mode 100644
index 5ae808a..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/shared.jade
+++ /dev/null
@@ -1,23 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var model = 'backupItem.discovery.SharedFs'
-
-div
- .details-row
- +text('File path:', model + '.path', 'path', 'false', 'disco/tcp', 'Shared path')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.directive.js
deleted file mode 100644
index d07adc8..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './vm.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryVm', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.jade
deleted file mode 100644
index 1f20613..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/vm.jade
+++ /dev/null
@@ -1,90 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var model = 'backupItem.discovery.Vm'
--var addresses = model + '.addresses'
--var form = 'discoveryVmAddresses'
-
-.details-row
- ignite-form-group(ng-model=addresses ng-form=form)
- -var uniqueTip = 'Such IP address already exists!'
- -var ipAddressTip = 'Invalid IP address!'
-
- ignite-form-field-label
- | Addresses
- ignite-form-group-tooltip
- | Addresses may be represented as follows:
- ul: li IP address (e.g. 127.0.0.1, 9.9.9.9, etc)
- li IP address and port (e.g. 127.0.0.1:47500, 9.9.9.9:47501, etc)
- li IP address and port range (e.g. 127.0.0.1:47500..47510, 9.9.9.9:47501..47504, etc)
- li Hostname (e.g. host1.com, host2, etc)
- li Hostname and port (e.g. host1.com:47500, host2:47502, etc)
- li Hostname and port range (e.g. host1.com:47500..47510, host2:47502..47508, etc)
- | If port is 0 or not provided then default port will be used (depends on discovery SPI configuration)#[br]
- | If port range is provided (e.g. host:port1..port2) the following should be considered:
- ul: li port1 < port2 should be true
- li Both port1 and port2 should be greater than 0
- ignite-form-group-add(ng-click='group.add = [{}]')
- | Add new address
-
- .group-content(ng-if='#{addresses}.length')
- -var field = 'edit'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var ipaddress = 'form[ngModelName].$error.ipaddress'
- -var ipaddressPort = 'form[ngModelName].$error.ipaddressPort'
- -var ipaddressPortRange = 'form[ngModelName].$error.ipaddressPortRange'
- -var save = addresses + '[$index] = ' + field
-
- ignite-form-field(ng-repeat='model in #{addresses} track by $index' type='internal' name='Address')
- .indexField
- | {{ $index+1 }})
- +table-remove-button(addresses, 'Remove address')
-
- ignite-form-field-down(ng-if='!$last' ng-hide='field.edit' data-ng-model='model' data-models=addresses)
- ignite-form-field-up(ng-if='!$first' ng-hide='field.edit' data-ng-model='model' data-models=addresses)
-
- span(ng-hide='field.edit')
- a.labelFormField(ng-click='field.edit = true') {{ model }}
- span(ng-if='field.edit' ng-init='#{field} = model')
- +table-address-field(field, addresses, valid, save, false, true)
- +table-save-button(valid, save, false)
- +unique-feedback(unique, uniqueTip)
- +ipaddress-feedback(ipaddress)
- +ipaddress-port-feedback(ipaddressPort)
- +ipaddress-port-range-feedback(ipaddressPortRange)
-
- .group-content(ng-repeat='field in group.add')
- -var field = 'new'
- -var valid = 'form[ngModelName].$valid'
- -var unique = 'form[ngModelName].$error.igniteUnique'
- -var ipaddress = 'form[ngModelName].$error.ipaddress'
- -var ipaddressPort = 'form[ngModelName].$error.ipaddressPort'
- -var ipaddressPortRange = 'form[ngModelName].$error.ipaddressPortRange'
- -var save = addresses + '.push(' + field + ')'
-
- ignite-form-field(type='internal' name='Address')
- +table-address-field(field, addresses, valid, save, true, true)
- +table-save-button(valid, save, true)
- +unique-feedback(unique, uniqueTip)
- +ipaddress-feedback(ipaddress)
- +ipaddress-port-feedback(ipaddressPort)
- +ipaddress-port-range-feedback(ipaddressPortRange)
-
- .group-content-empty(id='addresses' ng-if='!(#{addresses}.length) && !group.add.length')
- | Not defined
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.directive.js
deleted file mode 100644
index 3081443..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './zookeeper.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryZookeeper', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.jade
deleted file mode 100644
index 72f0678..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper.jade
+++ /dev/null
@@ -1,74 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../app/helpers/jade/mixins.jade
-
--var discoveryKind = 'ZooKeeper'
--var required = 'backupItem.discovery.kind == "' + discoveryKind + '"'
--var model = 'backupItem.discovery.ZooKeeper'
-
-div
- .details-row
- +java-class('Curator:', model + '.curator', 'curator', 'true', 'false',
- 'The Curator framework in use<br/>\
- By default generates curator of org.apache.curator. framework.imps.CuratorFrameworkImpl\
- class with configured connect string, retry policy, and default session and connection timeouts')
- .details-row
- +text('Connect string:', model + '.zkConnectionString', ZooKeeper + 'ConnectionString', required, 'host:port[chroot][,host:port[chroot]]',
- 'When "IGNITE_ZK_CONNECTION_STRING" system property is not configured this property will be used')
- .details-row
- +dropdown('Retry policy:', model + '.retryPolicy.kind', 'retryPolicy', 'true', 'Default',
- '[\
- {value: "ExponentialBackoff", label: "Exponential backoff"},\
- {value: "BoundedExponentialBackoff", label: "Bounded exponential backoff"},\
- {value: "UntilElapsed", label: "Until elapsed"},\
- {value: "NTimes", label: "Max number of times"},\
- {value: "OneTime", label: "Only once"},\
- {value: "Forever", label: "Always allow retry"},\
- {value: "Custom", label: "Custom"},\
- {value: undefined, label: "Default"}\
- ]',
- 'Available retry policies:\
- <ul>\
- <li>Exponential backoff - retries a set number of times with increasing sleep time between retries</li>\
- <li>Bounded exponential backoff - retries a set number of times with an increasing (up to a maximum bound) sleep time between retries</li>\
- <li>Until elapsed - retries until a given amount of time elapses</li>\
- <li>Max number of times - retries a max number of times</li>\
- <li>Only once - retries only once</li>\
- <li>Always allow retry - retries infinitely</li>\
- <li>Custom - custom retry policy implementation</li>\
- <li>Default - exponential backoff retry policy with configured base sleep time equal to 1000ms and max retry count equal to 10</li>\
- </ul>')
- .details-row(ng-show='#{model}.retryPolicy.kind')
- .panel-details
- ignite-configuration-clusters-general-discovery-zookeeper-exponential(ng-show='#{model}.retryPolicy.kind === "ExponentialBackoff"')
- ignite-configuration-clusters-general-discovery-zookeeper-bounded-exponential(ng-show='#{model}.retryPolicy.kind === "BoundedExponentialBackoff"')
- ignite-configuration-clusters-general-discovery-zookeeper-until-elapsed(ng-show='#{model}.retryPolicy.kind === "UntilElapsed"')
- ignite-configuration-clusters-general-discovery-zookeeper-n-times(ng-show='#{model}.retryPolicy.kind === "NTimes"')
- ignite-configuration-clusters-general-discovery-zookeeper-one-time(ng-show='#{model}.retryPolicy.kind === "OneTime"')
- ignite-configuration-clusters-general-discovery-zookeeper-forever(ng-show='#{model}.retryPolicy.kind === "Forever"')
- ignite-configuration-clusters-general-discovery-zookeeper-custom(ng-show='#{model}.retryPolicy.kind === "Custom"')
- .details-row
- +text('Base path:', model + '.basePath', 'basePath', 'false', '/services', 'Base path for service registration')
- .details-row
- +text('Service name:', model + '.serviceName', 'serviceName', 'false', 'ignite',
- 'Service name to use, as defined by Curator's ServiceDiscovery recipe<br/>\
- In physical ZooKeeper terms, it represents the node under basePath, under which services will be registered')
- .details-row
- +checkbox('Allow duplicate registrations', model + '.allowDuplicateRegistrations', 'allowDuplicateRegistrations',
- 'Whether to register each node only once, or if duplicate registrations are allowed<br/>\
- Nodes will attempt to register themselves, plus those they know about<br/>\
- By default, duplicate registrations are not allowed, but you might want to set this property to <b>true</b> if you have multiple network interfaces or if you are facing troubles')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.directive.js
deleted file mode 100644
index 42fb229..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './bounded-exponential-backoff.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryZookeeperBoundedExponential', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.jade
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.jade b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.jade
deleted file mode 100644
index 6f6e035..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/bounded-exponential-backoff.jade
+++ /dev/null
@@ -1,27 +0,0 @@
-//-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-include ../../../../../../../../../app/helpers/jade/mixins.jade
-
--var model = 'backupItem.discovery.ZooKeeper.retryPolicy.BoundedExponentialBackoff'
-
-div
- .details-row
- +number('Base interval:', model + '.baseSleepTimeMs', 'beBaseSleepTimeMs', 'true', '1000', '0', 'Initial amount of time in ms to wait between retries')
- .details-row
- +number('Max interval:', model + '.maxSleepTimeMs', 'beMaxSleepTimeMs', 'true', 'Integer.MAX_VALUE', '0', 'Max time in ms to sleep on each retry')
- .details-row
- +number-min-max('Max retries:', model + '.maxRetries', 'beMaxRetries', 'true', '10', '0', '29', 'Max number of times to retry')
http://git-wip-us.apache.org/repos/asf/ignite/blob/6af6560a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/custom.directive.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/custom.directive.js b/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/custom.directive.js
deleted file mode 100644
index 969356b..0000000
--- a/modules/web-console/src/main/js/app/modules/states/configuration/clusters/general/discovery/zookeeper/retrypolicy/custom.directive.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import templateUrl from './custom.jade';
-
-export default ['igniteConfigurationClustersGeneralDiscoveryZookeeperCustom', [() => {
- return {
- scope: true,
- restrict: 'E',
- templateUrl,
- replace: true
- };
-}]];