Question
· Apr 6, 2018
EnableConfigItem() scripting

We have scripted a process where we can run EnableConfigItem from the cron in AIX so we can run multiple scripts at a time vs the scheduler in Ensemble that is single threaded. For the most part this works fine, until that service/operation has an error on it then it seems that everything else that is called after that instance halts.

Is there something that is stopping EnsConfigItem() from running once something has error'd?

Can something be forced like it does if we try to enable/disable in the gui and it times out?

this is the single command line we are calling

0 3
0 463
InterSystems Developer Community is a community of 18,203 amazing developers
We're a place where InterSystems IRIS programmers learn and share, stay up-to-date, grow together and have fun!

In this series of articles, I'd like to present and discuss several possible approaches toward software development with InterSystems technologies and GitLab. I will cover such topics as:

  • Git 101
  • Git flow (development process)
  • GitLab installation
  • GitLab Workflow
  • Continuous Delivery
  • GitLab installation and configuration
  • GitLab CI/CD
  • Why containers?
  • Containers infrastructure
  • GitLab CI/CD using containers

In the first article, we covered Git basics, why a high-level understanding of Git concepts is important for modern software development, and how Git can be used to develop software.

In the second article, we covered GitLab Workflow - a complete software life cycle process and Continuous Delivery.

In the third article, we covered GitLab installation and configuration and connecting your environments to GitLab

In the fourth article, we wrote a CD configuration.

In the fifth article, we talked about containers and how (and why) they can be used.

In this article let's discuss main components you'll need to run a continuous delivery pipeline with containers and how they all work together.

4 0
2 3.4K
Question
· Apr 5, 2018
Drawing boxes

Hello, Community!

Here's an interesting task I found on the Internet.

Problem description

Write a method that would draw a box of a specified size.

The goal is to write the shortest method.

Here's a method signature (it can't be modified):

ClassMethod main(s As %Integer = 10)

And call sample:

>do ##class(ITPlanet.Task4).main(5)
#####
## ##
# # #
## ##
#####

>do ##class(ITPlanet.Task4).main(10)
##########
##      ##
# #    # #
#  #  #  #
#   ##   #
#   ##   #
#  #  #  #
# #    # #
##      ##
##########
 
>do ##class(ITPlanet.Task4).main(20)
####################
##                ##
# #              # #
#  #            #  #
#   #          #   #
#    #        #    #
#     #      #     #
#      #    #      #
#       #  #       #
#        ##        #
#        ##        #
#       #  #       #
#      #    #      #
#     #      #     #
#    #        #    #
#   #          #   #
#  #            #  #
# #              # #
##                ##
####################

2 15
0 584
Question
· Apr 4, 2018
JPA Mapping of Lists

I'm having a lot of trouble figuring out how to properly map List collection types. I can't change the schema at all, and I don't have the ability to change the way they are stored from the serialized form to the Array projection. I'm also pretty locked into using JPA for Java interoperability, as I'd like to be able to change out the backing database arbitrarily.

0 1
0 314
Question
· Apr 3, 2018
Comparing Cache-Objects

Hi guys,

is there an easy way to compare two objects in os?

Example:

I have a registered order-object at runtime. Now I want to call a specific export-service just in the case that sth in this order has changed since the last export. So I have to compare the persisted order-object (last export) with the current order-object.

Ist there an easy way to compare these two objects or do I have to check each object-value separately?

Thanks for your help!

Regards, Thomas

0 1
0 785

Hi, Community!

This post is a digest of the Developer Community postings in March 2018.

Most viewed

(Webinar Mar 14) REST API Design and Development 272

Replacing ZEN - Part 1 - Introduction 195

Continuous Delivery of your InterSystems solution using GitLab - Part I: Git 194

REST Design and Development 161

Deployment Strategies: Do You Compile ObjectScript on a Production Site? 161

Angular 4 (2-5), CacheAutentication, Cache2017.1, REST 155

Parallel execution in COS 154

Continuous Delivery of your InterSystems solution using GitLab - Part II: GitLab workflow 144

problems renaming/copying classes 129

Sending Alerts to Mobile Phone using Pushover from HTTP.OutboundAdapter 128

Most voted

Continuous Delivery of your InterSystems solution using GitLab - Part I: Git 6

Replacing ZEN - Part 1 - Introduction 5

Save the Date - InterSystems Partner's Day 2018 in Austria 5

(Webinar Mar 14) REST API Design and Development 5

Replacing ZEN - Index to articles 5

Continuous Delivery of your InterSystems solution using GitLab - Part II: GitLab workflow 4

Minimum Monitoring and Alerting Solution 4

Sending Alerts to Mobile Phone using Pushover from HTTP.OutboundAdapter 3

Caché Native Access — working with native libraries in Caché 3

DeepSee: Databases, Namespaces, and Mappings - Part 1 of 5 3

Most commented

problems renaming/copying classes 19

Deployment Strategies: Do You Compile ObjectScript on a Production Site? 19

GetSwizzled error in cache 14

creating a test server 13

translation of data ready to push to and from a JSON restAPI 13

(Webinar Mar 14) REST API Design and Development 10

Filters in DeepSee Dashboards 10

SqloutBound Adapter with Output to File 8

Multiple installs of Eclipse/Atelier with different server connections 8

How to Call a Custom Listing in MDX? 8

Top 10 Authors to Follow by Views

Eduard Lebedyuk, Posts, 667

Peter Cooper, Posts, 289

Mark Connelly, Posts, 128

Murray Oldfield, Posts, 81

Evgeny Shvarov, Posts, 60

Artem Daugel-Dauge, Posts, 52

Alessandro Marin, Posts, 36

Top 10 Experts to Follow

Robert Cemper, Answers, +4

Timothy Leavitt, Answers, +3

Tomas Vaverka, Answers, +2

Eduard Lebedyuk, Answers, +2

Dmitry Maslennikov, Answers, +2

Michael Moulckers, Answers, +1

Mark Hanson, Answers, +1

Ray Fucillo, Answers, +1

Alessandro Marin, Answers, +1

John Murray, Answers, +1

0 0
0 220
Article
· Mar 31, 2018 1m read
What Are You Using For Issue Tracking?

Hi, Community!

What is your favorite issue tracking system for projects with InterSystems Data Platform? What did you use and what are you using now?

In projects with InterSystems Data Platform, I worked with Redmine, JIRA, Trello. A lot of code versioning systems now have this feature too (Gitlab, Github).

Now my favorite for small and medium projects is Github, because it is simple, is very close to code (commit-issue linkage) and it has kanban).

1 10
0 701

Sounds odd - but I encountered it - twice now. Cache was restarted. in that period the primary journal directory was full and it was writing to the secondary journal directory. So upon start-up, it was quite obvious that it was not going to write to the primary. Cache reported this but was able to continue with the start-up but writing to the secondary. All of a sudden it doesn't recognize the 'primary' config any more and started saying 'Alternate and primary journal directories are the same'.

0 3
0 881

I am trying to use current implementation of source Control for Cache Studio in Atelier, but UserAction = 3 "Run an EXE on the client" is not working. Basically Atelier is launching a "page" using the target as url.

Am I missing any settings in order to command Atelier to run a exe command instead?

Cache Version: Cache 2017.2.0.744.0

Platform: Windows 10

0 5
0 319

There are numerous ways to interact with InterSystems Caché: We can start with ODBC/JDBC that are available via SQL gateway. There are API for .NET and Java too. But if we need to work with native binary libraries, such interaction is  possible through Caché Callout Gateway, which can be tricky. You can read more about the ways of facilitating the work with native libraries directly from Caché in the article below.

5 1
1 960

Hi,

We have a PAS that accepts HL7v2 QBP^Q21 requests, and returns patient details in an RSP^K21.

We have a clinical system that wants to sent an http GET request of the form http://server/getpatientbyid?pid=M1234567

So I think I need to convert the query url into a QBP^Q21 (HL7) message, then take the response in HL7v2, convert to SDA, convert to FHIR, and put that in the response to the original GET.

Does anyone have any experience doing this? is there an approach you would recomend?

0 7
0 2.1K

Morning guys I have a SQL operation that I use to read data and results to a record map. But seems to have trouble saving the objects to a record map as I get this message

ERROR ErrException:
zInsertObject+2^%Library.RelationshipObject.1 -- logged as '-' number - @''

please help here is my code let me know if I missing anything thank you in advance

0 2
0 577

I am trying to create an iKnow domain programmatically like:

    Set dom = ##class(%iKnow.Domain).%New("TestDom")
    Do  dom.SetParameter("DefaultConfig", "MyConfiguration")
    Set sc = dom.%Save()

   ...

Although "MyConfiguration" sets the language to "ja", i.e. Japanese, it doesn't seem to be respected, and what I see on the top right pane in Knowledge Portal is related concepts, instead of proximity profiles, which I expect to see in Japanese language mode.

Also resulting segmentation of sentences looks to be it is in English mode.

0 2
0 355