ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9203) Repository Version Management > Base URL validation
Date Mon, 19 Jan 2015 20:45:36 GMT

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

Hadoop QA commented on AMBARI-9203:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12693131/AMBARI-9203.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 4 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 test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1390//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1390//console

This message is automatically generated.

> Repository Version Management > Base URL validation
> ---------------------------------------------------
>
>                 Key: AMBARI-9203
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9203
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Yurii Shylov
>            Assignee: Yurii Shylov
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9203.patch
>
>
> Add new API for base url validations:
> {code}
> POST http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/operating_systems/redhat6/repositories/?validate_only=true
> {
>  "Repositories": {
>    "repo_id":"HDP-2.2",
>    "base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0"
>  }
> }
> {code}
> or
> {code}
> POST http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/operating_systems/redhat6/repositories/HDP-2.2?validate_only=true
> {
>  "Repositories": {
>    "base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0"
>  }
> }
> {code}
> or
> {code}
> [
> {
>  "Repositories": {
>    "repo_id":"HDP-2.2",
>    "base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0"
>  }
> },
> {
>  "Repositories": {
>    "repo_id":"HDP-2.2",
>    "base_url":"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0"
>  }
> }
> ]
> {code}
> should result in 2xx status response *without* creating a new resource if base url is
valid or 5xx status if invalid.



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

Mime
View raw message