Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

add task log & fix report url for mta #428

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

RichardW98
Copy link
Contributor

@RichardW98 RichardW98 commented Jun 14, 2023

What this PR does / why we need it:
add task log & fix report url for mta
Screenshot 2023-06-14 at 1 16 00 PM

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story (FLPATH-xxxx):
Fixes #

Change type

  • New feature
  • Bug fix
  • Unit tests
  • Integration tests
  • CI
  • Documentation
  • Auto-generated SDK code

Impacted services

  • Workflow Service
  • Notification Service

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.

Copy link
Collaborator

@pkliczewski pkliczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

}
else if (result instanceof Result.Success<TaskGroup> success) {
if ("Ready".equals(success.value().state()) && success.value().tasks() != null
&& "Succeeded".equals(success.value().tasks()[0].state())) {
String reportURL = "%s/hub/applications/%d/bucket/%s".formatted(serverUrl,
String reportURL = "%s/hub/applications/%d/bucket%s".formatted(serverUrl,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not for today, but perhaps this one can use something like URLBuilder to make sure the URL is valid.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea agree

@masayag
Copy link
Collaborator

masayag commented Jun 14, 2023

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Jun 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: masayag

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 6122832 into parodos-dev:main Jun 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants