This task creates, drops, repairs, recreates and cleans a BPM Directory database schema.
Example:
<fuego:directoryschema action="create" file="/tmp/directory.xml">
<fuego:admin user="system" password="password" orgName="Oracle"/>
</fuego:directoryschema>
Note: This task does not add the newly created schema to the list of
directories in the BPM Admin Center. In order to configure your BPM installation to
use your new Directory schema, you must copy the directory.xml
file to the following directories: <ORABPM_HOME>/conf/,
<ORABPM_HOME>/webapps/*/WEB-INF/.
| Attribute | Description | Type | Required? |
| haltonerror | Stop the Ant build process if an error occurs. | boolean | No Defaults to true. |
| file |
The directory.xml file containing the schema properties.
When you create a new BPM Directory using Admin Center, a
directory.xml is created at <ORABPM_HOME>/conf/directory.xml.
|
File | Yes |
| verbose | Verbose output. | boolean | No Default is false |
| action |
Defines the operation to execute:
|
String ["create", "drop", "repair", "recreate", "clean", "initialize"] | Yes |
| sqlstatementsoutputfile |
File where to save the SQL statements when showsqlstatements is set to
true.
|
File |
No Only needed if showsqlstatements is true.
|
| fuegobasedir | Path to Oracle BPM Enterprise installation directory. | File |
No Defaults to value of fuego.basedir property of your
Ant script.
|
| loaderref | Reference to BPM classloader. Used internally. | Reference | No |
| showsqlstatements |
Set this option to true if you want the create action to
save the DDL SQL statements to a file, instead of actually connecting to the
database and executing them. See sqlstatementsoutputfile.
|
boolean | No Defaults to false. |
| runtimeproperties | Optional file with additional runtime properies to establish a session to the Directory. | File | No Defaults to null. |
This element is required when action is set to
enable-location, create-database,
clean-database or drop-database.
| Attribute | Description | Type | Required |
| user | ID of the Administrator user. | String | Yes When used for connections not to the BPM Directory |
| password | User or participant's password. | String | Yes |
| orgname | Sets the logical organization name | String | Yes When used to connect to a BPM Directory |