[jira] [Commented] (TC-407) Cannot update a steering type delivery service via API

2017-08-21 Thread Jeremy Mitchell (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16135719#comment-16135719
 ] 

Jeremy Mitchell commented on TC-407:


I cannot reproduce this and I talked to [~jpappa200] and he thinks it was 
resolved.

> Cannot update a steering type delivery service via API
> --
>
> Key: TC-407
> URL: https://issues.apache.org/jira/browse/TC-407
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Affects Versions: 2.1.0, 2.2.0
>Reporter: Joseph Pappano
>Assignee: Jeremy Mitchell
> Fix For: 2.1.0, 2.2.0
>
>
> The API to update a delivery service requires an origin server FQDN. Steering 
> type delivery services to not have one and the api fails with the following 
> error.
> {code}
> {u'alerts': [{u'level': u'error', u'text': u'orgServerFqdn is required'}]}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TC-407) Cannot update a steering type delivery service via API

2017-08-16 Thread Hank Beatty (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16129060#comment-16129060
 ] 

Hank Beatty commented on TC-407:


[~jpappa200] Please Jeremy's comments above. Will close this issue in 3 days if 
no response.

> Cannot update a steering type delivery service via API
> --
>
> Key: TC-407
> URL: https://issues.apache.org/jira/browse/TC-407
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Affects Versions: 2.1.0, 2.2.0
>Reporter: Joseph Pappano
>Assignee: Jeremy Mitchell
>
> The API to update a delivery service requires an origin server FQDN. Steering 
> type delivery services to not have one and the api fails with the following 
> error.
> {code}
> {u'alerts': [{u'level': u'error', u'text': u'orgServerFqdn is required'}]}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TC-407) Cannot update a steering type delivery service via API

2017-08-10 Thread Jeremy Mitchell (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16122370#comment-16122370
 ] 

Jeremy Mitchell commented on TC-407:


This code is supposed to skip the org server requirement check if type is 
*steering* or any_map

https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Deliveryservice.pm#L1371

can you ensure that the type of DS you are trying to update is truly of type 
steering? I guess that would mean checking the typeId that is sent in with the 
request and ensure that it lines up with a steering DS. 

Also, I tried updating a STEERING ds via the api in 2.1.x branch and it seems 
to work fine.

> Cannot update a steering type delivery service via API
> --
>
> Key: TC-407
> URL: https://issues.apache.org/jira/browse/TC-407
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Affects Versions: 2.1.0
>Reporter: Joseph Pappano
>Assignee: Jeremy Mitchell
>
> The API to update a delivery service requires an origin server FQDN. Steering 
> type delivery services to not have one and the api fails with the following 
> error.
> {code}
> {u'alerts': [{u'level': u'error', u'text': u'orgServerFqdn is required'}]}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)