Skip to content

Qlever-LLC/trellis-data-manager

Repository files navigation

Notes

Search is designed to set up and manage a particular master data type such as trading-partners

Two methods are exposed as job types:

  • query — search for things
  • ensure — query for an existing thing or else make a new one

The query method utilizes Fuse.js to fuzzy find things, but sapid and masterid are given special treatment. sapid is an ID from an SAP-like external system while masterid is an internal trellis resource ID for master data records.

  • Queries including sapid and/or masterid will attempt to find matches using those keys. Matches based on these keys will include exact: true in the result.
  • If one of the two is included and matches on an entry (regardless of other keys), that entry will be returned.
  • If both are included, both must match exactly on an entry in order for that entry to be returned.
  • If both are included along with additional search keys, but no exact matches are returned, it will fall back to a fuzzy search.

About

For managing core trellis data, allowing other services to query and merge mixed schema

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •