Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
95 lines (74 sloc) 3.27 KB

Virtualizer Server

The Virtualizer communicates with Information View OMAS and virtualization tool which is currently Gaian. The design of the server allows for other data virtualization platforms to be plugged in by changing the view generation connector.

Virtualizer has three main functions:

  1. listen to Information View OMAS Out topic(specified by property information-view-out-topic) and retrieve InformationViewEvent event (json structure);
  2. create Business Logical View(business terms are used as column names) and Technical Logical View(source table column names are used as view column names), containing only the columns with business terms assigned
  3. create Business View json file and Technical View json file, notify Information View OMAS through publishing on Information View OMAS In topic (specified by property information-view-in-topic).

OMAG server configuration

The Virtualizer is now running as a server on the OMAG Server Platform. In this case, the service should be configured and initialized by the restful APIs provided by the platform.

Here are the steps to run Virtualizer

  1. Start an OMAG Server Platform
  • Configure event bus

POST following JSON object

{
  "consumer":
  {
    "bootstrap.servers" :  "{{kafka-server-address}}"
  },
  "producer":
  {
    "bootstrap.servers" :  "{{kafka-server-address}}",
    "key.serializer": "org.apache.kafka.common.serialization.StringSerializer",
    "value.serializer": "org.apache.kafka.common.serialization.StringSerializer"
  }
}

to the following address

{{url-virtualizer}}/open-metadata/admin-services/users/{{user-name}}/servers/{{server-name}}/event-bus?topicURLRoot={{topic-root}}
  • Set up virtualizer configuration

POST following JSON object

{
  "class": "VirtualizationConfig",
  "virtualizationProvider": "{{connector-class-name}}",
  "virtualizerOutboundTopicName": "{{iv-in-topic-name}}",
  "virtualizerInboundTopicName": "{{iv-out-topic-name}}",
  "virtualizationSolutionConfig":
  {
    "frontendName": "",
    "serverAddress": "",
    "databaseName": "",
    "schema": "",
    "username": "",
    "password": "",
    "timeoutInSecond": 5,
    "create": true,
    "derbyDriver": "org.apache.derby.jdbc.ClientDriver",
    "gdbNode": "GDB_NODE",
    "logicTableName": "LTNAME",
    "logicTableDefinition": "LTDEF",
    "getLogicTables": "call listlts()"
  }
}

to the following address

{{url-virtualizer}}/open-metadata/admin-services/users/{{user-name}}/servers/{{server-name}}/virtualization-service/configuration

The object virtualizationSolutionConfig is the information required to implement the specific connector to the virtualization solutions. The keys should be modified based on the information needed by the connector.

  • Start the instance of the OMAG Server

POST to the following address

{{url-virtualizer}}/open-metadata/admin-services/users/{{user-name}}/servers/{{server-name}}/instance

License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.

You can’t perform that action at this time.