Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented by: SIF 3.0 Environment Management Consumer Environments Direct Environments Java Joerg Huber.

Similar presentations


Presentation on theme: "Presented by: SIF 3.0 Environment Management Consumer Environments Direct Environments Java Joerg Huber."— Presentation transcript:

1 Presented by: SIF 3.0 Environment Management Consumer Environments Direct Environments Java Joerg Huber

2 © Systemic Pty Ltd September 2014 Training Course - Sydney: SIF 3.0 - Environment Management 2 Overview of Exercises  Consumer Environment Environment XML Template consumer.properties  Direct Provider Environment Environment XML Template Database Configuration  Brokered Provider Environments Same as Consumer Environment!

3 © Systemic Pty Ltd September 2014 Training Course - Sydney: SIF 3.0 - Environment Management 3 Environment Templates & Instances The SIF3 Framework has a concept of:  Environment Templates Managed/Maintained by developer, admin … It is a “Configuration” Stored as XML Snippets  Environment Instances Managed by framework internally Runtime Based on Environment Templates with “missing” bits populated. Stored in database (SIF3_SESSION)

4 © Systemic Pty Ltd September 2014 Training Course - Sydney: SIF 3.0 - Environment Management 4 Consumer Environment Templates Consumer sends an Environment XML to environment provider:  “Who I am”: Consumer Name, Application Key  “What do I understand”: Transport, Data Model  Actual environment XML Template is stored in the directory called “ /consumer/template ” set in environment.properties file in the env.store.dir property.  consumer.properties file: Set adapter.id, env.xml.file.name, env.application.key, env.authentication.method Will populate missing bits in final environment XML See Exercise 3.1 for details

5 © Systemic Pty Ltd September 2014 Training Course - Sydney: SIF 3.0 - Environment Management 5 Direct Provider Environment Templates Direct Environment Provider “responds” with an Environment XML to a consumer:  “What are your endpoints”: Infrastructure URIs  “What are you allowed to do”: Services & ACLs  A Direct Environment Provider can deal with many Environment Templates! => Database Configuration  Actual Environment XML Templates are stored in the /provider/direct/template directory. Note: set in environment.properties file in the env.store.dir property.

6 © Systemic Pty Ltd September 2014 Training Course - Sydney: SIF 3.0 - Environment Management 6 Direct Provider Environment Templates (cont.) Database Configuration for DIRECT Environment Provider  Table SIF3_ENV_TEMPLATE Holds the file names of all available environment template XMLs Full path of environment template is the file name in this table with the env.store.dir property from environment.properties prefixed.  Table SIF3_APP_TEMPLATE Links a template from the SIF3_ENV_TEMPLATE table with an actual application. Application is defined by the APPLICATION_KEY, PASSWORD, AUTH_METHOD. These values MUST be given to a consumer Consumer adds them in the consumer.properties file! Other columns in this table are optional (see SIF 3.0.1 Specification for details on their use). Note: There is no configuration required in the provider.properties file! See Exercise 3.2 for details

7 © Systemic Pty Ltd September 2014 Training Course - Sydney: SIF 3.0 - Environment Management 7 Brokered Provider Environment Templates In a brokered environment the Object Provider behaves just like a consumer when it comes to the management of environment templates.  “Who I am”: Provider Name, Application Key  “What do I understand”: Transport, Data Model  Actual environment XML Template is stored in the directory called “ /provider/brokered/template ” set in environment.properties file in the env.store.dir property. Has the same structure as the consumer environment XML. provider.properties file: Set adapter.id, env.xml.file.name, env.application.key, env.authentication.method


Download ppt "Presented by: SIF 3.0 Environment Management Consumer Environments Direct Environments Java Joerg Huber."

Similar presentations


Ads by Google