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

J.Andreina updated KNOX-493:
----------------------------
    Attachment: KNOX-493.1.patch

Details on the attached patch file :

1. Security Data directory is read from a configuration, If configuration is 
not set then default value ({Gateway_data_dir}/security) will be taken

2. {Gateway_data_dir} will check for the following conditions and takes the 
value from: 
    (i) GATEWAY_DATA_HOME system property if it is set
    (ii) else from GATEWAY_DATA_HOME  Environmental  variable 
    (iii) else if "gateway.data.dir" configuration is set in gateway-site.xml
    (iv) else default value ({Gateway_Home_dir}/data) will be taken


I have a few test cases for the same. Please review the patch.
   

> Data and sub data directory should be made configurable.
> --------------------------------------------------------
>
>                 Key: KNOX-493
>                 URL: https://issues.apache.org/jira/browse/KNOX-493
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: J.Andreina
>         Attachments: KNOX-493.1.patch
>
>
> Gateway Data directory contains information on deployments and security.
> Gateway Deployment directory is already made configurable as part of 
> KNOX-485. 
> Similar way Gateway Data directory and its sub data directory ( security ) 
> should be made configurable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to