go to post Oliver Wilms · Sep 20, 2022 From Production Configuration page in Management Portal, you can click any service, process, or operation. Look for Actions tab in right side of the screen, and click on Change Class.
go to post Oliver Wilms · Sep 19, 2022 I think you get a WRITE error, because it is not really connecting. Does the external REST API receive your request?
go to post Oliver Wilms · Sep 17, 2022 Hello, Thembelani, I have implemented a similar case in this app: https://github.com/oliverwilms/irisrest/blob/master/src/App/REST.cls#:~:... Important helper method is this: /// Helper methodClassMethod GetJSONFromRequest(Output obj As %DynamicObject) As %Boolean{ Set ok = 1 Try { Set obj = ##class(%DynamicObject).%FromJSON(%request.Content) } Catch ex { Set ok = 0 } Quit ok} Best regards, Oliver
go to post Oliver Wilms · Sep 15, 2022 Probably look at GetHostInfo in class User.ProductionMonitor: https://github.com/oliverwilms/production-monitor/blob/main/src/User/Pro...
go to post Oliver Wilms · Aug 24, 2022 Is the private key file "id_rsa" or "p_id_rsa"? Are the key files in "/path/to/" directory?
go to post Oliver Wilms · Aug 24, 2022 I think you got the methods reversed. To connect using the key pair you should use this method: set sc = ssh.AuthenticateWithKeyPair("sftpuser","/path/to/id_rsa.pub","/path/to/p_id_rsa","") I have tested this and it works
go to post Oliver Wilms · Aug 12, 2022 It appears to me that User.Person class does NOT have Age property
go to post Oliver Wilms · Jul 10, 2022 I just realized this only happens on my work laptop. Maybe some browser restriction
go to post Oliver Wilms · Jul 1, 2022 I have tried using getProductionItems() using this code: ClassMethod GetProductionItems(pProd As %String,pDefinition As %String,pAutoAdd As %String) As %Status{Set tSC = $$$OKIf ($Get(pProd) = "") {Set pProd = ##class(Ens.Director).GetActiveProductionName()}Set tProduction = ##class(Ens.Config.Production).%OpenId(pProd)Set tSC = ##class(Ens.Director).getProductionItems(tProduction,.pDefinition,.pAutoAdd)ZWQuit tSC}
go to post Oliver Wilms · Jul 1, 2022 Interesting question. I looked in Documentation and found a CreateDocumentation classMethod. I tried to test it with this code. I got an error in my Production. Let me know if this helps you. I will look at getProductionItems() next... ClassMethod CreateDocumentation(pProduction As %String = "",pIntro As %Boolean = 1,pFormat As %String,Output LogFileName As %String,Output URL As %String,Output BookName As %String,PDFFileName As %String,PDFRenderer As %String,ByRef Params As %String,pAllSettings As %Boolean = 0) As %Status{Set tSC = $$$OKIf (pProduction = "") {Set pProduction = ##class(Ens.Director).GetActiveProductionName()}Try {Set tSC = ##class(%SYS.Ensemble).CreateDocumentation(pProduction,pIntro,$G(pFormat),.LogFileName,.URL,.BookName,$G(PDFFileName),$G(PDFRenderer),.Params,pAllSettings)} Catch {Set tSC = ##class(%SYS.Ensemble).CreateDocumentation(pProduction,pIntro,$G(pFormat),.LogFileName,.URL,.BookName,$G(PDFFileName),$G(PDFRenderer),.Params)}Do $System.Status.DisplayError(tSC)ZWQuit tSC}