[ 
https://issues.apache.org/jira/browse/AMBARI-12811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nahappan Somasundaram reassigned AMBARI-12811:
----------------------------------------------

    Assignee: Sumit Mohanty  (was: Nahappan Somasundaram)

> Disable old APIs to manage baseurl values
> -----------------------------------------
>
>                 Key: AMBARI-12811
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12811
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.1
>            Reporter: Nahappan Somasundaram
>            Assignee: Sumit Mohanty
>            Priority: Critical
>              Labels: ambari-server, newbie
>             Fix For: 2.3.0
>
>
> Starting Ambari-2.0 and HDP-2.2, the baseurl for HDP/HDP-UTILS are being 
> tracked in the repo_version table. However, the API to manage baseurls 
> through metainfo are still working and it causes confusion for people who 
> have been using these APIs.
> The following API should throw an error if HDP version is 2.2 or higher. Note 
> that this is an error only if HDP version is 2.2. or higher and the property 
> being modified is "base_url".
> {code}
> curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d 
> '{"Repositories":{"base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0","verify_base_url":true}}'
>  
> http://localhost:8080/api/v1/stacks/HDP/versions/2.2/operating_systems/redhat6/repositories/HDP-2.2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to