Skip to content

Commit

Permalink
Merge pull request #467 from swati-kale/RHPAM_3041
Browse files Browse the repository at this point in the history
[RHPAM-3041][cherry-pick]-In Operator UI users cannot check if they want to deploy…
  • Loading branch information
tchughesiv committed Jul 9, 2020
2 parents 3839b2e + 2cb51c8 commit 0edc849
Showing 1 changed file with 109 additions and 100 deletions.
209 changes: 109 additions & 100 deletions deploy/ui/form.json
Expand Up @@ -1631,120 +1631,129 @@
"label": "Process Instance Migration",
"fields": [
{
"label": "Image",
"label": "Process Instance Migration",
"required": false,
"jsonPath": "$.spec.objects.processMigration.image",
"description": "The image to use for Process Instance Migration.",
"type": "text"
},
{
"label": "Image tag",
"required": false,
"jsonPath": "$.spec.objects.processMigration.imageTag",
"description": "The image tag to use for Process Instance Migration.",
"type": "text"
},
{
"label": "Database",
"type": "fieldGroup",
"visible": true,
"jsonPath": "$.spec.objects.processMigration.database",
"jsonPath": "$.spec.objects.processMigration",
"type": "object",
"max": 1,
"fields": [
{
"label": "Database type",
"type": "dropDown",
"label": "Image",
"required": false,
"jsonPath": "$.spec.objects.processMigration.image",
"description": "The image to use for Process Instance Migration.",
"type": "text"
},
{
"label": "Image tag",
"required": false,
"jsonPath": "$.spec.objects.processMigration.database.type",
"originalJsonPath": "$.spec.objects.processMigration.database.type",
"jsonPath": "$.spec.objects.processMigration.imageTag",
"description": "The image tag to use for Process Instance Migration.",
"type": "text"
},
{
"label": "Database",
"type": "fieldGroup",
"visible": true,
"jsonPath": "$.spec.objects.processMigration.database",
"fields": [
{
"label": "Size",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.size",
"default": "100Gi",
"description": "Size of the Persistent Volume Claim to create. For example, 100Gi"
},
{
"label": "storageClassName",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.storageClassName",
"default": "100Gi",
"description": "The storageClassName to use for database pvc's."
},
{
"label": "External database",
"type": "fieldGroup",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig",
"displayWhen": "external",
"visible": false,
"label": "Database type",
"type": "dropDown",
"required": false,
"jsonPath": "$.spec.objects.processMigration.database.type",
"originalJsonPath": "$.spec.objects.processMigration.database.type",
"fields": [
{
"label": "Driver",
"type": "text",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.driver",
"description": "Driver name to use. For example, mysql."
},

{
"label": "Jdbc URL",
"label": "Size",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.jdbcURL",
"description": "Database JDBC URL. For example, jdbc:mysql:mydb.example.com:3306/rhpam",
"default": "jdbc:mysql://127.0.0.1:3306/rhpam",
"required": true
"jsonPath": "$.spec.objects.processMigration.database.size",
"default": "100Gi",
"description": "Size of the Persistent Volume Claim to create. For example, 100Gi"
},
{
"label": "User name",
"label": "storageClassName",
"type": "text",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.username",
"description": "External database username."
"jsonPath": "$.spec.objects.processMigration.database.storageClassName",
"default": "100Gi",
"description": "The storageClassName to use for database pvc's."
},
{
"label": "Password",
"type": "password",
"label": "External database",
"type": "fieldGroup",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.password",
"description": "External database password."
},
{
"label": "Mininimum connection pool size",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.minPoolSize",
"description": "Sets xa-pool/min-pool-size for the configured datasource."
},
{
"label": "Maximum connection pool size",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.minPoolSize",
"description": "Sets xa-pool/max-pool-size for the configured datasource."
},
{
"label": "Valid connection checker class",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.connectionChecker",
"description": "An org.jboss.jca.adapters.jdbc.ValidConnectionChecker that provides a SQLException isValidConnection(Connection e) method to validate if a connection is valid."
},
{
"label": "Exception sorter class",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.exceptionSorter",
"description": "An org.jboss.jca.adapters.jdbc.ExceptionSorter that provides a boolean isExceptionFatal(SQLException e) method to validate if an exception should be broadcast to all javax.resource.spi.ConnectionEventListener as a connectionErrorOccurred."
},
{
"label": "Background validation",
"type": "checkbox",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.backgroundValidation",
"default": "false",
"description": "Sets the sql validation method to background-validation, if set to false the validate-on-match method will be used."
},
{
"label": "Background validation interval (milliseconds)",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.backgroundValidationMillis",
"description": "Defines the interval for the background-validation check for the jdbc connections."
"jsonPath": "$.spec.objects.processMigration.database.externalConfig",
"displayWhen": "external",
"visible": false,
"fields": [
{
"label": "Driver",
"type": "text",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.driver",
"description": "Driver name to use. For example, mysql."
},

{
"label": "Jdbc URL",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.jdbcURL",
"description": "Database JDBC URL. For example, jdbc:mysql:mydb.example.com:3306/rhpam",
"default": "jdbc:mysql://127.0.0.1:3306/rhpam",
"required": true
},
{
"label": "User name",
"type": "text",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.username",
"description": "External database username."
},
{
"label": "Password",
"type": "password",
"required": true,
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.password",
"description": "External database password."
},
{
"label": "Mininimum connection pool size",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.minPoolSize",
"description": "Sets xa-pool/min-pool-size for the configured datasource."
},
{
"label": "Maximum connection pool size",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.minPoolSize",
"description": "Sets xa-pool/max-pool-size for the configured datasource."
},
{
"label": "Valid connection checker class",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.connectionChecker",
"description": "An org.jboss.jca.adapters.jdbc.ValidConnectionChecker that provides a SQLException isValidConnection(Connection e) method to validate if a connection is valid."
},
{
"label": "Exception sorter class",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.exceptionSorter",
"description": "An org.jboss.jca.adapters.jdbc.ExceptionSorter that provides a boolean isExceptionFatal(SQLException e) method to validate if an exception should be broadcast to all javax.resource.spi.ConnectionEventListener as a connectionErrorOccurred."
},
{
"label": "Background validation",
"type": "checkbox",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.backgroundValidation",
"default": "false",
"description": "Sets the sql validation method to background-validation, if set to false the validate-on-match method will be used."
},
{
"label": "Background validation interval (milliseconds)",
"type": "text",
"jsonPath": "$.spec.objects.processMigration.database.externalConfig.backgroundValidationMillis",
"description": "Defines the interval for the background-validation check for the jdbc connections."
}
]
}
]
}
Expand All @@ -1757,4 +1766,4 @@
]
}
]
}
}

0 comments on commit 0edc849

Please sign in to comment.