ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-2612 WIP Rework to Angular directives.
Date Thu, 25 Feb 2016 01:56:49 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-2612 9c3bbcb9d -> 1f630814c


IGNITE-2612 WIP Rework to Angular directives.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/1f630814
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/1f630814
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/1f630814

Branch: refs/heads/ignite-2612
Commit: 1f630814ca9c22d1ef31bf7267e6f921b9ebef4d
Parents: 9c3bbcb
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Feb 25 08:56:34 2016 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Feb 25 08:56:34 2016 +0700

----------------------------------------------------------------------
 .../states/configuration/caches/memory.jade     | 10 +++
 .../states/configuration/caches/query.jade      | 84 ++++++++++----------
 2 files changed, 50 insertions(+), 44 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1f630814/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/memory.jade
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/memory.jade
b/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/memory.jade
index 244b013..f7b4473 100644
--- a/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/memory.jade
+++ b/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/memory.jade
@@ -82,6 +82,16 @@ form.panel.panel-default(name='memory' novalidate)
                             data-placeholder='1500000'
                             data-min='0'
                         )
+                .settings-row
+                    ignite-form-field.checkbox
+                        ignite-form-field-input-checkbox(
+                            data-id='swapEnabled'
+                            data-name='swapEnabled'
+                            data-ng-model='#{model}.swapEnabled'
+                        )
+                        | Swap enabled
+                        ignite-form-field-tooltip
+                            | Flag indicating whether swap storage is enabled or not for
this cache
             ignite-ui-ace.col-sm-6
                 .preview-panel(ng-init='mode = false')
                     .preview-legend

http://git-wip-us.apache.org/repos/asf/ignite/blob/1f630814/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/query.jade
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/query.jade
b/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/query.jade
index 84c76d8..20a976d 100644
--- a/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/query.jade
+++ b/modules/control-center-web/src/main/js/app/modules/states/configuration/caches/query.jade
@@ -27,66 +27,62 @@ form.panel.panel-default(name='query' novalidate)
                 .settings-row
                     ignite-form-field
                         ignite-form-field-label
-                            | Name:
+                            | SQL schema name:
                         ignite-form-field-tooltip
-                            | Cache name
+                            | Schema name for cache according to SQL ANSI-99
                         ignite-form-field-input-text(
-                            data-id='cacheName'
-                            data-name='cacheName'
-                            data-ng-model='#{model}.name'
-                            data-ng-required='true'
-                            data-placeholder='Input name'
+                            data-id='sqlSchema'
+                            data-name='sqlSchema'
+                            data-ng-model='#{model}.sqlSchema'
+                            data-placeholder='Input schema name'
                         )
                 .settings-row
                     ignite-form-field
                         ignite-form-field-label
-                            | Clusters: #[a(ui-sref='base.configuration.clusters({id: #{model}._id})')
(add)]
+                            | On-heap cache for off-heap indexes:
                         ignite-form-field-tooltip
-                            | Associate clusters with the current cache
-                        ignite-form-field-dropdown(
-                            data-id='clusters'
-                            data-name='clusters'
-                            data-options='clusters'
-                            data-multiple='true'
-                            data-ng-model='#{model}.clusters'
-                            data-ng-disabled='!clusters.length'
-                            data-placeholder='{{ clusters.length ? "Choose clusters": "No
clusters configured" }}'
+                            | Number of SQL rows which will be cached onheap to avoid deserialization
on each SQL index access
+                        ignite-form-field-input-number(
+                            data-id='sqlOnheapRowCacheSize'
+                            data-name='sqlOnheapRowCacheSize'
+                            data-ng-model='#{model}.sqlOnheapRowCacheSize'
+                            data-placeholder='10240'
+                            data-min='1'
                         )
                 .settings-row
                     ignite-form-field
                         ignite-form-field-label
-                            | Domain models: #[a(ui-sref='base.configuration.domains({id:
#{model}._id})') (add)]
+                            | Long query timeout:
                         ignite-form-field-tooltip
-                            | Associate clusters with the current cache
-                        ignite-form-field-dropdown(
-                            data-id='domains'
-                            data-name='domains'
-                            data-options='domains'
-                            data-multiple='true'
-                            data-ng-model='#{model}.domains'
-                            data-ng-disabled='!domains.length'
-                            data-placeholder='{{ domains.length ? "Choose domain models":
"No domain models configured" }}'
+                            | Timeout in milliseconds after which long query warning will
be printed
+                        ignite-form-field-input-number(
+                            data-id='longQueryWarningTimeout'
+                            data-name='longQueryWarningTimeout'
+                            data-ng-model='#{model}.longQueryWarningTimeout'
+                            data-placeholder='3000'
+                            data-min='0'
                         )
                 .settings-row
-                    ignite-form-field
-                        ignite-form-field-label
-                            | Cache mode:
+                    ignite-form-field.checkbox
+                        ignite-form-field-input-checkbox(
+                            data-id='snapshotableIndex'
+                            data-name='snapshotableIndex'
+                            data-ng-model='#{model}.snapshotableIndex'
+                        )
+                        | Snapshotable index
                         ignite-form-field-tooltip
-                            | Cache modes:
-                            ul: li Partitioned - in this mode the overall key set will be
divided into partitions and all partitions will be split equally between participating nodes
-                                li Replicated - in this mode all the keys are distributed
to all participating nodes
-                                li Local - in this mode caches residing on different grid
nodes will not know about each other
-                        ignite-form-field-dropdown(
-                        data-id='cacheMode'
-                        data-name='cacheMode'
-                        data-options='[\
-                            {value: "LOCAL", label: "LOCAL"},\
-                            {value: "REPLICATED", label: "REPLICATED"},\
-                            {value: "PARTITIONED", label: "PARTITIONED"}\
-                        ]'
-                        data-ng-model='#{model}.cacheMode'
-                        data-placeholder='PARTITIONED'
+                            | Flag indicating whether SQL indexes should support snapshots
+                .settings-row
+                    ignite-form-field.checkbox
+                        ignite-form-field-input-checkbox(
+                            data-id='sqlEscapeAll'
+                            data-name='sqlEscapeAll'
+                            data-ng-model='#{model}.sqlEscapeAll'
                         )
+                        | Escape table and filed names
+                        ignite-form-field-tooltip
+                            | If set then all the SQL table and field names will be escaped
with double quotes
+                            | This enforces case sensitivity for field names and also allows
having special characters in table and field names
             ignite-ui-ace.col-sm-6
                 .preview-panel(ng-init='mode = false')
                     .preview-legend


Mime
View raw message