Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
Add a new form
Browse files Browse the repository at this point in the history
Add a new form to the tile to extract the consent management configurations
  • Loading branch information
VimukthiPerera authored and msmshariq committed Aug 6, 2019
1 parent c9c8a6d commit bf33803
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions pattern-1/tile/tile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,76 @@ forms:
- name: identity_db_credentials
label: Identity Datasource Credentials
type: simple_credentials

- name: Consent Management Configurations
label: Consent Management Configurations
description: Consent Management Configurations
properties:
- name: consent_db_jdbc_url
type: string
label: Consent Datasource JDBC URL
- name: consent_db_driver
type: dropdown_select
label: Consent Datasource Driver Class Name
options:
- name: com.mysql.jdbc.Driver
label: com.mysql.jdbc.Driver
default: true
- name: com.microsoft.sqlserver.jdbc.SQLServerDriver
label: com.microsoft.sqlserver.jdbc.SQLServerDriver
- name: consent_db_query
type: string
label: Consent Datasource Validation Query
- name: consent_db_credentials
label: Consent Datasource Credentials
type: simple_credentials
- name: consent_mgt_config
label: Enable custom consent configurations
type: selector
configurable: true
default: default
option_templates:
- name: default_option
select_value: default
label: Use default PII Controller configurations
- name: custom_option
label: Customize PII Controller configurations
select_value: custom
property_blueprints:
- name: piicontroller
type: string
label: PII Controller
- name: contact
type: string
label: Contact
- name: email
type: string
label: Email
- name: phone
type: string
label: Phone
- name: piicontroller_url
type: string
label: PII Controller URL
- name: address_country
type: string
label: Country
- name: address_locality
type: string
label: Locality
- name: address_region
type: string
label: Region
- name: address_postoffice_box_number
type: string
label: Post-Office box number
- name: address_postalcode
type: string
label: Postal Code
- name: address_street
type: string
label: Street Address

- name: Certificate Information
label: Trusted CA certificate
description: Trusted CA certificate
Expand Down Expand Up @@ -197,6 +267,25 @@ packages:
query: (( .properties.identity_db_query.value ))
username: (( .properties.identity_db_credentials.identity ))
password: (( .properties.identity_db_credentials.password ))
consent_mgt_conf:
consent_db:
jdbc_url: (( .properties.consent_db_jdbc_url.value ))
driver: (( .properties.consent_db_driver.value ))
query: (( .properties.consent_db_query.value ))
username: (( .properties.consent_db_credentials.identity ))
password: (( .properties.consent_db_credentials.password ))
piicontroller: (( .properties.consent_mgt_config.custom_option.piicontroller.value ))
contact: (( .properties.consent_mgt_config.custom_option.contact.value ))
email: (( .properties.consent_mgt_config.custom_option.email.value ))
phone: (( .properties.consent_mgt_config.custom_option.phone.value ))
piicontroller_url: (( .properties.consent_mgt_config.custom_option.piicontroller_url.value ))
country: (( .properties.consent_mgt_config.custom_option.address_country.value ))
locality: (( .properties.consent_mgt_config.custom_option.address_locality.value ))
region: (( .properties.consent_mgt_config.custom_option.address_region.value ))
postoffice_box_number: (( .properties.consent_mgt_config.custom_option.address_postoffice_box_number.value ))
postalcode: (( .properties.consent_mgt_config.custom_option.address_postalcode.value ))
street_address: (( .properties.consent_mgt_config.custom_option.address_street.value ))

route_registrar:
routes:
- name: wso2is
Expand Down

0 comments on commit bf33803

Please sign in to comment.