Giter Site home page Giter Site logo

iris-config-api's People

Contributors

lscalese avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

iris-config-api's Issues

Add ZPM Call

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 by %SQL.Statement

Replace %Library.Resultset usage by %SQL.Statement :

  • Api.Config.Services.Security.SQLPrivileges
  • Api.Config.Services.Security.SQLAdminPrivilegeSet
  • Api.Config.Services.Library.SQLConnection
  • Api.Config.Services.MapShadows
  • Api.Config.Services.MapRoutines
  • Api.Config.Services.MapPackages
  • Api.Config.Services.MapMirrors
  • Api.Config.Services.MapGlobals

NLS Locales Install

Add a section to install locales, ex :

Do ##class(Config.NLS.Locales).Install("fraw")

REST Expose for new Config.Api.Security classes

Complete swagger.json file to generate REST services for :

  • Api.Config.Services.Security.Users
  • Api.Config.Services.Security.Roles
  • Api.Config.Services.Security.Resources
  • Api.Config.Services.Security.SSLConfigs
  • Api.Config.Services.Security.SQLPrivileges
  • Api.Config.Services.Security.SQLAdminPrivilegeSet
  • Api.Config.Services.Library.SQLConnection

Enable Ensemble

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")

Add database to mirror

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 rest api by package

Split the REST API by package :

  • config
  • security
  • SYS

Create a main REST class to forward route /config, /security, /SYS to the rest REST class.

Add helper for SQL privileges

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.

%SOAP.WebserviceInfo AND %SOAP.WebServiceInvoke

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.