azos
azos copied to clipboard
Forest- hierarchical tree of configuration data nodes with overrides and full version control (aka Metabiz)
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)
Azos.Conf.Metabiz
Forest
Azos/Data/Directory
should be deleted???? What purpose does it serve now?
//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
@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
@JohnPKosh Is the information above sufficient to commence testing?
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.