raas-core
Version:
296 lines (295 loc) • 9.08 kB
JSON
{
"options": [
{
"name": "input",
"description": "Input files or directories (directories are required for source mode).",
"type": "Path",
"ui-type": ["many", "file_or_directory", "text"],
"placeholder": "No Files or Directories Specified",
"required": true
},
{
"name": "target",
"description": "The target server/technology/framework to migrate to. This could include multiple items (eg, \"eap7\" and \"cloud-readiness\").",
"type": "String",
"ui-type": ["select-many", "text"],
"required": true,
"available-options": [
"cloud-readiness",
"jbpm",
"drools",
"fsw",
"eap7",
"hibernate",
"java-ee",
"eap6",
"fuse",
"openjdk",
"eap",
"camel",
"linux",
"hibernate-search",
"resteasy"
]
},
{
"name": "output",
"description": "Output Directory (WARNING: any existing files will be removed).",
"type": "File",
"ui-type": ["directory"],
"required": false
},
{
"name": "overwrite",
"description": "Force overwrite of the output directory, without prompting.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "userRulesDirectory",
"description": "User Rules Directory (Search pattern: *.windup.groovy, *.windup.xml, *.rhamt.groovy and *.rhamt.xml).",
"type": "File",
"ui-type": ["many"],
"placeholder": "No Directories Specified",
"required": false
},
{
"name": "userIgnorePath",
"description": "A path to the list of path patterns to skip during execution. If it points to a directory, all contained files named '*rhamt-ignore.txt' or '*windup-ignore.txt' will be considered as such list.",
"type": "File",
"ui-type": ["file_or_directory"],
"placeholder": "No Files or Directories Specified",
"required": false
},
{
"name": "skipReports",
"description": "If set, RHAMT will not generate reports.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "sourceMode",
"description": "Indicates whether the input is source code or compiled binaries (Default: Compiled).",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "excludePackages",
"description": "A list of java package name prefixes to exclude (eg, com.myapp.subpackage).",
"type": "String",
"ui-type": ["many", "java-package", "text"],
"placeholder": "No Packages Specified",
"required": false
},
{
"name": "mavenizeGroupId",
"description": "Used in conjunction with <code>mavenize</code>. All pom.xml files will use this value as their <groupId>. If the parameter is omitted, RHAMT tries to guess some value based on the application, but this guess may be wrong. Last resort default value is 'com.mycompany.mavenized'.",
"type": "String",
"ui-type": ["single"],
"required": false
},
{
"name": "exportCSV",
"description": "Indicates whether to export CSV file containing the migration information.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "excludeTags",
"description": "Indicates the tags to exclude from processing. If this is unset, then all tags will be processed. If this is set, then Rules with the specified tags will be skipped.",
"type": "String",
"ui-type": ["select-many", "text"],
"required": false,
"available-options": [
"jbpm",
"mail",
"cloud-readiness",
"configuration",
"jboss-eap5",
"jboss-eap6",
"jca",
"descriptor",
"seam",
"hibernate",
"jrun",
"jms",
"glassfish",
"java",
"orion",
"jboss-web",
"ejb",
"log4j",
"jni",
"rpc",
"weblogic",
"drools",
"web-app",
"jonas",
"resin",
"datasource",
"logging",
"clustering",
"webservice",
"socket"
]
},
{
"name": "packages",
"description": "A list of java package name prefixes to scan (eg, com.myapp).",
"type": "String",
"ui-type": ["many", "java-package", "text"],
"placeholder": "No Packages Specified",
"required": false
},
{
"name": "additionalClasspath",
"description": "Adds additional files or directories to the classpath",
"type": "File",
"ui-type": ["many", "file_or_directory", "text"],
"placeholder": "No Files or Directories Specified",
"required": false
},
{
"name": "source",
"description": "The source server/technology/framework to migrate from. This could include multiple items (eg, \"eap\" and \"spring\").",
"type": "String",
"ui-type": ["select-many", "text"],
"required": false,
"available-options": [
"websphere",
"jbpm",
"soa",
"seam",
"eap7",
"hibernate",
"oraclejdk",
"eap6",
"rmi",
"jrun",
"glassfish",
"java",
"orion",
"eap",
"hibernate-search",
"log4j",
"soa-p",
"rpc",
"sonic",
"weblogic",
"drools",
"java-ee",
"javaee",
"sonicesb",
"jonas",
"resin",
"resteasy"
]
},
{
"name": "disableTattletale",
"description": "If set, a Tattletale report won't be generated.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "enableCompatibleFilesReport",
"description": "If set, RHAMT will generate a report of 'Compatible Files'. Keep in mind that generating this report may take a long time for large applications.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "includeTags",
"description": "Indicates the tags to process. If this is unset, then all tags will be processed. If this is set, then only Rules with the specified tags will be processed.",
"type": "String",
"ui-type": ["select-many", "text"],
"required": false,
"available-options": [
"jbpm",
"mail",
"cloud-readiness",
"configuration",
"jboss-eap5",
"jboss-eap6",
"jca",
"descriptor",
"seam",
"hibernate",
"jrun",
"jms",
"glassfish",
"java",
"orion",
"jboss-web",
"ejb",
"log4j",
"jni",
"rpc",
"weblogic",
"drools",
"web-app",
"jonas",
"resin",
"datasource",
"logging",
"clustering",
"webservice",
"socket"
]
},
{
"name": "online",
"description": "Indicates that network access is allowed. By turning it on, XML schemas can be validated against external resources, however, this comes with a performance penalty.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "enableClassNotFoundAnalysis",
"description": "Enable analysis of Java files that are not available on the Classpath. This should be left off if some classes will be unavailable at analysis time.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "enableTattletale",
"description": "If set, a Tattletale report will be generated for each application.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "explodedApp",
"description": "If the input path points to a directory, it should be treated as an unzipped application, instead of a directory containing applications (default).",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "keepWorkDirs",
"description": "If set, RHAMT will not delete the temporary working files, like graph database and unzipped archives. Debugging purposes.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "mavenize",
"description": "Create a Maven project stub (a directory structure with pom.xml files) based on the structure and content of the application. This helps with locating the libraries and their versions, as well as adding the right Java EE API and creating the correct dependencies between the project modules.",
"type": "Boolean",
"ui-type": ["single"],
"required": false
},
{
"name": "inputApplicationName",
"description": "This represents the full name of a given application.",
"type": "String",
"ui-type": ["single"],
"required": false
}
]
}