Skip to content

Commit

Permalink
Up parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiahub committed Aug 8, 2023
1 parent 56a54af commit 4eef8b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ui/src/app/shared/api/task.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ describe('shared/api/task.service.ts', () => {
TaskExecution.parse({
externalExecutionId: 'foo',
arguments: [
'--spring.cloud.data.flow.platformname=bar',
'--spring.cloud.data.flow.schematarget=boot2'
'--spring.cloud.data.flow.platformname=bar'
]
})
);
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/shared/api/task.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class TaskService {
}
const url = taskExecution?._links && taskExecution?._links['tasks/logs'] !== undefined
? taskExecution?._links['tasks/logs'].href :
UrlUtilities.calculateBaseApiUrl() + `tasks/logs/${taskExecution.externalExecutionId}?platformName=${platform}&schemaTarget=${taskExecution.schemaTarget}`;
UrlUtilities.calculateBaseApiUrl() + `tasks/logs/${taskExecution.externalExecutionId}${platform}&schemaTarget=${taskExecution.schemaTarget}`;
return this.httpClient
.get<any>(url, {
headers
Expand Down
1 change: 1 addition & 0 deletions ui/src/app/shared/model/task-execution.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class TaskExecution {
execution.endTime = input?.endTime ? DateTime.fromISO(input.endTime) : null;
execution.exitMessage = input?.exitMessage;
execution.arguments = input?.arguments || [];
execution.schemaTarget = input?.schemaTarget || 'boot2';
execution.jobExecutionIds = input?.jobExecutionIds || [];
execution.errorMessage = input?.errorMessage;
execution.taskExecutionStatus = input?.taskExecutionStatus;
Expand Down

0 comments on commit 4eef8b4

Please sign in to comment.