Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Projects

Page tree

Versions Compared

Key

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

...

Variable NameDescriptionDefault Value
General
sync.parent.feedLocation

The location of the Parent atom feed. Required to do any synchronization. If not set (but with Sync enabled), sync log warnings and not read the feeds.

Note. Parent instance should set the own URI address, otherwise the manual push and pull will be disabled.

Empty

sync.local.feedLocationThe location of the local event feed for this node. Generally should not change.The default address.
sync.localInstanceIdThe unique instance identifier.
sync.clientsThe map which contains clients configurations (more detail in the "Client Configuration" section below). For now this configuration is only available while PUSH operation.Empty
Push
sync.push.enabledBoolean - is pushing data to Parent enabled? If set to falsetrue, no data will ever be sent to Parent from this Child and the Child will not be reading its own feedautomatically after cron schedule interval expires.True
sync.push.scheduleCron schedule reading the local feed - controls how often data will be pushed to Parent.Hourly schedule
sync.push.{classname}.enabledBoolean - controls if the data for the given entity class is pushed to Parent from this node. Affects filtering of the local atom feed.True for classes we want to sync out of the box
sync.push.{classname}.preferredClientEach class could have a specific preferred client. If the value is null then the global preferred client (from global properties) will be chosen.null
Pull
sync.pull.enabledBoolean - is pulling data from Parent enabled? If set to falsetrue, no data will ever be retrieved from Parent and this Child will not follow the feed of its ParentParent automatically after cron schedule interval expires.True
sync.pull.scheduleCron schedule reading the Parent feed - controls how often data will be pulled from Parent.Hourly schedule
sync.pull.{classname}.enabledBoolean - controls if the data for the given entity class is pulled from Parent to this node. Affects filtering of the Parent atom feed.True for classes we want to sync out of the box
sync.pull.{classname}.preferredClientEach class could have a specific preferred client. If the value is null then the global preferred client (from global properties) will be chosen.null
Whitelist
sync.whitelist.enabledA boolean value which describes if the whitelist is enabled or is notFalse
sync.whitelist.instanceIdsAn array of identifiers which represent children instances (localInstanceId). If a child instance occurs on the list it will be allowed to push data to the parent. Please remember to share credentials with children in order to complete validation on the push endpoints.Empty

...

The section of the Sync 2 configuration.

Variable NameDescription
hostAddress

The specific value of the client address.

login
The specific value of the client login
password
The specific value of the client password


Code Block
titleExample value
{
  "general" : {
    ...
    "clients" : {
      "fhir": {
        "hostAddress" : "[specificAddress]",
        "login" : "login",
        "password" : "password"
      }
    }
  }
...
}

...