Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Rule Template

Bruno Borges edited this page Jun 7, 2023 · 1 revision

Rule template

The development guide has dewtailed information on how to author the XML rules:

https://access.redhat.com/documentation/en-us/red_hat_jboss_migration_toolkit/3.0/html-single/windup_rules_development_guide/index#xml_rule_structure

As we draft the Azure rules, we need to think of the following high level properties:

  • tags
  • hints
  • targets
  • classification

A classification has the following properties:

  • title
  • description
  • effort
  • quickfix
  • links

To draft a rule, we may need to use high-level logic decision tree, such as:

when(app has postgres) and (app is spring)
  perform()
    hint(configure app to connect to postgresql with passwordless using spring data)
    link(<url to azure spring postgres tutorial>)
otherwise()
  perform()
    hint(configure app to connect to postgresql with passwordless using jdbc)
    link(<url to generic jdbc postgres tutorial>)

Clone this wiki locally