appmsw-util

Downloads4
Subscribe
0
Bookmark
0
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues

What's new in this version

added iris.script

appmsw-util

Gitter GitHub all releases Habr license

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"))
...
IPM installation
zpm "install appmsw-util"
Rating
5 (1)
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
1.0.1
Last updated
2020-11-15
Repository
Open
Documentation
Open
License
Link