createAssets
Creates assets by using the specified script.
The endpoint is specified as a project URL, such as project-url:// Endpoints/TargetDB. The module ID is typically either http://www.approuter.com/module/webservice/ or http:// www.approuter.com/module/database/
Database assets
must be enclosed as specified in the following table.
Database | Enclosure |
---|---|
DB2® AS/400® | " " |
Informix® | [ ] |
Microsoft SQL | [ ] |
Oracle | " " |
Sybase | " " |
The following table lists the assets that can be created
for the databases.
Database | Asset |
---|---|
DB2 As/400, Informix, Microsoft, Sybase | Applies to Clouds, Integration Appliances. Buffer tables, control tables, and triggers. |
Local Staging Database | Buffer tables, control table, index tables, and triggers |
Oracle | Buffer tables, control tables, sequences, and triggers |
Applies to Clouds and Integration Appliances.
Parameters:
- projectName
- The name of the specified project.
- version
- The version number for the specified project.
- configName
- The configuration name for the specified project.
- ModuleID
- The module ID for the assets.
- endpointUrl
- The endpoint URL for the assets.
- propNames
- The names of the property assets.
- username
- The user ID for the endpoint.
- password
- The password for the endpoint.
- assetType
- The type of asset.
- script
- The script to run against the endpoint.
Together projectName, version, and configName uniquely identify a configuration.
- Returns:
- Success or failure.