appmsw-util


Follow
0
Star
0
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.

What's new in this version

added iris.script

appmsw-util

Gitter

Creating and deleting db, namespace, resource and role with one command

Forked from https://openexchange.intersystems.com/package/isc-generate-db

Added resource and role creation for the database. (Many modules ZPM require MatchRoles=":{$dbrole}")

Added deletion of DataBases, role resources and Namespace.

Adding rest application is optional.

Installation with ZPM

zpm:USER>install appmsw-util

Installation with Docker

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

$ git clone https://github.com/SergeyMi37/appmsw-util.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

How to Test it

Open IRIS terminal:

$ docker-compose exec iris iris session iris
USER>
USER>zpm
zpm:USER>install appmsw-util
...
example:
write $System.Status.GetErrorText(##class(appmsw.util.database).CreateDBNS("TESTDB2"))
write $System.Status.GetErrorText(##class(appmsw.util.database).DeleteDBNS("TESTDB2"))
...
ZPM installation
zpm "install appmsw-util"
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
1.0.1
Last updated
2020-11-15
Repository
Open
Documentation
Open
License
Link