[jira] [Commented] (TC-384) Profiles exported from TC1.7 cannot be imported to TC 2.1

2017-08-17 Thread Nir Sopher (JIRA)

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

Nir Sopher commented on TC-384:
---

The "type" should added to the "profile" dictionary in the profile json. For 
example "type":"ATS_PROFILE".
The below command should do the trick (for ATS_PROFILE):
sed -i -- 's/}}/,"type":"ATS_PROFILE"}}/g' * 

[~dangogh] I think it better appear in the RN. How do we do that.



> Profiles exported from TC1.7 cannot be imported to TC 2.1
> -
>
> Key: TC-384
> URL: https://issues.apache.org/jira/browse/TC-384
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Nir Sopher
>Assignee: Dan Kirkwood
>  Labels: profile_parameters
>
> Due to a missing "profile-type" in the 1.7 json, the profiles cannot be 
> imported.



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


[jira] [Commented] (TC-384) Profiles exported from TC1.7 cannot be imported to TC 2.1

2017-08-16 Thread Dan Kirkwood (JIRA)

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

Dan Kirkwood commented on TC-384:
-

I was going to suggest adding this to release notes.  Overkill?

> Profiles exported from TC1.7 cannot be imported to TC 2.1
> -
>
> Key: TC-384
> URL: https://issues.apache.org/jira/browse/TC-384
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Nir Sopher
>Assignee: Dan Kirkwood
>  Labels: profile_parameters
>
> Due to a missing "profile-type" in the 1.7 json, the profiles cannot be 
> imported.



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


[jira] [Commented] (TC-384) Profiles exported from TC1.7 cannot be imported to TC 2.1

2017-08-16 Thread Nir Sopher (JIRA)

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

Nir Sopher commented on TC-384:
---

Waiting for 2.2 will make it irrelevant.
I think it can be dismissed. If someone needs to import a profile he should 
manually add the profile-type to the json

> Profiles exported from TC1.7 cannot be imported to TC 2.1
> -
>
> Key: TC-384
> URL: https://issues.apache.org/jira/browse/TC-384
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Nir Sopher
>Assignee: Dan Kirkwood
>  Labels: profile_parameters
>
> Due to a missing "profile-type" in the 1.7 json, the profiles cannot be 
> imported.



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


[jira] [Commented] (TC-384) Profiles exported from TC1.7 cannot be imported to TC 2.1

2017-08-16 Thread Hank Beatty (JIRA)

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

Hank Beatty commented on TC-384:


[~dangogh] [~n...@qwilt.com] Is this something we want to fix in 2.1 or can it 
wait until 2.2?

> Profiles exported from TC1.7 cannot be imported to TC 2.1
> -
>
> Key: TC-384
> URL: https://issues.apache.org/jira/browse/TC-384
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Nir Sopher
>Assignee: Dan Kirkwood
>  Labels: profile_parameters
>
> Due to a missing "profile-type" in the 1.7 json, the profiles cannot be 
> imported.



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