An UML class explorer for InterSystems products: IRIS, Ensemble, HealthShare, Caché. Read more about class explorer on InterSystems Developer Community.
- Build class diagrams for arbitrary list of classes;
- Build diagrams for whole package or subpackage;
- Edit diagrams after build;
- Switch between strict UML notation and designed view;
- Export diagrams as an image;
- See Class methods, properties, parameters, SQL queries, xDatas and more;
- See any keywords and related information by hovering over everything with pointer;
- Check which fields are connected by hovering over link;
- View methods code, sql queries and xDatas with syntax highlighting;
- Zoom in and out;
- Search on diagram or in class tree;
- Explore!
- Clone the repository and run
docker-compose up -d --build
to bring up ClassExplorer to a docker container. - Check
localhost:52773/ClassExplorer/
in a little while - it should have the app already.
To install latest Caché Class Explorer, you just need to import ClassExplorer package. Download the
archive from latest releases, and then import
Cache/CacheClassExplorer-vX.X.X.xml
file.
Note that importing ClassExplorer.WebAppInstaller class will also create a /ClassExplorer application. If you want to create WEB application manually, please, do not import this class. Anyway, importing this class requires %SYS permission.
Visit [server domain and port]/ClassExplorer/
(slash at end required) to enter
application.
To build project, you need NodeJS platform to be installed. Then, clone source
code and run npm install
from the root of the project. This will install all necessary
modules from NPM for the project.
After that and each next time just run npm run gulp
command from the project root.
This will generate build
directory, where you will find XML file ready to import.
One can import/export the built source to the local Cache/URIS instance (see import.bat
):
./import.bat
This will bring ClassExplorer-v*.*.*.xml
to the build
directory, which you can then package with npm run zip
.
ZPM is the package manager for InterSystems products. Currently,
the release pipeline for it is manual. The ZPM release should happen once the package is uploaded
to InterSystems OpenExchange with the "ZPM" option checked in. This
should grab manually moved files from build-for-zpm/ClassExplorer
directory for the release.
Locally, one can run and test the application using Docker:
- Before each release, manually patch the version in the
module.xml
file. - Run
docker-compose up -d --build
in the repository root to bring up ClassExplorer to a docker container. - Check
localhost:52773/ClassExplorer/
in a little while - it should have the app already. - Run
docker-compose exec iris iris session iris
and then typezn "IRISAPP" zpm
to start ZPM session in the "IRISAPP" namespace. - Type
load /irisdev/app
to test whether ZPM can parse the repository root. - Type
classexplorer package
to try to compile the package. It should say something likeModule package generated: /tmp/dirymgtBA/classexplorer-1.20.0.tgz
. - Configure the test registry to publish the package
repo -n registry -r -url https://test.pm.community.intersystems.com/registry/ -user test -pass test
(typesearch
to see the registries list). - Finally publish the package
classexplorer publish
. - Further steps to test it: https://community.intersystems.com/post/testing-packages-zpm
See the detailed description and discussion in this article. Have a look at InterSystems Developer Community to learn about InterSystems technology, sharing solutions and staying up-to-date on the latest developments.