[ 
https://issues.apache.org/jira/browse/IGNITE-7725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369240#comment-16369240
 ] 

Alexey Kuznetsov edited comment on IGNITE-7725 at 2/19/18 3:40 PM:
-------------------------------------------------------------------

Please test.

I added support of following optional parameters:
 * templateName=PARTITIONED|REPLICATED|_custom_template_

 * backups=N

 * writeSynchronizationMode=FULL_SYNC|FULL_ASYNC|PRIMARY_SYNC

 * cacheGroup=_custom_cache_group_

 * dataRegion=_name_of_existing_data_region_

Please also test negative scenarios, like: buckups=zzz, 
writeSynchronizationMode=zzz, etc


was (Author: kuaw26):
Please test.

I added support of following optional parameters:

* templateName=PARTITIONED|REPLICATED|_custom_template_

* backups=N

* writeSynchronizationMode=FULL_SYNC|FULL_ASYNC|PRIMARY_SYNC

* cacheGroup=_custom_cache_group_

* dataRegion=_name_of_existing_data_region_

> REST: expand parameters list of GetOrCreateCache command
> --------------------------------------------------------
>
>                 Key: IGNITE-7725
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7725
>             Project: Ignite
>          Issue Type: Improvement
>          Components: rest
>    Affects Versions: 2.3
>            Reporter: Alexey Kuznetsov
>            Assignee: Pavel Konstantinov
>            Priority: Major
>             Fix For: 2.5
>
>
> Current implementation is very primitive and do not allow to create caches 
> with custom options via REST.
> http://host:port/ignite?cmd=getorcreate&cacheName=cache_name[&tempaleName=template_name][&backups=1][&writeSynchronizationMode=FULL_SYNC][&;....
>  other options]
> Ignite will support two pre-configured templates out of the box: PARTITIONED 
> and REPLICATED (same as SQL engine).
> If template name is not specified, by default it will be PARTITIONED.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to