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

Commit

Permalink
Use lists in javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Golan <rgolan@redhat.com>
  • Loading branch information
rgolangh authored and openshift-merge-robot committed Jun 7, 2023
1 parent 0b07815 commit 378de1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
import com.fasterxml.jackson.databind.ObjectMapper;

/**
* This class help parsing and representing a migration report which is assumed to be valid html.
* MTA 6.1 should supply a CSV instead and is obviously preferred.
* This class help parsing and representing a migration report which is assumed to be
* valid html. MTA 6.1 should supply a CSV instead and is obviously preferred.
*/
public class MTAAnalysisReport {

/**
* A representation of the summary of the incidents by severity of an MTA analysis report
* A representation of the summary of the incidents by severity of an MTA analysis
* report
* @param mandatory
* @param optional
* @param potential
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
import static com.redhat.parodos.workflows.workflow.SequentialFlow.Builder.aNewSequentialFlow;

/**
* A workflow to analyze applications using Migration Toolkit for Applications
* <p>
* This workflow will: - create an application with a name, and git repo URL - submit an
* analysis report for it - wait till the report is back - send an email with the report
* url
* <p>
* A workflow to analyze applications using Migration Toolkit for Applications. This
* workflow will:
* <ol>
* <li>create an application with a name, and git repo URL</li>
* <li>create a taskgroup prior to submitting the report</li>
* <li>submit an analysis report for it</li>
* <li>wait till the report is back, send a notification when done</li>
* </ol>
* ENV Variables: For security reasons the MTA url and bearer token can be passed to all
* the task constructors For example use MTA_URL and MTA_BEARER_TOKEN To get an email
* supply the following variables MAILER_HOST MAILER_PORT MAILER_USER MAILER_PASS
Expand All @@ -42,14 +44,6 @@ public class MigrationAnalysisWorkflow {
@Value("${workflows.mta.url}")
private String mtaUrl;

// in the end you can send a message to an email server with the fields below. The
// email code
// can be removed from the workflow configuration if not needed or be replaced with
// any messaging system.
// See #messageConsumer
// If you do remove or change the messaging consumer then make sure to update the
// constructor checks.

public MigrationAnalysisWorkflow() {
}

Expand Down

0 comments on commit 378de1c

Please sign in to comment.