Updated module documents from .MODULE to .ZPM
- Log in to post comments
Updated module documents from .MODULE to .ZPM
Hi Peter!
Thanks for the question.
It makes a lot of sense to test your package before publishing it on ZPM-registry.
You can test it via 'load' and 'publish' commands of ZPM-client.
Suppose, you have IRIS with ZPM client installed and you have the repo folder locally with module.xml in the root. Then you can use following command to test the module.xml loading:
USER:zpm>load /yourfolder/withrepo/
or with -v with more details:
USER:zpm>load -v /yourfolder/withrepo/
It shows the log and if module.xml is not correct you'll see errors in the log. This is the test of resources description.
Then you can test the publisher with 'publish' command. Call:
USER:zpm>packagename publish
or with -v with more details:
USER:zpm>packagename publish -v
This will try to execute all the tests, run web-app settings and call invoke methods locally. This will then refuse to publish cause you don't have the registry locally - which is OK, because you don't want to publish locally, right? All other errors will tell you if something is wrong with your module.xml package.
HTH
True.
Fabian! Could you please publish this Graph util as standalone app on Open Exchange?
If it says "Computing Axis" in Analyzer this is most probably the case of MDX Query performance.
You can run the MDX Query you use in this pivot against any of the tools @Peter Steiwer mentioned above and share the results here or/and with WRC Support.
I saw it but didn't get what it does. Could you please share how is it helpful?
Hi Lawrence!
Does your issue relates to DeepSee Dashboards UI or to the MDX query performance?
Really enjoy your set of utils. Cool stuff!
And you are able to redeem the voucher for certification attempt with GM points! See the announcement.
Already 9 available ;)
QEWD is. But it looks like you have two more products related to QEWD, right?
Hi @Rob Tweed!
Do you want to list your QEWD products on Open Exchange? This will definitely bring more attention to your solutions.
Hi Nikita!
Do you want the ZPM exception for the Webterminal only or for all your InterSystems solutions? )
Hi Neerav! Use REST-API with data in JSON format - this is server-side type consumable by almost any modern web or mobile frontend.
Thanks, Steve!
Hi Sergey! Sounds exciting!
Anything more than picture? E.g. URL, demo, code sample?
For those who participate in ObjectScript Advent of Code 2019: there is an opportunity to receive an attempt for the certification exam for free!
Be one of the top 3 performers in the competition and get a voucher for the certification exam!
The current leaderboard is the following:
And you still have 2 weeks to change the leaderboard!
*The option is not eligible for InterSystems employees so your chances to win are higher! ;)
Advent Of Code 2019 reached its equator!
Here is the current top-20 list:
We decided to raise the odds in the competition and we are adding a new prize for winners - 3 vouchers for InterSystems Certification Exams!
Top-3 participants will get the voucher for any of the two exams available!
*The option is not eligible for InterSystems employees.
This is very wise, thanks Ed!
For zpm-enabling we plan to add some boilerplate module.xml generator for the repo, stay tuned
The answer to all this could be "To make the world the better place").
Because if you do all 3 you get:
the same wonderful Web terminal, but with simple, transparent, and standard installing mechanism with and yet another channel for distribution, cause ZPM seems to be a very handy and popular way to install/try the staff.
Maybe yet another channel of clear and handy app distribution is enough argument to change something in the application too?
Hi Nikita!
Thanks for the good question!
The answer is on why module.xmlvs installer.cls on projections is quite obvious IMHO.
Compare module.xml and installer.cls which does the same thing.
Examining module.xml you can clearly say what the installation does and easily maintain/support it.
In this case, the package installs:
1. classes from WebTerminal package:
<Resource Name="WebTerminal.PKG" />
2. creates one REST Web app:
<CSPApplication
Url="/terminal"
Path="/build/client"
Directory="{$cspdir}/terminal"
DispatchClass="WebTerminal.Router"
ServeFiles="1"
Recurse="1"
PasswordAuthEnabled="1"
UnauthenticatedEnabled="0"
CookiePath="/"
/>3. creates another REST Web app:
<CSPApplication
Url="/terminalsocket"
Path="/terminal"
Directory="{$cspdir}/terminalsocket"
ServeFiles="0"
UnauthenticatedEnabled="1"
MatchRoles=":%DB_CACHESYS:%DB_IRISSYS:{$dbrole}"
Recurse="1"
CookiePath="/"
/>I cannot say the same for Installer.cls on projections - what does it do to my system?
Simplicity, transparency, and installation standard with zpm module.xml approach vs what?
Hi Jeff!
Thanks! When the new release will be available on Docker Hub?
Nice! Also, check the video how to code and debug with IRIS Community Edition and VSCode.
Maybe it's a good moment to start/try with IRIS.
You don't need anything but docker, git and vscode - IRIS Community Edition will be pulled from Docker and its free to use.
Fixed, thanks
fixed, thanks
WOW.
Rob, do you plan to share videos on that?
With explanations on all the multi model parts?
Whatever works for you. I think I need to share the fastest way to code ObjectScript with repo some day...
The fastest imho is IRIS CE on docker+VSCode
BTW, Yesterday I shared the template repo with the solution for the day1 with the code in UDL.
HTH
Hi Mike!
UDL is the one of the way $System.OBJ.Export() exports classes. Simply UDL is not XML)
Just make the solutions in ObjectScript in any IDE you like!
I appreciate if you add a task here - you'll be able to get the update on progress.
>Btw is there a way to update the avatar picture ??
I bet. Same way possibly you added the first one?