[jira] [Comment Edited] (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 edited comment on TC-384 at 8/17/17 6:16 PM:


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 agree it better appear in the RN. How do we do that.




was (Author: nirsopher):
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] [Comment Edited] (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 edited comment on TC-384 at 8/16/17 7:50 PM:
--

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

[~n...@qwilt.com] I agree..   Can you add a note and close it?


was (Author: dangogh):
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)