[ https://issues.apache.org/jira/browse/KNOX-2188?focusedWorklogId=374469&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-374469 ]
ASF GitHub Bot logged work on KNOX-2188: ---------------------------------------- Author: ASF GitHub Bot Created on: 20/Jan/20 09:29 Start Date: 20/Jan/20 09:29 Worklog Time Spent: 10m Work Description: smolnar82 commented on pull request #240: KNOX-2188 - Handling discovery details via advanced configuration URL: https://github.com/apache/knox/pull/240 ## What changes were proposed in this pull request? Setting the following discovery details in a Knox descriptor, if they are not customized in the CM descriptors file: - discovery address - discovery cluster - discovery type ## How was this patch tested? Updated and executed JUnit tests: ``` [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19:59 min (Wall Clock) [INFO] Finished at: 2020-01-20T10:28:22+01:00 [INFO] Final Memory: 424M/1987M [INFO] ------------------------------------------------------------------------ ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 374469) Remaining Estimate: 0h Time Spent: 10m > Cloudera Manager integration - discovery parameters handling > ------------------------------------------------------------ > > Key: KNOX-2188 > URL: https://issues.apache.org/jira/browse/KNOX-2188 > Project: Apache Knox > Issue Type: New Feature > Components: Server > Affects Versions: 1.4.0 > Reporter: Sandor Molnar > Assignee: Sandor Molnar > Priority: Major > Fix For: 1.4.0 > > Time Spent: 10m > Remaining Estimate: 0h > > With KNOX-2186, Knox is capable of processing a properties file which CM > generates with a list of boolean flags of enabled services. > This properties file can also be extended with the following properties: > * {{gateway.auto.discovery.address}} - the URL which Knox's service > auto-discovery feature uses to connect to > * {{gateway.auto.discovery.cluster}} - the cluster where you would like Knox > activates the auto-discovery feature > These new properties would be used when parsing a CM descriptor (see > KNOX-2160) and the related properties ({{discoveryAddress}} and > {{discoveryCluster}}) are not set. -- This message was sent by Atlassian Jira (v8.3.4#803005)