[jira] [Updated] (HDDS-390) Add method to check for valid key name based on URI characters

2020-06-02 Thread Arpit Agarwal (Jira)


 [ 
https://issues.apache.org/jira/browse/HDDS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-390:
---
Target Version/s: 0.6.0  (was: 0.5.0)
  Labels: Triaged  (was: )

Unfortunately it looks like this never got committed on a technicality. 
[~dineshchitlangia] do you feel like reviving this patch? :)

This is certainly a good fix to have.

> Add method to check for valid key name based on URI characters
> --
>
> Key: HDDS-390
> URL: https://issues.apache.org/jira/browse/HDDS-390
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Major
>  Labels: Triaged
> Attachments: HDDS-390.001.patch
>
>
> As per design, key names composed of all valid characters in URI set must be 
> treated as valid key name.
> For URI character set: [https://tools.ietf.org/html/rfc2396#appendix-A]
> This Jira proposes to define validateKeyName() similar to 
> validateResourceName() that validates bucket/volume name
>  
> Valid Key name must:
>  * conform to URI Character set
>  * must allow /
> TBD whether key names must impose other rules similar to volume/bucket names 
> like  -
>  * should not start with period or dash
>  * should not end with period or dash
>  * should not have contiguous periods
>  * should not have period after dash and vice versa
> etc
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org



[jira] [Updated] (HDDS-390) Add method to check for valid key name based on URI characters

2020-06-09 Thread Arpit Agarwal (Jira)


 [ 
https://issues.apache.org/jira/browse/HDDS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-390:
---
Component/s: Ozone Manager

> Add method to check for valid key name based on URI characters
> --
>
> Key: HDDS-390
> URL: https://issues.apache.org/jira/browse/HDDS-390
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: Ozone Manager
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Major
>  Labels: Triaged
> Attachments: HDDS-390.001.patch
>
>
> As per design, key names composed of all valid characters in URI set must be 
> treated as valid key name.
> For URI character set: [https://tools.ietf.org/html/rfc2396#appendix-A]
> This Jira proposes to define validateKeyName() similar to 
> validateResourceName() that validates bucket/volume name
>  
> Valid Key name must:
>  * conform to URI Character set
>  * must allow /
> TBD whether key names must impose other rules similar to volume/bucket names 
> like  -
>  * should not start with period or dash
>  * should not end with period or dash
>  * should not have contiguous periods
>  * should not have period after dash and vice versa
> etc
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org



[jira] [Updated] (HDDS-390) Add method to check for valid key name based on URI characters

2020-06-29 Thread Marton Elek (Jira)


 [ 
https://issues.apache.org/jira/browse/HDDS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Elek updated HDDS-390:
-
Target Version/s: 0.7.0  (was: 0.6.0)

> Add method to check for valid key name based on URI characters
> --
>
> Key: HDDS-390
> URL: https://issues.apache.org/jira/browse/HDDS-390
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: Ozone Manager
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Major
>  Labels: Triaged
> Attachments: HDDS-390.001.patch
>
>
> As per design, key names composed of all valid characters in URI set must be 
> treated as valid key name.
> For URI character set: [https://tools.ietf.org/html/rfc2396#appendix-A]
> This Jira proposes to define validateKeyName() similar to 
> validateResourceName() that validates bucket/volume name
>  
> Valid Key name must:
>  * conform to URI Character set
>  * must allow /
> TBD whether key names must impose other rules similar to volume/bucket names 
> like  -
>  * should not start with period or dash
>  * should not end with period or dash
>  * should not have contiguous periods
>  * should not have period after dash and vice versa
> etc
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org