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

[RHPAM-3041][cherry-pick]-In Operator UI users cannot check if they want to deploy… #467

Merged
merged 1 commit into from Jul 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 @@
]
}
]
}
}