[
https://issues.apache.org/jira/browse/GEODE-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354396#comment-16354396
]
ASF subversion and git services commented on GEODE-3876:
--------------------------------------------------------
Commit b5784087dec745cc6fd3a79f00dc19c1041cc68d in geode's branch
refs/heads/feature/GEODE-3967 from [~jinmeiliao]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=b578408 ]
GEODE-3876: refactor expiry options for create region and alter regio… (#1356)
* GEODE-3876: refactor expiry options for create region and alter region command
* add ExpirationActionConverter for client side validation/conversion
* reworked ExpirationAttr
* fix buggy behavior of altering expiration attributes
* add more tests
> gfsh command for custom expiry
> ------------------------------
>
> Key: GEODE-3876
> URL: https://issues.apache.org/jira/browse/GEODE-3876
> Project: Geode
> Issue Type: Sub-task
> Components: docs, gfsh
> Reporter: Swapnil Bawaskar
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> When creating or altering a region the ability to add custom expiration is
> missing.
> It would be great to have something like this:
> {code}
> alter/create region --name=regioName
> [--region-custom-expiry=customExpiryImplementationClassName]
> {code}
> If the class implementing custom expiry also implements Declarable, we should
> add support for passing parameters to the init method.
>
> {code}
> alter/create region --name=regionName
> --region-custom-expiry=CustomExpirayImplementation?{'k':'v','k2':'v2'}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)