Not sure about ObjectScript terminal but PythonGateway includes Python shell with multiline support:

- Log in to post comments
Not sure about ObjectScript terminal but PythonGateway includes Python shell with multiline support:

If it's a File Stream you can set TranslateTable property to your charset before reading.
Otherwise you can use $zcvt function to convert strings.
Here's an example of iterating encodings for $zcvt to determine a correct encoding.
If you are interested in encoding internals use zzdump to check hexdumps.
If your encoding is region specific don't forget to set your locale.
Persistent classes:
SELECT Name
FROM %Dictionary.ClassDefinition_SubclassOf('%Persistent')List properties and relationships (if you need subset - filter by parent - it's a class):
SELECT
parent, Name, Cardinality, Collection, Id, _Identity, Relationship, Type
FROM %Dictionary.CompiledPropertyForeign keys:
SELECT
parent, Name, Properties, ReferencedClass, ReferencedKey
FROM %Dictionary.ForeignKeyDefinitionFor everything %Dictionary.Compiled* - includes defined and inherited values, Definitions include only items defined in a current class.
Work with %SYS.Task objects.
Here's an example of creating a task but you can open an existing task too and modify it.
You need to remove these lines from Login method.
Redefine Login method in you broker and remove:
#; We want Basic authentication
Do %response.SetHeader("WWW-Authenticate","Basic")Curenlty active setting value (so System Default Setting in your case) should be returned.
I was unable to reproduce the issue on Cache for Windows (x86-64) 2016.1.4 (Build 104_6U) Wed May 22 2019 12:23:59 EDT.
Have you updated your production?
Check that your production definition does not contain old settings.
.png)
You can replace
s Args = aKey + 1s Args(Args) = Itemwith:
s Args($i(Args)) = ItemCheck $SYSTEM.SQL.DDLImport().
Source port is random. Only destination port is fixed.
Some datasets for participants.
If you're interested in rollback, check this series of articles on deploying with GitLab.
Add a new Business Host. If you want to add several, call CallProductionUpdateAndSaveToClass method once at the end.
Include Ensemble
Class test.prod
{
Parameter DOMAIN = "Ensemble";
/// Add new Business Host.
/// productionName - name of production class
/// name - name of item you want to add
/// class - class name of the item you want to add
/// w $System.Status.GetErrorText(##class(test.prod).add())
ClassMethod add(productionName As %Dictionary.CacheClassname = "isc.py.test.Production", name As %String = "MyOperation", class As %Dictionary.CacheClassname = "isc.py.ens.Operation")
{
Set production = ##class(Ens.Config.Production).%OpenId(productionName)
Set item = ##class(Ens.Config.Item).%New()
Set item.PoolSize = 1
Set item.Name = name
Set item.ClassName = class
Set:item.Name="" item.Name = item.ClassName
Set item.Enabled = $$$YES
Set sc = production.Items.Insert(item)
Quit:$$$ISERR(sc) sc
Set sc = $$$AuditModifyProductionConfig(production.Name,item.Name,$$$Text("Item added to production using generator in " _ $classname()))
Quit:$$$ISERR(sc) sc
Set sc = ##class(EnsPortal.Template.prodConfigSCPage).CallProductionUpdateAndSaveToClass(production,"","SaveProduction")
Quit sc
}
}Can you expose your service as a REST?
Client-side JS is really not suited to working with web services.
@Yuri.Gomessolution (HandleCorsRequest) would work for REST.
You're correct except it's called a public web server (and not a proxy).
Here are some ideas for contestants:
Also, note that PythonGateway-Template is built upon the Advanced Analytics image, so you can use both IntegratedML and PythonGateway from the same docker image.
Very interesting.
One of our customers is running BPMN processes in Ensemble.
Would like to read about your approach.
%XML.TextReader probably.
%Net.HttpRequest is a correct way to go about it.
Give CSPSystem user access to the database with a REST broker.
Just use a service with EnsLib.File.InboundAdapter.
Do you want to send alerts on all exceptions?
If you have a centralized exception handler, you can write to messages.log from there and send alerts with Log Monitor (or use /alerts endpoint with external monitoring tool).
Use this Task to run Business Service via Task Manager.
Alternatively you can use Ensemble Scheduling.
How many files are there in total?
How many (on average) do you need to process per day?
Still interested.
Thanks for the info.
Does dedicated license server not support application licenses?
@Yuri Marx you can use "@Name" to mention someone.
@Sarvesh.Rautis your server available over HTTPS (and call HTTPS endpoints)?
Please post the code of GatewayState method.
Sample Community Adapter for RabbitMQ.