Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2122

OMAG Server

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • None
    • None

    Description

      This Jira Assembles the Open Metadata and Governance components into a configurable server to support the OMAS Access Layer, Repository or native metadata repository.

      The OMAG server is a Spring Boot Application with a simple REST API. It takes the user Id of the administrator, the server name and cohort name as path variables, other parameters are passed as request parameters. These are examples of the commands to set up the server using defaults.

      Query configuration
      GET http://localhost:8080/omag/admin/

      {userId}/{serverName}/configuration/

      Set server type name:
      POST http://localhost:8080/omag/admin/{userId}

      /

      {serverName}/server-type?typeName={name}

      Set organization name:
      POST http://localhost:8080/omag/admin//{userId}/{serverName}

      /organization-name?name=

      {organizationName}

      Enable the access services:
      POST http://localhost:8080/omag/admin//

      {userId}/{serverName}/access-services/mode?serviceMode=ENABLED

      Enable the Atlas graph repository:
      POST http://localhost:8080/omag/admin//{userId}

      /

      {serverName}/local-repository/mode?repositoryMode=LOCAL_GRAPH_REPOSITORY

      Enable the in-memory repository:
      POST http://localhost:8080/omag/admin//{userId}/{serverName}

      /local-repository/mode?repositoryMode=IN_MEMORY_REPOSITORY

      Enable server as a repository proxy:
      POST http://localhost:8080/omag/admin//

      {userId}/{serverName}/local-repository/mode?repositoryMode=REPOSITORY_PROXY

      To add the local repository connection for the repository proxy
      POST http://localhost:8080/omag/admin//{userId}

      /

      {serverName}/local-repository/proxy-details?connectorProvider={javaClassName}&url={nativeServerURL}

      To add the local repository's event mapper:
      POST http://localhost:8080/omag/admin//{userId}/{serverName}

      /local-repository/event-mapper-details?connectorProvider=

      {javaClassName}

      &eventSource=

      {resourceName}

      To enable access to a cohort
      POST http://localhost:8080/omag/admin//

      {userId}/{serverName}/cohort/{cohortName}/mode?serviceMode=ENABLED

      To remove the local repository
      POST http://localhost:8080/omag/admin//{userId}

      /

      {serverName}/local-repository/mode?repositoryMode=NO_LOCAL_REPOSITORY

      To disable the access services
      POST http://localhost:8080/omag/admin//{userId}/{serverName}

      /access-services/mode?serviceMode=DISABLED

      To disconnect from a cohort
      POST http://localhost:8080/omag/admin//

      {userId}/{serverName}/cohort/{cohortName}/mode?serviceMode=DISABLED

      To start up OMRS/OMAS services
      POST http://localhost:8080/omag/admin//{userId}

      /

      {serverName}/instance

      To shutdown OMRS/OMAS services
      DELETE http://localhost:8080/omag/admin//{userId}/{serverName}

      /instance?permanent=false

      Attachments

        Issue Links

          Activity

            People

              mandy_chessell Mandy Chessell
              mandy_chessell Mandy Chessell
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: