mitchell852 commented on a change in pull request #4415: Updated Traffic Portal
to use TO API v2.0
URL: https://github.com/apache/trafficcontrol/pull/4415#discussion_r384162356
##########
File path: traffic_portal/app/src/common/api/JobService.js
##########
@@ -31,9 +31,8 @@ var JobService = function($http, ENV) {
};
this.createJob = function(job) {
- return $http.post(ENV.api['root'] + 'user/current/jobs',
job).then(
+ return $http.post(ENV.api['root'] + 'jobs', job).then(
Review comment:
i am unable to create a "job" directly from a delivery service. i.e.
https://tp.domain.com/#!/delivery-services/2/jobs/new?type=HTTP and try to
create a job.
`deliveryService: cannot be blank., startTime: must be in the future`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services