Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Harish Kajur, Robby Maharajh, William Reehil, CT Paterson, Steven Blimkie

mS Details


Image Added



Upon startup, these api s (below**) are used to get the latest schema from Schema-Service

  • There are 2 options whether to use the schema from Schema-Service or from local schema directory - at /opt/app/aai-resources (aai-traversal or aai-graphadmin)/appconfig/application.properties - schema.translator.list=schema-service OR schema.translator.list=config · If = schema-service, get latest schema from SS (only when starting up)
  • If = config, use existing schema from local directory - /opt/app/aai-resources (aai-traversal or aai-graphadmin)/appconfig/schema (api should be working fine even if SS is down) **** There is no guarantee that schema version at local directory will be the same as in Schema-Service mS or get updated on the fly. A setting schema.translator.list= config should only be used in a very rare situation in case SS can t start up. **Ecomp (AAI-14983)


  • /aai/schema-service/v1/nodes?version={version}
  • /aai/schema-service/v1/edgerules?version={version}
  • /aai/schema-service/v1/versions
  • /aai/schema-service/v1/stored-queries


New Installation Requirement

  • Schema-Service has to be installed and started (in healthy status) before other mS.
  • If there is a new Schema-Service build installed; Resources, Traversal and Graphadmin mS needs to be restarted
  • Resources, Traversal and Graphadmin will fail to restart if Schema-Service is not up running (unless schema.translator.list=config


----- Everything Below was during the design/requirements phase of schema service ----------

Overview:

  • Currently, changes in schema are delivered via new builds of microservices that consume them
  • Tracking and testing changes via new builds takes longer

...

#1 and #2 need more analysis of use cases and design. #3 seems to align better with the GraphGraph proposal for viewing and interfacing with the schema. Manisha Aggarwal I think it makes sense for all of what was in graphgraph core to be absorbed by Schema Service, when GraphGraph is being worked.

...