Creating models and datastores using the SDK
The SDK offers full control over the metadata defined in the ODI repositories. Developers can write scripts to create or modify datastores, models, as well as other artifacts linked to those objects such as constraints. In this recipe, we will be adding two new models and datastores to our environment.
Getting ready
You can follow the instructions using the Groovy editor in ODI Studio 11.1.1.6 and higher. In this recipe, we will reuse the repositories created in the recipe Creating the Master and Work repositories using the SDK. Follow the necessary steps of this recipe to create them. You can also use the
Repository Creation Utility (RCU) or ODI Studio. You will also need to create the DEMO_SRC
and DEMO_TRG
schemas in your database and the DEMO_SRC
and DEMO_TRG
logical schemas for the Oracle technology described in the Preface of this book. No other prerequisites are required.
How to do it...
Follow steps 1 and 2 from the recipe Creating a Project...