You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by se...@apache.org on 2015/07/15 21:17:17 UTC

[29/45] incubator-ignite git commit: IGNITE-843 Hide server near cache settings if not enabled.

IGNITE-843 Hide server near cache settings if not enabled.


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

Branch: refs/heads/ignite-1121
Commit: a1a85a52ff430566d2ac4ea94b9a4afbfea271ea
Parents: 3e59cb1
Author: AKuznetsov <ak...@gridgain.com>
Authored: Wed Jul 15 12:59:41 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Wed Jul 15 12:59:41 2015 +0700

----------------------------------------------------------------------
 modules/web-control-center/nodejs/controllers/models/caches.json | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a1a85a52/modules/web-control-center/nodejs/controllers/models/caches.json
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/controllers/models/caches.json b/modules/web-control-center/nodejs/controllers/models/caches.json
index c8fb9cd..d54c5eb 100644
--- a/modules/web-control-center/nodejs/controllers/models/caches.json
+++ b/modules/web-control-center/nodejs/controllers/models/caches.json
@@ -476,6 +476,7 @@
           "type": "number",
           "path": "nearConfiguration",
           "model": "nearStartSize",
+          "hide": "!backupItem.nearCacheEnabled",
           "placeholder": 375000,
           "tip": [
             "Initial cache size for near cache which will be used to pre-create internal hash table after start."
@@ -488,6 +489,7 @@
           "model": "kind",
           "placeholder": "Choose eviction policy",
           "items": "evictionPolicies",
+          "hide": "!backupItem.nearCacheEnabled",
           "tip": [
             "Cache expiration policy."
           ],