tobias-istvan opened a new pull request #56: [AMBARI-24896] [Log Search UI] 
Turn off features in the client when it is not available on backend
URL: https://github.com/apache/ambari-logsearch/pull/56
 
 
   # What changes were proposed in this pull request?
   
   - getting the information from the server
   - disable/enable the buttons pointing to the related feature
   - disable routing of shipper config when the meta_data pattern editor 
disabled
   - disable to show log index filter settings when the log levels filter 
disabled
   - adding extra server response handling: 503 means the feature is turned off
   
   ## How was this patch tested?
   
   It was tested manually (by changing the states from console) and by unit 
tests:
   ```
   PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 295 of 295 SUCCESS (12.633 secs / 
12.486 secs)
   ✨  Done in 45.73s.
   ```
   
   Please review [Ambari Contributing 
Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) 
before opening a pull request.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to