Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Allow the association of target platforms with Archetypes #186

Open
rromannissen opened this issue Jul 8, 2024 · 4 comments · Fixed by #206
Open

[RFE] Allow the association of target platforms with Archetypes #186

rromannissen opened this issue Jul 8, 2024 · 4 comments · Fixed by #206
Assignees
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Milestone

Comments

@rromannissen
Copy link
Contributor

What is the problem?

There is no way for an organization to enforce certain migration paths for applications associated with a certain archetype to land on specific target platforms. This allows migrators to explore migration paths that are not sanctioned by the organization, opening up the door for runtime/platforms and technology stacks that don't meet the corporate policy.

Why is this a problem?

After interviewing several large organizations, it has been revealed that modernization projects are perceived by them as an opportunity to further standardize the application landscape, narrowing down the number of allowed archetypes, technology stacks and runtime/platforms to a few supported options. For MTA to be useful on that approach at scale, there needs to be a way for organizations to model the supported runtimes/platforms and technology stacks and associate them with archetypes, and from there, streamline and simplify the analysis process for migrators.

Proposed solution

  • The concept of Target Platform will be introduced to model a potential runtime/platform for applications that are associated to a given archetype.
  • For each Target Platform associated to a given archetype, users should be able to associate one or many migration paths.
    • Target Platforms could have different sets of migration paths for different archetypes. For example, the "Kubernetes" Target Platform could include the OpenJDK 21, EAP 8 and Containerization migration paths for the "EAP 6" archetype, and then include the OpenJDK 21 and Containerization migration targets for the "Spring Boot" archetype.

Screenshot from 2024-07-08 15-52-08

  • These relationships could be used to enforce certain migration motions for migrators on the analysis wizard or external systems like the CLI, IDE plugins and potential future integrations with Backstage.

Open Questions

  • Should this relationship be managed in the Migration or the Administration perspective?
@konveyor-ci-bot konveyor-ci-bot bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jul 8, 2024
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. label Jul 8, 2024
@konveyor-ci-bot konveyor-ci-bot bot added the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Jul 8, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Jul 8, 2024
@dymurray dymurray added this to the v0.6.0 milestone Aug 1, 2024
@dymurray dymurray moved this from 🆕 New to 🔖 Ready in Planning Aug 1, 2024
@sjd78
Copy link
Member

sjd78 commented Aug 8, 2024

Some of my initial thoughts:

  • Migration Paths seem like another way to describe a migration target, which really is a ruleset target label. For example, the "Application server migration to" target card with "JBoss EAP 8" selected ultimately enables the label konveyor.io/target=eap8 on an analysis.

  • Target Platform looks like a collection of target labels. Following the example in the diagram, Kubernetes could be a set of labels konveyor.io/target=cloud-readiness, konveyor.io/target=openjdk21, and konveyor.io/target=eap8.

  • Archetypes would just need to be extended to support a collection of Target Platforms.

  • If an Archetype has a set of Target Platforms, the Analysis Wizard would just union the set of Target Platforms from all selected Applications, and then either...

    • Preselect the target cards based on the union of target platform labels, or
    • Allow selection of targets by selecting the target platforms (2 sets of selections would be available -- Target Platforms and Target Cards)
    • Question: If Target Platforms are in effect via an Application's Archetype, can the target cards still be selected directly?

@rromannissen
Copy link
Contributor Author

@sjd78 I think you are totally right in your assumptions. About your question, I think that could be a configuration thing, allowing the admin to restrict whether migrators can still make choices outside the indirect relationship between archetypes and migration paths or not. Example: If an application belongs to Archetype EAP 6 associated with Kubernetes and Traditional Standalone, allowing migrators to still manually select "Quarkus" or not would depend on some configuration parameter.

@sjd78 sjd78 moved this from 🔖 Ready to 🏗 In progress in Planning Aug 27, 2024
sjd78 added a commit to sjd78/konveyor-enhancements that referenced this issue Aug 30, 2024
sjd78 added a commit to sjd78/konveyor-enhancements that referenced this issue Aug 30, 2024
@sjd78 sjd78 closed this as completed in ec7a493 Aug 30, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Planning Aug 30, 2024
@rromannissen rromannissen reopened this Nov 20, 2024
@rromannissen
Copy link
Contributor Author

An enhancement has been successfully submitted, but the feature hasn't been implemented. Reopening the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

5 participants