# Wizard Configuration File

dialog=Create an OGSA-DAI Data Service Resource Configuration

# ANT Select Category Step
step=selectCategory
summary=Select data resource product
description=
The folowing types of data resource are compatible with OGSA-DAI. 
Select the one you want to expose:
END
category=dai.data.resource.type
subcategory=dai.product.name
numCategories=3

# Category 1
category=Relational
numSubcategories=7

# Category 1 Subcategory 1
subcategory=HSQL
numProperties=8
dai.resource.id=HSQLResource
dai.product.version=1.7.1.b
dai.product.vendor=HSQL
dai.credential=
dai.user.name=sa
dai.password=
dai.driver.class=org.hsqldb.jdbcDriver
dai.data.resource.uri=jdbc:hsqldb:DIRECTORY/FILE

# Category 1 Subcategory 2
subcategory=MySQL
numProperties=8
dai.resource.id=MySQLResource
dai.product.version=4.0
dai.product.vendor=MySQL
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=org.gjt.mm.mysql.Driver
dai.data.resource.uri=jdbc:mysql://HOST:PORT/DATABASE

# Category 1 Subcategory 3
subcategory=IBM DB2
numProperties=8
dai.resource.id=DB2Resource
dai.product.version=
dai.product.vendor=IBM
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=com.ibm.db2.jcc.DB2Driver
dai.data.resource.uri=jdbc:db2://HOST:PORT/DATABASE

# Category 1 Subcategory 4
subcategory=Microsoft SQL Server
numProperties=8
dai.resource.id=SQLServerResource
dai.product.version=
dai.product.vendor=Microsoft
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=com.microsoft.jdbc.sqlserver.SQLServerDriver
dai.data.resource.uri=jdbc:microsoft:sqlserver://HOST:PORT;DatabaseName=NAME

# Category 1 Subcategory 5
subcategory=Postgres
numProperties=8
dai.resource.id=PostgresResource
dai.product.version=
dai.product.vendor=Postgres
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=org.postgresql.Driver
dai.data.resource.uri=jdbc:postgresql://HOST:PORT/DATABASE

# Category 1 Subcategory 6
subcategory=Oracle
numProperties=8
dai.resource.id=OracleResource
dai.product.version=
dai.product.vendor=Oracle
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=oracle.jdbc.driver.OracleDriver
dai.data.resource.uri=jdbc:oracle:thin@HOST:PORT:DATABASE

# Category 1 Subcategory 7
subcategory=Derby
numProperties=8
dai.resource.id=DerbyResource
dai.product.version=
dai.product.vendor=Apache
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=org.apache.derby.jdbc.EmbeddedDriver
dai.data.resource.uri=jdbc:derby:DIRECTORY/FILE

# Category 2
category=XML
numSubcategories=2

# Category 2 Subcategory 1
subcategory=Apache Xindice
numProperties=8
dai.resource.id=XindiceResource
dai.product.version=1.0
dai.product.vendor=Apache
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=org.apache.xindice.client.xmldb.DatabaseImpl
dai.data.resource.uri=xmldb:xindice://HOST:PORT/db/COLLECTION

# Category 2 Subcategory 2
subcategory=eXist
numProperties=8
dai.resource.id=ExistResource
dai.product.version=1.0 Beta 2
dai.product.vendor=eXist
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=org.exist.xmldb.DatabaseImpl
dai.data.resource.uri=xmldb:exist://HOST:PORT/SERVLET-PATH/db/COLLECTION

# Category 3
category=Files
numSubcategories=1

# Category 3 Subcategory 1
subcategory=Files and directories
numProperties=8
dai.resource.id=FilesResource
dai.product.version=
dai.product.vendor=
dai.credential=
dai.user.name=
dai.password=
dai.driver.class=
dai.data.resource.uri=/PATH/TO/DIRECTORY

# ANT Edit Properties Step
step=editProperties
summary=Edit data service resource properties
description=
Edit data service resource properties.
END
numProperties=8
# Property 1
property=dai.data.resource.uri
summary=Data Resource URI
type=URI
optional=false
description=Driver-specific URI required to connect to data resource
# Property 2
property=dai.driver.class
summary=Data Resource Driver Class
type=string
optional=true
description=Data resource driver class name
# Property 3
property=dai.product.vendor
summary=Vendor
type=string
optional=true
description=Database product vendor
# Property 4
property=dai.product.version
summary=Version
type=string
optional=true
description=Database product version
# Property 5
property=dai.credential
summary=Database access credential
type=string
optional=true
description=Credential for mapping to database user ID and password - use 'No Certificate Provided' or leave blank to allow unrestricted access.
# Property 6
property=dai.user.name
summary=Database user ID
type=string
optional=true
description=User ID to allow connection to database
# Property 7
property=dai.password
summary=Database password
type=password
optional=true
description=User password to allow connection to database
# Property 8
property=dai.resource.id
summary=Data Service Resource ID
type=string
optional=false
description=Data service resource ID

# Multiple File Selection Step
step=selectMultipleFiles
summary=Select database driver JARs
description=
Select the JARs implementing the database driver ===dai.driver.class===.
END
property=dai.driver.jars
delimiter=,

# Property Save Step
step=properties
summary=Save data service resource configuration.
description=
Save the data service resource configuration.
This will provide you with a file containing the information you have 
entered. You can then use this with all our tools relating to
data resource deployment e.g. guiDeployResource===dai.container===.
END
property=data.service.resource.file
isALoad=false
numProperties=19
dai.resource.id
dai.data.resource.type
dai.product.name
dai.product.vendor
dai.product.version
dai.data.resource.uri
dai.driver.class
dai.credential
dai.user.name
dai.password
dai.driver.jars
dai.driver.jars.0
dai.driver.jars.1
dai.driver.jars.2
dai.driver.jars.3
dai.driver.jars.4
dai.driver.jars.5
dai.driver.jars.6
dai.driver.jars.7

# Information Step
step=displayInfo
summary=Data service resource configuration created!
description=
You now have a data service resource configuration in ===data.service.resource.file===.
If you wish to exit then press "Cancel" else press "Next" to continue to deploy your data service resource onto ===dai.container===.
END

# File Selection Step
step=selectFile
summary=Select ===dai.container===
description=
Select the ===dai.container=== on which you wish to deploy the data service resource.
END
property=dai.container.dir
directory=true

# ANT Invocation Step
step=invokeANT
summary=Deploy data service resource
description=
Press Next to deploy the data service resource ===dai.resource.id=== onto ===dai.container===.
END
can.skip=false
user.skip=false
file=build.xml
target=guiHelper
numProperties=all

# Information Step
step=displayInfo
summary=Data service resource deployed!
description=
The data service resource ===dai.resource.id=== has been deployed! 
END
