- Is your postgresql in the same docker-compose?
- Please post your dockerfile for jgw (or link your repo).
- I'd also give
chmod +777onpostgresql-42.2.18.jarduring build jic
- Log in to post comments
chmod +777 on postgresql-42.2.18.jar during build jicWhat do you want to achieve?
All audit changes are valid by themselves. For example if I have access to the codebase I can modify it however I want and it would be a valid action. If I delete the code it would be a valid action still, just malicious.
If, on the other hand, the codebase has some classes which I'm allowed to modify and some I'm not (so modifying them would be an invalid action), that should be resolved on the roles stage (by separating the code into two different databases and giving me write access only to the one db I should be able to modify).
Essentially, user should be allowed to perform only valid actions and audit exists to check for malicious actions.
Using audit for additional validity checks is not recommended because audit does not serve this purpose.
Check this discussion.
Post a minimal code snippet illustrating your issue please.
The recordings will be made available to all registrants on Friday this week.
Uwe Hering (uwe.hering at intersystems dot com) can send you the video files for subtitling / editing - please send him an email.
German is the language of the conference, but some sessions are in English:
Remove
FROM "procedure".day01When you need to switch into a new namespace for some work:
new $namespace
set $namespace = "yourNS"This way when you leave the method, namespace would be automatically reverted to a previous one.
Legacy.
Their cloud hosting is not free but you can host it yourself.
How do you configure it?
On Windows execute:
<iris>\bin\irisdb -s <iris>\mgrwhere <iris> is a root of an InterSystems IRIS installation.
Add SELECT for Ens_Util.Log table to view events.
Right.
I think it's Iris 4 Health only.
Great answer, but I'd like to add that there are two distinct cases for working with XDatas:
The code above works for the first case, but for the second case it might be preferable to create an independent copy of an XData stream so that no locking happens - this prevents XData object access/modification errors, especially in Dev environments. Furthermore objectless way of getting XData contents would be faster.
I usually use this method to get streams if my XData work falls into the second category:
ClassMethod getClassXData(className, xdataName) As %Stream.Object
{
set stream = ##class(%Stream.TmpCharacter).%New()
for i=1:1:$$$comMemberKeyGet(className,$$$cCLASSxdata,xdataName,$$$cXDATAdata) {
do stream.WriteLine($$$comMemberArrayGet(className,$$$cCLASSxdata,xdataName,$$$cXDATAdata,i))
}
quit stream
}This code can be further improved for most use cases by replacing a stream with a string.
I think $this would also suffice.
To call @Marc Mundt's code from the terminal you need to execute this:
do ##class(Sample.Util).SettingsByNameFunc("Port").%Display()Yes!
Only %objlasterror I guess.
Right part should go back to 1, so
1
121
1and not
1
123
1What does $classname(pInput) return?
Why don't you want to create a Business Service?
I used %iFind.Highlight as shown in the docs for highlight function.
Even went to sources and checked if it was a generator maybe - it was not, so I stopped my search for more index-specific option.
Switching to [package name].[table name]_[index name]Highlight() now.
Also how can[package name].[table name]_[index name]Find() and ...Rank() be used?
Thank you!
That's exactly what I need. I knew about iKnow relational mappings, but not iFind ones.
If you want to count any kind of match, your highlight trick is probably the nicest way to get at it.
The problem with this approach is:
Calling @Benjamin De Boe.
No, the text is plaintext and does not contain any HTML.
highlight function by default highlights with <b>text</b>.
Went with:
SELECT
SUM($LENGTH(%iFind.Highlight(Text, :name), '<b>')-1)
FROM Post
WHERE %ID %FIND search_index("TextIndex",:name)Assumes plaintext.