Skip to content

Commit

Permalink
FLPATH-1555: Repo requirements for MTA workflow (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferubah authored Aug 12, 2024
1 parent f2688c6 commit 17f1e3e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mta-v6.x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ optional. Instead of an html report the workflow will use a machine friendly jso

All the configuration items are on [./application.properties]

For running and testing the workflow refer to [mta testing](https://github.com/parodos-dev/serverless-workflows/tree/main/mta#output).

# Workflow Diagram
![mta workflow diagram](https://github.com/parodos-dev/serverless-workflows/blob/main/mta/mta.svg?raw=true)

Expand Down
2 changes: 2 additions & 0 deletions mta-v7.x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ optional. Instead of an html report the workflow will use a machine friendly jso

All the configuration items are on [./application.properties]

For running and testing the workflow refer to [mta testing](https://github.com/parodos-dev/serverless-workflows/tree/main/mta#output).

# Workflow Diagram
![mta workflow diagram](https://github.com/parodos-dev/serverless-workflows/blob/main/mta/mta.svg?raw=true)

Expand Down
18 changes: 18 additions & 0 deletions mta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,27 @@ optional. Instead of an html report the workflow will use a machine friendly jso

All the configuration items are on [./application.properties]

# Testing
User can test the MTA workflow by providing a git repository.
#### Existing Repository
An existing repository can be used. Alternatively, user can use example repo: [spring-petclinic][7]
#### New Repository
- Create a git repo with a simple Java class. It can either be public or private.
Currently, MTA supports mostly Java projects.
- If repository is private, refer to [configuring repository][4] on how to set up credentials on MTA.
- Note: When creating the source control credentials in MTA (usually done by MTA admin), ensure to input personal access token in the password field.
Refer to [personal access token] [5] on how to create personal access token (classic) on GitHub.
- Also, git url address must use https. Refer to [about remote repositories][6] for more details.
- If the repo is public, no further configuration is needed.


# Workflow Diagram
![mta workflow diagram](https://github.com/parodos-dev/serverless-workflows/blob/main/mta/mta.svg?raw=true)

[1]: https://developers.redhat.com/products/mta/download
[2]: https://github.com/parodos-dev/serverless-workflows/blob/main/assessment/schema/workflow-options-output-schema.json
[3]: https://github.com/parodos-dev/serverless-workflows/tree/main/move2kube
[4]: https://docs.redhat.com/en/documentation/migration_toolkit_for_applications/6.2/html-single/user_interface_guide/index#configuring-credentials
[5]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic
[6]: https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories
[7]: https://github.com/spring-projects/spring-petclinic

0 comments on commit 17f1e3e

Please sign in to comment.