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

Hudson commented on AMBARI-15538:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #39 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/39/])
AMBARI-15538. Support service-specific repo for add-on services (Balazs 
(smagyari: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7961cd114566d035ee844098865195667d1cb4f5])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* (add) 
ambari-server/src/test/resources/org/apache/ambari/server/stack/UpdateActiveRepoVersionOnStartupTest_initialRepos.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/stack/RepoUtil.java
* (add) 
ambari-server/src/main/java/org/apache/ambari/server/stack/UpdateActiveRepoVersionOnStartup.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceModule.java
* (add) ambari-server/src/test/resources/common-services/ADDON/1.0/metainfo.xml
* (add) 
contrib/management-packs/microsoft-r_mpack/src/main/resources/common-services/MICROSOFT_R/8.0.0/configuration/microsoft-r-env.xml
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
* (add) 
ambari-server/src/test/java/org/apache/ambari/server/stack/StackModuleTest.java
* (edit) ambari-server/src/main/resources/version_definition.xsd
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java
* (add) 
ambari-server/src/test/java/org/apache/ambari/server/stack/RepoUtilTest.java
* (add) 
ambari-server/src/test/resources/common-services/ADDON/1.0/configuration/addon-env.xml
* (edit) 
contrib/management-packs/microsoft-r_mpack/src/main/resources/common-services/MICROSOFT_R/8.0.0/package/scripts/microsoft_r.py
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/stack/StackDirectory.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java
* (add) 
ambari-server/src/test/resources/stacks_with_common_services/HDP/0.2/services/ADDON/repos/repoinfo.xml
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerCommonServicesTest.java
* (add) 
ambari-server/src/test/resources/stacks_with_common_services/HDP/0.2/services/ADDON/metainfo.xml
* (add) 
contrib/management-packs/microsoft-r_mpack/src/main/resources/custom-services/MICROSOFT_R/8.0.0/repos/repoinfo.xml
* (add) 
ambari-server/src/test/java/org/apache/ambari/server/stack/UpdateActiveRepoVersionOnStartupTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java


> Support service-specific repo for add-on services
> -------------------------------------------------
>
>                 Key: AMBARI-15538
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15538
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0, 2.2.0, 2.4.0
>            Reporter: Jayush Luniya
>            Assignee: Balázs Bence Sári
>            Priority: Critical
>             Fix For: 2.5.0, 2.4.2
>
>         Attachments: AMBARI-15538-custom-repos-patch6-branch-25.diff, 
> AMBARI-15538-custom-repos-patch6-trunk.diff
>
>
> The approach for custom-services to specify their own repo location will be 
> to provide a {{/repos/repoinfo.xml}} inside the stack-version they will be 
> in. This repo file will be loaded by Ambari during startup into the 
> {{/api/v1/stacks/HDP/versions/2.4/repository_versions}} repos. *Service repo 
> files have a restriction that their (repo-name, base-url) locations should be 
> unique and not conflict*. When conflicts do occur, they will not be loaded 
> into the stacks model.
> Now the management-pack will provide such repos/ folder in 
> {{mpacks/custom-services/8.0.0/repos}} which will be linked into the stacks/ 
> folder.
> {{ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/SERVICE_NAME/repos
>  -> mpacks/custom-services/8.0.0/repos}}



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

Reply via email to