- Log in to post comments
This is actually nothing related to InterSystems at all.
You can do something like in this article. Just catch the file on the client-side in Browser, and send this file to the server, where you can save it as would do it for any usual file
- Log in to post comments
Task scheduler quite flexible
Monthly simple
.png)
Or more advanced way
.png)
Do you have another algorithm, which can't be covered by this?
If so, you can write a task, which will re-schedule itself when launched.
- Log in to post comments
.png)
- Log in to post comments
I've recorded how I solved Day 4 with IRIS and VSCode-ObjectScript
- Log in to post comments
I think, the best way would be to have REST entrypoint, which would redirect also work with WebSockets, while REST api can handle any Authentication issues. As an example, you can look at %API.Atelier.v1 class and method RunDebugger, which redirects control WebSocket.
- Log in to post comments
Yeah, I forgot about docker. But it is possible to solve this as well.
Connect to the instance with SSH in any way offered by Google.
cd /opt/ISC sudo vi docker-compose.yml
So, you can now add more ports. Save it (:wq)))
sudo docker-compose up -d
Do not forget to configure firewall rules.
You can even add this line, and remove ports block at all, and get access to any future ports without a restart container.
network_mode: host
- Log in to post comments
- Log in to post comments
Mike, thanks for the feedback.
Questions about passwords were raised privately. But mostly about secure storage. Your case very different, and even maybe better way, to have SSO instead of storing passwords. It will need some research, but I'm sure it will be possible to implement it. As a company CaretDev, I would like to offer commercial support to your company. So, it will be easier to find time to implement any features, you would like to have.
About toggle between namespaces. I don't know why do you need it, and how you going to use it. The main point of VSCode is sources stored locally, when you will toggle namespace, how you going to keep namespaces correctly updated?
Or you can use a server-side editing feature. You can create file myapp.code-workspace in the root of your project, press button Open workspace. And you will have connection to USER and %SYS namespaces as well, so, just add more isfs URLs with ns=NAMESPACE.
{
"folders": [
{
"name": "myapp",
"path": ".",
},
{
"uri": "isfs://myapp",
"name": "server",
},
{
"uri": "isfs://myapp?ns=USER",
"name": "user",
},
{
"uri": "isfs://myapp?ns=%SYS",
"name": "system",
}
],
"settings": {
"files.exclude": {},
"objectscript.conn": {
"active": true,
"username": "_system",
"password": "SYS",
"ns": "MYAPP",
"port": 52773,
},
"objectscript.serverSideEditing": true
}
}- Log in to post comments
Suppose, you should look at Google's documentation. Particularly, about Using Firewall Rules
On the Firewall rules page, you will find some predefined rules, for your IRIS instance, something like on the picture.
.png)
So, you can just use it as a template, and do the same for your custom port.
- Log in to post comments
Most probably you just out of space on your docker disk. In this case, you'll just catch any different errors related to disk at any stage, when you work with Docker. If you are going to actively work with Docker as I am, I would recommend increasing the size of disk for Docker. Look at my recent article about it.
- Log in to post comments
Yeah, our colleagues from Boston in the best position.
- Log in to post comments
It's kind of time you spend to solve a task, since it was unlocked at Noon EST.
Only the first 100 get the score, by solving order.
- Log in to post comments
Maybe it is a license problem but I have no valid license key to test :-(
You would need any license, and should be able to connect if you use IRIS Community Edition.
But you need any license, with a common version, without a license it will not work. You can get a preview license on WRC.
- Log in to post comments
Thanks.
UDL-preview is just for preview as UDL and does not offer to edit such files.
It is possible to configure multi-root workspace, and edit classes/routines directly on a server, and in conjunction with Studio Source Control class, get your XML back after edit for you SCM.
- Log in to post comments
It's just a default empty instance. You then have to create a new namespace with the database. Interoperability will be enabled by default in that new Namespace, and it will appear there. But, you should have in mind, that all those changes may disappear by default, when you delete your container and start it again, it will be the same as in the first start. You can configure durable %SYS, to get it stored outside of the container or volumes.
- Log in to post comments
You can deploy IRIS with Kubernetes which is inside of OpenShift. It is not so easy to explain here. As it will be just a common task, rather than something narrow just for you. Deploying a database to the cluster is a very specific task, and very depends on your needs.
As well as Kubernetes, I think you may also use ICM, did not use it before, so, not sure if it will work with OpenShift as well.
- Log in to post comments
Sharding will allow you to split your data between physically different servers with each own storage. So, you may get faster simultaneous read/write of data. At the same time with ECP configuration, your application servers will get direct access to the sharding node which holds data.
So, if it is correctly configured you should get some profit from it, for sure.
- Log in to post comments
You managed to get authorized in System Management Portal, so you should know the correct password. You should use the same login and password in VSCode/Atelier.
- Log in to post comments
Could you give us a bit more details? What kind of services you should create with IRIS and why from Oracle, or how?
- Log in to post comments
Studio Uses Super port to connect to DB. And keep connected all the time, when it loses connection it offers to even restart Studio not just reconnect. It can also hang when you doing a big compile.
I would recommend finding a way to migrate to the latest version. And so, you will be able to use VSCode-ObjectScript, which does not care about connection status, you can restart the server, you can do debug and big compile.
- Log in to post comments
If you provisioned IRIS on Google Cloud from marketplace, you should be able to see the same page as on my screenshot. You can press the button Visit the site, which will go you to System Management Portal, where you should be able to login with the default _SYSTEM and SYS, after that it will request you to change the default password. Which you can use in VSCode or Atelier.
- Log in to post comments
Using VSCode-ObjectScript is very easy to connect to a cloud instance with IRIS.
Just Use IP address and port from site address, login _SYSTEM and password changed after first connect.
And write it to file, .vscode/settings.json in your project folder
{
"objectscript.conn": {
"active": true,
"host": "xx.xx.xx.xx",
"port": 52773,
"username": "_SYSTEM",
"password": "123",
"ns": "USER",
}
}- Log in to post comments
The latest version of Studio on WRC is 2019.3, while the latest version of IRIS is 2019.4. And Studio does not work version leter then own version.
- Log in to post comments
Depends on the OS, you can also try to do the same outside of Caché, just to test it.
- Log in to post comments
where database installed, or in case of ECP where user's code executed
- Log in to post comments
You should check it in the OS, which you use. If it is a Linux, you can use the command lsof. For Windows, I don't know how to find it.
- Log in to post comments
Unfortunately, InterSystems officially does not offer how to deal with docker at all. Where articles from, let's say from you or somebody else, with the ways how to do it the Right way.
Comments to the repository https://github.com/intersystems/container-tools:
- 2019.4 already exists and published, but examples still only for 2019.3
- ZSTART.XML in XML format. Why so, when it should be MAC file
- quite arguing the decision, to load code in this place
- endless loop with goto in the code
- Dockerfile, with a line longer than screen size.
- where QuiesceForBundling?
InterSystems say how to run InterSystems products with docker, while nothing about running customer's applications on IRIS with Docker.
What's happens here is, it is how the community works. I have a problem, I don't want to write to much in my Dockerfile. I wrote a lot of them, for many different projects. I need some universal way, for me. I did it, and I update my own template from time to time.
- Log in to post comments
You can stop it by interrupting, anyway, but it is not good for the database, it may cause to integrity errors, which may be difficult to resolve.
- Log in to post comments
.png)