You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/07 01:02:00 UTC

[jira] [Commented] (AMBARI-24896) [Log Search UI] Turn off features in the client when it is not available on backend

    [ https://issues.apache.org/jira/browse/AMBARI-24896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712198#comment-16712198 ] 

ASF GitHub Bot commented on AMBARI-24896:
-----------------------------------------

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:
users@infra.apache.org


> [Log Search UI] Turn off features in the client when it is not available on backend
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-24896
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24896
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-logsearch, logsearch
>    Affects Versions: 2.7.3
>            Reporter: Istvan Tobias
>            Assignee: Istvan Tobias
>            Priority: Major
>              Labels: pull-request-available
>
> Turn off features when it is not available on backend.
> The list of features and their available status is under `/info/features`.
> Turn off `Configuration Editor` when `metadata_patterns` is `false`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)