Re: Global scope regions

2016-11-28 Thread Kirk Lund
We could allow the User to specify either a --type or a combination of --data-policy and --scope but not all three. Apparently the introduction of RegionShortcut (and its use for --type) was supposed to simplify things. AttributesFactory was deprecated in favor of using shortcuts. The shortcuts co

Re: Global scope regions

2016-11-28 Thread Udo Kohlmeyer
I think we need to add --data-policy and --scope to GFSH. --Udo On 11/28/16 15:39, Kirk Lund wrote: Yep, the --type argument in gfsh matches the enum values of org.apache.geode.cache.RegionShortcut which doesn't include any shortcuts for global. On Mon, Nov 28, 2016 at 3:17 PM, Udo Kohlmeyer

Re: Global scope regions

2016-11-28 Thread Kirk Lund
Yep, the --type argument in gfsh matches the enum values of org.apache.geode.cache.RegionShortcut which doesn't include any shortcuts for global. On Mon, Nov 28, 2016 at 3:17 PM, Udo Kohlmeyer wrote: > I think it was never added. I think we keep on favoring shortcuts above > correct configurati

Re: Global scope regions

2016-11-28 Thread Udo Kohlmeyer
I think it was never added. I think we keep on favoring shortcuts above correct configuration properties. --Udo On 11/28/16 15:15, Kirk Lund wrote: Looks like global regions cannot be created using GFSH. We should either add support for global scope to GFSH or remove global scope (and the Reg