[
https://issues.apache.org/jira/browse/AMBARI-11268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045475#comment-15045475
]
Hadoop QA commented on AMBARI-11268:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12776087/AMBARI-11268.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 7 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:red}-1 core tests{color}. The patch failed these unit tests in
ambari-server ambari-web:
org.apache.ambari.server.orm.dao.RequestDAOTest
org.apache.ambari.server.orm.dao.AlertDispatchDAOTest
org.apache.ambari.server.orm.dao.AlertDefinitionDAOTest
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/4514//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/4514//console
This message is automatically generated.
> Quick links for custom services
> -------------------------------
>
> Key: AMBARI-11268
> URL: https://issues.apache.org/jira/browse/AMBARI-11268
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Dmitry Vasilenko
> Assignee: Di Li
> Labels: feature_custom_service
> Fix For: 2.2.0
>
> Attachments: AMBARI-11268.patch, Stack Driven Quick Links.pdf
>
>
> The existing version of the Ambari (2.0) does not have a declarative way to
> add "Quick Links" for the custom services. Currently, to add a "Quick Links"
> dropdown one has to do the following:
> 1. Extract app.js file from /usr/lib/ambari-server/web/javascripts/app.js.gz
> to some directory.
> 2. Add MY_CUSTOM_SERVICE entry to the quickLinks:
> {noformat}
> mapQuickLinks: function (finalJson, item){
> if(!(item && item.ServiceInfo)) return;
> var quickLinks = {
> OOZIE: [19],
> GANGLIA: [20],
> STORM: [31],
> FALCON: [32],
> RANGER: [33],
> SPARK: [34],
> MY_CUSTOM_SERVICE: [35]
> };
> {noformat}
> 3. Add an entry to
> {noformat}
> App.QuickLinks.FIXTURES = [
> {
> id: 35,
> label:'My Custom Service Admin UI',
> url:'%@://%@:8090/my_custom_service/admin',
> service_id: 'MY_CUSTOM_SERVICE',
> template:'%@://%@:8090/my_custom_service/admin'
> },
> {noformat}
> 4. GZip the app.js and upload it to the Ambari server as
> /usr/lib/ambari-server/web/javascripts/app.js.gz.
> Having a declarative way of adding "Quick Links" on the custom service level
> will be much more convenient.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)