By default, the message bodies are not indexed and cannot be searched. You can add a helper class to implement the search capability in the Message Bank.
- Log in to post comments
By default, the message bodies are not indexed and cannot be searched. You can add a helper class to implement the search capability in the Message Bank.
There is a difference in behaviour for async vs sync messages if I read the documentation. In my case the messages are synchronous, so this should not apply.
Any updates on this issue @Vic Sun & @Scott Roth? Was it solved when the setting was done in the right namespace?
Thanks,
Marcel
I think this is where the cache is stored. I see one of the icons on the IRIS home page and the Cache File in the management portal matches exactly with the file name. Still confused as half of the webservers don't need this folder and seem to store it in /opt/webgateway/temp/. Exactly the same version/build.
I think this is a permissions issue as the ones who work out of the box, have apache:root as ownership of that folder, while the ones who don't have root:root.
Hi,
Which version of Cache are you running?
Had the same issue today in a class, both 2024.1 and 2023.1 versions or IRIS. Very strange, it does not always happen.
The "cure all" solution: after restart of the instance I was able to remove the logical entry from the list.
Yep, same result. Probably calls the same method...
I guess we will have to investigate further, currently I have no access to the machine. But it helps to know that it is not a known general issue of IIS, thanks!
Hi Joost,
AFAIK this is not yet available. You can run HS-UCR in docker through docker compose, but not K8s.
Regards Marcel
These are kind of "citizen developers", using the folder structure using one namespace at a time. Each feature which they work on has its own namespace, which might be deleted when the feature is approved and merged into the main branch. They can understand that a namespace has been deleted, but not being able to select another one by using the normal VSCode UI will be a bad experience for them as this might happen quite regularly.
Sorry was busy with other stuff. Seems to work fine. Thanks!
FYI
The codeQuality tool now requires a newer java version. I had to change this in the settings.json from
"sonarlint.ls.javaHome": "/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home"to
"sonarlint.ls.javaHome": "/Library/Java/JavaVirtualMachines/temurin-21.jre/Contents/Home"I skipped version 17 as there was already a 21 which seems to work OK.
I used the OpenJDK runtime:
https://adoptium.net/temurin/releases/Thanks Pietro,
Your suggestions certainly work.
But I would prefer a more user-friendly solution for the developers. Ideally it would pop up the namespace selection dropdown if the namespace does not exist, or otherwise at least being able to change it from the "Switch namespace" option in the menu.
Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.ProductionFound this in GIT. It evaluates correctly to Test.MyProd on my Mac but to the full filename in the Windows client next to me. Could this be a "backslash \" vs "forward slash /" issue ? My regex knowledge is insufficient here...
Looks a bit like mine :)
ClassMethod IsValid(s As %String) As %Boolean
{
f i=1:1:2E6 {
s s=$REPLACE($ZSTRIP(s,"*E",,"()"),"()","")
}
q s=""
}Since length was more important than speed I put the $ZSTRIP in the loop, and make it run 2M times (3.6M MAXLEN, that should be enough 😂
Sorry I meant to post this under the solution of @Alex Woodhead
Hi Thomas,
I think this information is insufficient to get help from the community. What is the exact ISC_IRIS_URL for example?
ISC_IAM_IMAGE=containers.intersystems.com/intersystems/iam:3.0.2.0-4
ISC_IRIS_URL=https://IAM:mypassword@test.myserver.nl:443/api/iam/licenseMy IRIS server is on https so I'm using port 443, but you could be using port 80 or 57772.
Maybe this can help:
You can use the BatchFlag()Opens in a new tab method to establish a process as executing in batch mode. A batch mode process has a lower priority than a non-batch process.
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
Perfect, thanks @Dmitry Maslennikov!
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
There are comment/uncomment options for both single lines and blocks, including keyboard shortcuts:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
So: Ctrl+/ and Ctrl+Shift+/ should help.
Good luck!
Processes often do a lot of waiting (<sync>, <delay>), so that is probably why a larger poolsize helps. I am currently integrating with a system which takes up to five seconds to answer... so enough spare time to do a few in parallel.
Yes this can be annoying; if you have a generic solution which you deploy at different customers which have different hardware and performance requirements, you cannot keep the production class "generic". This limits automation of the build process/deployment. You can do some scripting...
Thanks @Robert Cemper
Since my specific case is for the EU, I think the simplest solution is to use $ZTZ to correct for basic time zone. The rules for summertime are always the same in this area (until they change it, the discussion flares up two times a year). I already found some pseudo-code for that. If summertime, subtract another 60 minutes from $ZTZ. Not as generic as I wanted, but good enough for my case.
@Dmitry Maslennikov Are there any special characters to watch with static .csp and .js files? I would expect the last map item to catch all, but it does not match with /csp/mynamespace/myfile.js (ends up in /MyFolder/csp/mynamespace/.... and I would expect /MyFolder/src/csp/mynamespace/...
I have one prepared but not found the time yet. My plan is to measure the electricity use of my house continuously, do analysis on when I have a surplus of energy of my solar panels, and then switch certain devices based on that. My dishwasher, pool pump and heat pump are all connected. Currently I can do net metering for electricity but that will change in the near future. Better to use it myself if they don't want to pay a decent price for it ;-) The Pi is perfect for that kind of home automation.
For my customers in Holland, our time-zone is POSIX is "CET-1CEST". Also works for most neighbours. (2016+)
write !, "Current time: "_$ZDT($H)
do $System.Process.TimeZone("CET-1CEST")
write !, "New Current time: "_$ZDT($H)Looks nice Benjamin!
I had to use
http://localhost:52773/csp/mem-config/configurator.html
to open it. Also, the screenshot on the openexchange page is not showing.
IRIS for Windows (x86-64) 2019.1.1 (Build 612_0_19459U) Mon Dec 2 2019 16:11:46 EST (HS-UCR) in a VM.
Could it do automatic measurement of the current machine/VM it is running on, especially memory?
Excellent, thanks @Dmitry Maslennikov!
Mine is simpler at this moment
"objectscript.export": {
"folder": "MyFolder",
"addCategory": false,
"map": {
"(UnitTest\\..*)": "internal/$1",
"(..*)": "src/$1"
}
}
This does the trick for now.
Have there been any updates on this? I am involved in a project which uses VSCode, and we want all unit test (Start with UnitTest.) classes to end up in another folder so they can be kept out of production easily.