lscalese / iris-config-api Goto Github PK
View Code? Open in Web Editor NEWA library to ease IRIS configuration.
License: MIT License
A library to ease IRIS configuration.
License: MIT License
Following community comments on this article :
Adding a feature to call ZPM client command on loading configuration document.
Ex :
{
"ZPM" : {
"IRISAPP" : [{
"install" : "module-name"
}]
}
}
It's subject to changes or removes depending on the community feedback.
Replace %Library.Resultset usage by %SQL.Statement :
Create a template from objectscript-docker-template to use config-api.
Add a section to install locales, ex :
Do ##class(Config.NLS.Locales).Install("fraw")
Add utils class method to init install of web application /api/config.
Complete swagger.json file to generate REST services for :
Add Securty.System support to load configuration via a JSON file :
example :
{
"Security.System": {
"SSLSuperServer":"1"
}
}
Add an Ensemble property in Namespaces
section to enable automatically interoperability, ex :
"Namespaces":{ /* Service class name related to Api.Config.Services.Namespaces. */
"MYAPP": { /* Create a Namespace MYAPP. */
"Globals":"MYAPPDATA", /* Set default database for globals. */
"Routines":"MYAPPCODE", /* Set default database for routines. */
"Ensemble": true
}
}
Execute automatically Do ##class(%Library.EnsembleMgr).EnableNamespace("MYAPP")
Refactor following the naming convention.
Classes should be renamed to dc.config
instead api.config
.
Currently, databases can be added to the mirror only on mirror set creation.
It should be interesting to provide a section to add databases in the mirror on an already existing mirror set.
Split the REST API by package :
Create a main REST class to forward route /config, /security, /SYS to the rest REST class.
Add helper to wrap the existing api to set SQL privileges.
The existing API is not convenient, for example, it's not easy to use to set privileges to a schema.
Add properties in Security.Applications
to allow access to the catalog and test pages
"Security.Applications": {
"/csp/zrestapp": {
"DispatchClass" : "my.dispatch.class",
"Namespace" : "MYAPP",
"Enabled" : "1",
"AuthEnabled": "64",
"CookiePath" : "/csp/zrestapp/",
"WebServiceInfo" : "1",
"WebServiceInvoke" : "1"
}
}
Execute :
set ^SYS("Security","CSP","AllowClass","/csp/zrestapp","%SOAP.WebServiceInfo")=1
set ^SYS("Security","CSP","AllowClass","/csp/zrestapp","%SOAP.WebServiceInvoke")=1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.