Skip to content

[SUGGESTION] Add a new column: type to filter or sort the files according to their type: pom, resource, java, etc #529

@cmoulliard

Description

@cmoulliard

SUGGESTION

Add a new column: type (and perhaps too part of the rule definition) to filter or sort the files impacted by the change according to their type: pom.xml, resource, java, etc

- category: mandatory
  customVariables: []
  description: Replace the Spring Parent POM with Quarkus BOM
  effort: 1
  labels:
  - konveyor.io/source=springboot
  - konveyor.io/target=quarkus
  links:
  - title: Quarkus - Building applications with Maven Guide
    url: https://quarkus.io/guides/maven-tooling#build-tool-maven
  message: "Replace the Spring Parent POM with Quarkus BOM in `<dependencyManagement>`
    section of the application's `pom.xml` file. \n Leverage the link below to fulfill
    this change."
  ruleID: springboot-parent-pom-to-quarkus-00000
  type: pom.xml
  when:
    or:
    - builtin.xml:
        filepaths:
        - pom.xml
        namespaces:
          m: http://maven.apache.org/POM/4.0.0
        xpath: /m:project/m:parent[m:groupId/text() = 'org.springframework.boot' and
          m:artifactId/text() = 'spring-boot-starter-parent']
...
- category: mandatory
  customVariables: []
  description: Remove the SpringBoot @SpringBootApplication annotation
  effort: 1
  labels:
  - konveyor.io/source=springboot
  - konveyor.io/target=quarkus
  links: []
  message: "Remove the SpringBoot @SpringBootApplication annotation.\n\n A Spring
    Boot application contains a \"main\" class with the @SpringBootApplication annotation.
    A Quarkus applicati...he Quarkus application."
  ruleID: springboot-annotations-to-quarkus-00000
  type: java
  when:
    java.referenced:
      location: ANNOTATION
      pattern: org.springframework.boot.autoconfigure.SpringBootApplication

See the idea in action here

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-kindIndicates an issue or PR lacks a `kind/foo` label and requires one.needs-priorityIndicates an issue or PR lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions