Home Applications appmsw-util

appmsw-util

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
105
Views
12
IPM installs
0
0
Details
Releases
Reviews
Issues
Pull requests
Creating and deleting db, namespace, resource and role with one command

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"))
...
Read more
Made with
Install
zpm install appmsw-util download archive
Version
1.0.115 Nov, 2020
Category
Technology Example
Works with
InterSystems IRIS
First published
10 Nov, 2020
Last checked by moderator
27 Jun, 2023Works