Caché

Syndicate content 115 

Hi

I am working on a project that will interact with some software called ROS (Robot Operating System). One of the development challenges we have is as follows:

 

ROS uses web sockets... So one connect with ws://localhost:9090 to the web socket server.  It starts off as http, but then "upgrades" to web socket.  It then keeps open this "tunnel" for bi-directional communication..

 

I need something like a HTTP Outbound adapter, but the Web Socket version of it...

Does anyone have any experience in this area?

 

Nigel

Last answer 18 May 2017 Last comment 18 May 2017
0 5
441

views

0

rating

Hi,

I am trying to support a use case where a test instance is created from a production backup.  At a high level, the process works by mounting all relevant file systems and then bringing the instance up. This works well as long as the file systems are mounted using same mount points as the source instance. However, I would like to support a case where file systems are mounted using different paths. 

For example, if the source instance uses the mount points "/cache" and "/cachejournal", assume that the restore process mounted the same file systems at "/cache_123" and "cachejournal_123". I am wondering what needs to be done to make the instance recognize the new paths. 

I have tested by changing the paths in cache.cpf file (all data and journal directory paths). All except "cachelib" seem to work fine. When cachelib's path is changed in cache.cpf, instance fails to come up with an error similar to

Last answer 18 May 2017
0 3
0

comments

146

views

0

rating

HI ,

 

Please let us know the solution to the below error which appeared during SOAP Wizard.

ERROR #5805: ID key not unique for extent '%Dictionary.ClassDefinition' : '^oddDEF("GuruBaseAllah.BLZServiceSOAP11porthttp")' exists. Id counter location = ''

 

Thanks,

Shobha

Last answer 17 May 2017
0 3
0

comments

131

views

0

rating

Hey guys,

 

I'm working with an EnsLib.XML.X12.Document object which consists of a parent object along with multiple children.

When using the following code, my sent object is losing all references to its children.  I've played with the deep parameter and nothing is working to automatically clone the objects children(group docs ref)along with itself.  (Even though the documentation states that it should..)

objectClone = object.%ConstructClone()

d ..sendRequestAsync("Destination",objectClone)

Any insight would be really helpful.

Thanks!

Mitch

Last answer 17 May 2017
0 0
0

comments

220

views

0

rating

Hi All,

        Am working on integrating our code with  source control.

To make some security, I want to ask a password prompt from the studio itself while check in and checkout a code.

Is it possible to ask input in the studio like login page. Please suggest me.

Thanks,

Archunan K.

Last answer 16 May 2017 Last comment 27 March 2017
0 0
160

views

0

rating

About the Ontodia library

First of all, I think we should provide some background information about Ontodia and Caché DBMS. Let’s start with a less known product, Ontodia. Ontodia is the result of a joint project of the ISST lab of the ITMO University and VISmart, a software development company specializing in the semantic web domain. The Ontodia service was created as a web application for visualizing linked data and ontologies. We created this service because we couldn’t find simple, accessible and efficient tools for convenient visualization of linked data.

A typical use case for Ontodiа could be described as a sequence of 3 steps:

Last comment 16 May 2017
0 0
458

views

+ 4

rating

I am trying to apply a temporary time-limited key for our organization to a Cache Server that I built out a few weeks ago for testing purposes. When I navigate in the portal to activate a new license key, I get this "ERROR #8610: License keys are not accepted on a Single User (SU) platform."

Is there something I need to do for this system in order to make it compliant for the key or do I need to request a new key from InterSystems that will work for this system? I didn't turn up anything on the web site here or via Googling the error and error text. I'm trying to enable and test mirroring and I cannot do that on the standard eval.

Thanks,
Eric

Last answer 15 May 2017
0 3
0

comments

176

views

0

rating

Looking for a way in which I could possibly pass a flag through a property when performing an Insert statement, on a mapped class.

insert into my.class (serialNumber, modelNumber, myFlag) value ('testSerial', 'testModel', 0)
    myFlag is not stored in the DB.

The mapped class then calls a legacy routine (MAC) via CodeMode = 'objectgenerator', (Insert method within the 'objectgenerator')

Within the legacy routine, I am setting an index... but I don't always want to set it (multiple inserts, and I will only set the index on the LAST insert)

How can I pass that flag through the insert call?  I attempted to make the property 'transient' and 'computed'.  But looking at the compiled code (INT), upon performing the Insert the value is nulled and the set, therefore wiping out whatever I passed in.

Is there anyway to do this?

Last answer 15 May 2017 Last comment 15 May 2017
0 3
122

views

0

rating

Wanna Cry

Most of you should be aware that the Wanna Cry virus is massively infecting un-patched windows machines all around the world. It's particularly affecting the NHS, one of my main clients. 

Wanna Cry is one of a line of Viruses that exploit SMBv1 over ports 135 and 445.

A kill switch has been enabled, but this won't protect machines sitting behind http proxies, and there are already reports of new versions without a kill switch.

All windows machines should be isolated and updated a.s.a.p. 

If automatic updates is not on, a patch can be dowloaded from here...

https://technet.microsoft.com/en-us/library/security/ms17-010.aspx

Including the unusual security releases for XP and 2003..

Last comment 15 May 2017
0 5
439

views

+ 3

rating

Prmoetheus is a really good to combine measures, and export them in graphical dashboards

https://prometheus.io/

http://grafana.org/

 

I would like to write some a caché exporter for Prometheus, that will allow to expose some metrics of the database, or even some metrics of my own

Did anyone already tried ?

Thank for the answer

Last answer 15 May 2017 Last comment 11 October 2016
0 3
212

views

+ 1

rating

Hi Team,

                 I am interesting to learn IKNOW concepts in Cache.Will need your guidance.

                 I. What is iKnow.

                 ii. Where we are using Iknow(Real time example)

                 iii. How to we work on iKnow(Did any tools Need?)

                iv. Please give notes and articals

 

 

Thanks ,

Ponnumani Gurusmay

 

 

Last answer 15 May 2017 Last comment 15 May 2017
0 0
105

views

0

rating

Recently I have encounter an issue to get the columns out from a query without execute it.

For example:

I have a Query looks like below. How can I get the 'col1,col2,col3,col4' or the text of the query("select col1,col2,col3,col4 from mytable") back?

Query myquery() As %SQLQuery(CONTAINID = 0) [ SqlProc ]
{
 SELECT col1, col2, col3,col4
 FROM  mytable
 }
 

Last answer 12 May 2017
0 3
0

comments

144

views

0

rating

I was looking at the OrefToArray^%occRun in the %CSP.ErrorLog page in version 2016.  However, we're on version 2014, and that method does not seem to exist yet.  I would love a good way to swizzle out the info in the %request, %session, %response objects for the error log for my own error page, in version 2014.  I don't want to have to go through and get all the properties manually, but I will if I must.  Any other good way  already written?

Thanks,

Laura

Last answer 12 May 2017 Last comment 12 May 2017
0 6
280

views

0

rating

Hello All,

I have a question / issue regarding the calling list.FindOref(<object from indexOpen call>)
Here is a simple way to reproduce the issue: 
2 classes: Utility.contacttypes and Utility.person
*************************

Class Utility.contacttypes Extends %Persistent
{
Property description As %Library.String(TRUNCATE = 1);
/// Index for property description
Index descriptionIndex On description [ Unique ];
}

************************

Last answer 12 May 2017 Last comment 12 May 2017
0 5
174

views

+ 3

rating

Hi,

I would like to list out unchecked mapped items ( classes in management portal )  classes of a particular namespace. Is there any code or terminal command which i can use ?

I am able to list out classes of namespace . But I need to list out unchecked mapped items classes

do ##class(%SYSTEM.OBJ).GetClassList(.result)

 

Last answer 11 May 2017 Last comment 12 May 2017
0 0
150

views

0

rating

Note (Sept 2018): There have been big changes since this post first appeared, I suggest using the Docker Container version, the project and details for running as a container are still in the same place  published on GitHub so you can download, run - and modify if you need to

Last comment 11 May 2017
1 5
872

views

+ 8

rating

Hi,

I would like to know if there is any code to compare and update two directories/namespaces for class files.
If file is present in directory1 and not present in diectory2, it should import the classfile.
If file is not present in directory1 and it is present in directory2, the corresponding file should be deleted from  directory2.

Please suggest code for the task.

Thanks,
Arpitha R

 

Last answer 11 May 2017
0 4
0

comments

261

views

0

rating

Something that shot up the popularity stakes last week was this article on a very interesting initiative: RealWorld:

https://medium.com/@ericsimons/introducing-realworld-6016654d36b5

I decided it would be a good idea to use this as a way of creating an exemplar implementation of a RESTful back-end using QEWD against their published API (https://github.com/gothinkster/realworld/tree/master/api)

The results are here:

https://github.com/robtweed/qewd-conduit

Actually it's the first 3rd-party implementation out of the blocks!

Although I state that it uses Redis as the database, you can seamlessly swap in Cache instead and it will work without any change apart from editing the QEWD startup to instruct it how and where to connect to Cache

Last comment 11 May 2017
0 1
824

views

+ 4

rating

We at George James Software are pleased to announce the release of version 2.6 of Serenji, our editor and debugger for Caché, Ensemble and HealthShare.

The main enhancement in 2.6 is the ability to run on a Linux <edit> or OS X </edit> workstation using Wine 1.8. More release details are here.

This is a free upgrade to users already holding an activation key. For new users a free 30 day evaluation period is granted upon installation.

John Murray
Senior Product Engineer
George James Software

Last comment 10 May 2017
0 2
355

views

+ 2

rating

What is a correct way to pass parameters to the  %CONTAINS in embedded SQL statement when searching thru %Text property?

s sp="child,health"

&SQL(

DECLARE c1 CURSOR FOR

SELECT ID INTO :id FROM ICD WHERE Name %CONTAINS (:sp)

...

is not the same as executing the following in the SQL Manager

SELECT ID FROM ICD WHERE Name %CONTAINS ('child','health')

Last answer 9 May 2017 Last comment 10 May 2017
0 4
206

views

0

rating

Hi ,

From the below code, we are able to import the class file to the namespace ( specified path is C:\temp\distr ) 

I have a class file and a folder in the above specified path. When i run the code, it is importing only the class file but not the class files present in folder. 

I would like to know is there any code to import the class files present in folder as well.

Last answer 10 May 2017 Last comment 10 May 2017
0 4
374

views

0

rating

Hi All -

Our environment has multiple instances of HealthShare installed and most are on separate VMs/servers. Does anyone have any ideas on how to efficiently manage user accounts across all of these multiple instances of HealthShare? As you can imagine, creating 10 separate Cache accounts on each instance during onboarding of new associates is cumbersome and tedious as is disabling them. We have yet to integrate with AD but we do have a Cyberark initiative under way but it is in the very early stages.

 

Additionally - I would eventually like to do some reporting based off of specific roles within HealthShare/Ensemble/Cache. Example:

Filtering user accounts for our entire system for accounts that have %All

Last answer 10 May 2017
0 1
0

comments

331

views

0

rating