Hi All, I'm in the process of trying to rollout the git version control system with our current code base within Atelier. We use Ensemble to develop interfaces but are looking to move to IRIS in the near future. Our code is structured similar to below:
Site
System1
Routers
Processes
Transformations
Data
Services
Operations
…
System2
Routers
Processes
Transformations
Services
Operations
Data
…
Productions
Routers
Operations
My initial thoughts are that we would have three repositories. One for DEV, TEST and PROD. Each repository would contain multiple Atelier projects where each project is a system. Potentially I would place all the shared/common items in a separate project called something like Common.
I'm also wondering how best to version control shared/common items such as lookup tables, schemas, productions, routers etc. that are used by multiple systems?
Thanks,
Graham
1 Comment
https://fr.community.intersystems.com/node/468306
Is there a way to create an alert through the Management portal to indicate the "iris" service has stopped?
2 Comments
https://fr.community.intersystems.com/node/468251
Hi all,
Over the next few months I'm going to be setting up continuous integration via Jenkins for some Angular UI's. The goal is to, on each build:
1. build the code
2. run the unit tests and get a report
3. get a code coverage report
Just wanted to poll the community in case someone else has already worked with any of this before. All ideas are appreciated.
Cheers,
Johnny
7 Comments
https://fr.community.intersystems.com/node/467946
How do I manipulate a string in Ensemble DTL (X12 document) to extract a string starting from the right, or end, of the string?
I need to have 10 digit phone numbers, however some of the source data records include the "1" for the long distance dialing and I need to exclude this.
I have tried using Right(), SubStr(), and even SubString(string,*,-10) but it will not compile.
I find it hard to believe that Ensemble does not have the ability to read a string from the right.
Thank you for any assistance.
5 Comments
https://fr.community.intersystems.com/node/467921
I am trying to return a stream soap response using web services I can call my web service supply it with a xml string which works fine . I then work on that XML and try to return a Stream but all works in the production when my service receives the stream after I get the error as if its trying to copy stream to a variable and I am confused as to where that operation happens.
The errors I am getting
ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zCopyFrom+28^%Stream.TmpCharacter.1 *Rewind
and here is the stack trace in case I am missing something
- $$^zGetErrorTrace+3^Ens.Util.Trace.1 +1
- $$^zCopyFrom+28^%Stream.TmpCharacter.1 +1
- DO^zDocumentSet+8^PDFRendering.Message.FOPPDFRenderRequestMRES.1 +1
- $$^zprocessTestTwo+9^PDFRendering.Service.FOPPDFSoapService.1 +1
- $$^zOnProcessInput+11^PDFRendering.Service.FOPPDFSoapService.2 +1
- $$^zProcessInput+11^Ens.BusinessService.1 +1
- $$^zTestTwo+1^PDFRendering.Service.FOPPDFSoapService.3 +1
- DO^zInvokeService+3^PDFRendering.Service.FOPPDFSoapService.TestTwo.1 +1
- $$^zInvokeMsgClass+3^%SOAP.WebService.1 +1
- DO^zProcess+413^%SOAP.WebService.1 +1
- $$^zOnPage+33^%SOAP.WebService.1 +1
- $$^zPage+10^%SOAP.WebService.1 +2
- DO^CSPDispatch+718^%SYS.cspServer +2
- DO^CSPDispatch+569^%SYS.cspServer +1
- DO^zProcessRequest+1^%CSP.Session.1 +1
- DO^Request+535^%SYS.cspServer2 +1
- DO^Request+21^%SYS.cspServer2 +1
- DO^zProcessRequest+1^%CSP.Request.1 +1
- DO^css+36^%SYS.cspServer2 +1
the service code is as follows please note the method being called by the web method is just a switch statement which directs to the intended method process thanks in advance
Method TestTwo(pInput As %String) As %String [ WebMethod ]
{
set tSC=..ProcessInput(pInput,.oRes,"TestTwo")
do:$$$ISERR(tSC) ..ReturnMethodStatusFault(tSC)
quit oRes
}
Method processTestTwo(pInput As %String) As %String
{
#;the message class for the file meta data
#dim oMREQ as PDFRendering.Message.FOPPDFRenderRequestMREQ=##class(PDFRendering.Message.FOPPDFRenderRequestMREQ).%New()
If (pInput'="")
{
do oMREQ.Source.Write(pInput)
set tSC=..SendRequestSync(..TargetConfigNames,oMREQ,.response)
if $$$ISERR(tSC) do ..ReturnMethodStatusFault(tSC)
//use info from Ensemble response to create SOAP response
set soapresponse=##class(PDFRendering.Message.FOPPDFRenderRequestMRES).%New()
set soapresponse.Document=response
set incoming=soapresponse.Document_""
}else
{
set incoming="Input empty"
}
quit incoming
}
3 Comments
https://fr.community.intersystems.com/node/467651