azos icon indicating copy to clipboard operation
azos copied to clipboard

Forest- hierarchical tree of configuration data nodes with overrides and full version control (aka Metabiz)

Open zhabis opened this issue 2 years ago • 7 comments

Metabiz is a hierarchical tree of config files, navigable using string path. Navigation starts at the top/catalog level, going down using standard path syntax:

reg:/us/east/cle/1

Each node retains its full history of changes (like Git). Nodes have two dates: version date and apply date, apply date is when node version starts to take logical effect. Metabiz stores data in the data store and can handle 100ks of nodes. Data is cached in-memory for faster access.

Metabiz does NOT contain business logic, it only provides configuration content for business applications (hence the name)

zhabis avatar Sep 11 '21 16:09 zhabis

Azos.Conf.Metabiz

itadapter avatar Sep 11 '21 19:09 itadapter

Forest

itadapter avatar Oct 14 '21 20:10 itadapter

Azos/Data/Directory should be deleted???? What purpose does it serve now?

itadapter avatar Oct 14 '21 20:10 itadapter

  //Tree root + (AsOf) date supplied in the function call
  region@geo::/
  region.path@geo::/

  //Get node by path + (AsOf) date supplied in the function call
  region.path@geo::us/east/cle/solon/maple-road

  //Get node by ID
  region.gnode@geo::3:11:790163

  //Get node of specific version
  region.gver@geo::2:5:980

  risk@med::health/smoking
  risk@med::health/diabetes/carbs

itadapter avatar Oct 19 '21 23:10 itadapter

@JohnPKosh to run TOY, run console as admin, the server is on port 8080:

C:\Zdev\ghub\azos\out\Debug\run-netf>toy wave -config toy-wave.laconf

Root URI:

http://localhost:8080/conf/forest/tree/tree-list?forest=sherwood

Security:

Basic auth:   root/thejake

itadapter avatar Nov 09 '21 20:11 itadapter

@JohnPKosh Is the information above sufficient to commence testing?

itadapter avatar Nov 12 '21 15:11 itadapter

Yes, I was able to pull latest and verify toy endpoint methods are there and working on my local PC yesterday during the meetings yesterday. Will be working on that today.

JohnPKosh avatar Nov 12 '21 15:11 JohnPKosh