TO Client: no ids required in input json#2928
Conversation
|
Refer to this link for build results (access rights to CI server needed): |
|
retest this please |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
What does this PR do?
Removes requirement for providing IDs for foreign keys when using traffic ops client. Example: using
client.CreateProfile, the Cdn field currently must be provided ascdnID. With this change, it can be provided instead ascdnName.Which TC components are affected by this PR?
What is the best way to verify this PR?
The API tests have also been modified to take advantage of this capability. From
traffic_ops/testing/api/v14, rungo test -cfg ../conf/traffic_ops_test.confto test.Check all that apply