Hi, rules-deploy.xml file is a deployment configuration. Deployment configuration is described at page 17 in http://openl-tablets.org/files/openl-tablets/5.24.0/OpenL%20Tablets%20-%20Rule%20Services%20Usage%20and%20Customization%20Guide.pdf. Use following publisher configuration to enable kafka: <publishers> <publisher>KAFKA</publisher> </publishers> Please, read the section about Kafka starting page 25 in the document. You can also refer to the example in test folder (https://github.com/openl-tablets/openl-tablets/tree/master/ITEST/itest.kafka.smoke)....
Hi, Above properties enables the support of the feature in the system, but to store data to the DB annotation @StoreLogDataToDB must be used the same way as @StoreLogDataToCassandra. I suggest refer the documentation http://openl-tablets.org/files/openl-tablets/5.24.0/OpenL%20Tablets%20-%20Rule%20Services%20Usage%20and%20Customization%20Guide.pdf page 44. Please, read details about Cassandra and ElasticSearch. Documentation for SQL database comes soon. Use Hibernate entity and @StoreLogDataToDB annotation...
Hi, If I undestand correcly you can try to remove this interface from project configuration and use only xls files. OpenL generates this interface at runtime automatically if no other interface is declared in the project configuration. To suggest the best solution I have to undestand your case. For example: Maybe you want expose only one method and manually create an interface only with this method. Thanks Marat Kamalov.
if jackson.defaultDateFormat doesn't work please try jacksondatabinding.defaultDateFormat. It was renamed recently.
Hi Kamal RAIMI, If you want only to customize date format for all date fields in all datatypes in a service you can to apply following configuration via rules-deploy.xml: <configuration> <entry> <string>jackson.defaultDateFormat</string> <string>dd/MM/yyyy HH:mm:ss</string> </entry> </configuration> Date format should be compatible with Java Simple date format: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html If you want mix different date formats in datatype fields then...
FYI, it is a listener that fires when services are updated in ruleservice. Use it when you want to nofify third application that service is updated. If you want to fire a listener when database is changed but ruleservices are not updated (because deployments are ignored by configuration) then RuleServicePublisherListener is not fired. Also, RuleServicePublisherListener fires only after service is updated if DB is changed. But DataSourceListener fires when DB is update but service can be not updated...
How to use: Just register a bean in Spring context that implements RuleServicePublisherListener interface,
You can look at org.openl.rules.ruleservice.publish.RuleServicePublisherListener interface.
Hi, This document contains information for developers and this interface for listener is designed for implementing a new type of Production Repository. What are you want to do? Thanks, Marat Kamalov.
Hi, Constants supports only classes from applicaiton classloader (Java types and OpenL types) and constants table doesn't support expression eval in values column (the same as datatypes for default value). It supports only literal values. Maybe we improve constants tables to support expressions in feature. BTW, using data types in contansts is not safe, because you can't protect values from mutability. And it is not safe to use mutable values as result. I suggest you to create a new value for each...
Hi, Constants supports only classes from applicaiton classloader and constants table doesn't support expression eval in values column (the same as datatypes for default value). It supports only literal values. Maybe in feature we add BTW, using data types in contansts is not safe, because you can't protect values from mutability. And it is not safe to use mutable values as result. I suggest you to create a new value for each result. Thanks, Marat Kamalov.
Sorry, we don't have examples with AspecJ. Please, refer https://www.eclipse.org/aspectj/docs.php AspectJ documentation. You will have a new WAR file. Intercepting method is org.openl.rules.method.ExecutableRulesMethod#invoke This method is invoked for all type of tables with a list of parameters. Thanks, Marat.
Next release will support this out of the box.
Hi, I suggest you look at org.openl.rules.serialization.JacksonObjectMapperFactoryBean class. In OpenL Webservices we use org.openl.rules.ruleservice.databinding.JacksonObjectMapperFactoryBean that it is the same class. I suggest you to inherit org.openl.rules.ruleservice.databinding.JacksonObjectMapperFactoryBean and override createJacksonObjectMapper method. You should play with following lines: mapper.enableDefaultTyping(ObjectMapper.DefaultTyping.JAVA_LANG_OBJECT, JsonTypeInfo.As.PROPERTY); Please,...
Hi, We don't support this out of the box. But you could change ObjectMapper as you want. Refer to Jackson documentation. OpenL Webservices uses JAXRSJacksonObjectMapper bean from Spring context to create ObjectMapper. You could add a spring configuration to wrap this bean with your logic in openl-ruleservice-jaxrs-publisher-beans.xml if you want. Please, refer to Spring documentation for more datails. Thanks, Marat Kamalov.
Hi, Please, could you share a list of steps to reproduce this issue? Thanks.
Hi, Please, read Interface Customization through Annotations part in documentation. You have to create an interface with all methods that you want to expose as service method (An interface with the same signature methods as they are difined in rules) and then you can use interceptor annotation in this interface for intercepting methods. This interface should be used in Intercepting template class property on Rules Deployment Configuration tab. Thanks.
Hi, Yep, you are right. OpenL doesn't support try/catch. And you could jar'd method. Sorry, we don't want to support try/catch in OpenL now. Thanks, Marat.
<method-filter> <excludes> <value>[a-z].*</value> </excludes> </method-filter> Why is this not working for you?
Hi, No, we don't have functionality to merge several spreadsheet results. Several spreadsheet results may have the same cell with different types or have diffirent structure. Thanks, Marat.
Hi, Include/exclude functionality works only for generated interfaces. Yes any regex from one module is applied to all modules. We don't have functionality to apply regex for each module. Sorry for this wrong XML structure. 1) If excludes and includes list aren't specified then all methods are used. 2) If includes list is specified then only methods that mach at least one regexp are used. 3) If excludes list is specified then only methods that not mach to all regexp are used. 4) If includes and excludes...
Sorry, for the late answer. If I want to put all properties in a datatype can I hnadle this directly in the spreadsheet ? can I put Datatype.Property = Value then return the complete datatype ? Yes you can. For that you need to change return type of your Spreadsheet table and the last row of your spreadsheet table needs to be named as "RETURN". You can find addtional information about table structure in http://openl-tablets.org/files/openl-tablets/5.18.0/OpenL%20Tablets%20-%20Reference%20Guide.pdf...
Sorry, for the late answer. If I want to put all properties in a datatype can I hnadle this directly in the spreadsheet ? can I put Datatype.Property = Value then return the complete datatype ? Yes you can. For that you need to change return type of your Spreadsheet table and the last row of your spreadsheet table needs to be named as "RETURN". You can find addtional information about table structure in http://openl-tablets.org/files/openl-tablets/5.18.0/OpenL%20Tablets%20-%20Reference%20Guide.pdf...
Sorry, for the late answer. If I want to put all properties in a datatype can I hnadle this directly in the spreadsheet ? can I put Datatype.Property = Value then return the complete datatype ? Yes you can. For that you need to change return type of your Spreadsheet table and last row of spreadsheet needs to be named as "RETURN". You can find addtional information about table structure in http://openl-tablets.org/files/openl-tablets/5.18.0/OpenL%20Tablets%20-%20Reference%20Guide.pdf on page 77. Use...
Sorry, for the late answer. If I want to put all properties in a datatype can I hnadle this directly in the spreadsheet ? can I put Datatype.Property = Value then return the complete datatype ? Yes you can. For that you need to change return type of your Spreadsheet table and last row of spreadsheet needs to be named as "RETURN". You can find addtional information about table structure in http://openl-tablets.org/files/openl-tablets/5.18.0/OpenL%20Tablets%20-%20Reference%20Guide.pdf on page 77. Use...
Sorry, for late answer. If I want to put all properties in a datatype can I hnadle this directly in the spreadsheet ? can I put Datatype.Property = Value then return the complete datatype ? Yes you can. For that you need to change return type of your Spreadsheet table and last row of spreadsheet needs to be named as "RETURN". You can find addtional information about table structure in http://openl-tablets.org/files/openl-tablets/5.18.0/OpenL%20Tablets%20-%20Reference%20Guide.pdf on page 77. Use this...
Sorry, for late answer. If I want to put all properties in a datatype can I hnadle this directly in the spreadsheet ? can I put Datatype.Property = Value then return the complete datatype ? Yes you can. For that you need to change return type of your Spreadsheet table and last row of spreadsheet needs to be named as "RETURN". You can find addtional information about table structure in http://openl-tablets.org/files/openl-tablets/5.18.0/OpenL%20Tablets%20-%20Reference%20Guide.pdf on page 77. Use this...
You have <ns2:results> part in your response. A part from your response: <ns3:ArrayOfAnyType xmlns:ns3="http://cxf.apache.org/arrays"> <ns3:anyType xsi:type="ns4:string" xmlns:ns4="http://www.w3.org/2001/XMLSchema">3DSET</ns3:anyType> <ns3:anyType xsi:nil="true"/> </ns3:ArrayOfAnyType> <ns3:ArrayOfAnyType xmlns:ns3="http://cxf.apache.org/arrays"> <ns3:anyType xsi:type="ns4:string" xmlns:ns4="http://www.w3.org/2001/XMLSchema">ID_V653432_zaz</ns3:anyType> <ns3:anyType xsi:nil="true"/> </ns3:ArrayOfAnyType>...
Also you can use our Aegis Databinding to desirialize this response to SpreadsheetResult on client and use it as Java object if you want I can explain how to achive it.
You have <ns2:results> part in your response. A part from your response: <ns3:ArrayOfAnyType xmlns:ns3="http://cxf.apache.org/arrays"> <ns3:anyType xsi:type="ns4:string" xmlns:ns4="http://www.w3.org/2001/XMLSchema">3DSET</ns3:anyType> <ns3:anyType xsi:nil="true"/> </ns3:ArrayOfAnyType> <ns3:ArrayOfAnyType xmlns:ns3="http://cxf.apache.org/arrays"> <ns3:anyType xsi:type="ns4:string" xmlns:ns4="http://www.w3.org/2001/XMLSchema">ID_V653432_zaz</ns3:anyType> <ns3:anyType xsi:nil="true"/> </ns3:ArrayOfAnyType>...
You have your data in <ns2:results>. A part from your response: <ns3:ArrayOfAnyType xmlns:ns3="http://cxf.apache.org/arrays"> <ns3:anyType xsi:type="ns4:string" xmlns:ns4="http://www.w3.org/2001/XMLSchema">3DSET</ns3:anyType> <ns3:anyType xsi:nil="true"/> </ns3:ArrayOfAnyType> <ns3:ArrayOfAnyType xmlns:ns3="http://cxf.apache.org/arrays"> <ns3:anyType xsi:type="ns4:string" xmlns:ns4="http://www.w3.org/2001/XMLSchema">ID_V653432_zaz</ns3:anyType> <ns3:anyType xsi:nil="true"/> </ns3:ArrayOfAnyType>...
If reponse is OK and you stuggle with SOAP response parsing let me know.
Hi Laurent, Sorry, your problem is not clear for me. Please, could you share your response and explain what you expect in SOAP response? Thanks, Marat.
Hi, OpenL Tablets doesn't have persistence state for Data tables and any other table. You are able to modify Data table now but it could be restricted in feature releases, because we don't want to make rules stateful (we want to keep our rules clear). Please, look for Environment Table in OpenL Tablets documentation that says about feature of importing any Java class for rules. I suggest you import a Java class that implements persistence logic and use it in rules for persistence purposes. Thanks,...
Hi, Thanks you for using OpenL Tablets. I have checked this locally and seems it is a bug that has been intruduced in the latest versions of OpenL Tablets when vararg functionality was rewritten. The flatten method doesn't cast return type correct when vararg variables are used. Please, don't worry about other vararg functions this bug related only to the flatten method. It will be fixed ASAP. Right now I suggest you to use explicity cast as workaround and after migration to the newer version of...
Hi, Why you expect to see something in web browser for RMI connection? Web browser...
Yes, you are right. It should be done through the Ant/Maven scripts for generate...
Yes you can. In this case you could generate plain Java Bean for this datatype and...
Hi, If I'm correct to understand the question, you could pass pure Java String type...
All steps to configure remote repository: 1) Download and install two tomcats (configure...
Documentation says "Copy the deployment-repository folder into the <OPENL_HOME> folder....
Documentation says "Copy the deployment-repository folder into the <OPENL_HOME> folder....
Do you undestand that all places where used <OPENL_HOME> in documentation you should...
Hi, Please, help me to undestand your problem. I see exception in tc2_remoterepository-stdout.2016-11-29.log...
Hi, Yes you can, you could configure it via rules-deploy.xml file. Create this file...
Hi Florian, Now we use new naming behaviour, There are no option to use old naming...
Hi, Thank you for interesting with OpenL Tablets. Sorry, but we need additional information...
Hi, Probably, we will release 5.15.1 with this fix and a few other fixs on the next...
Hi, The "hour=11" doesn't JSON string. Try this string "hour : 11" or "{hour : 11}"...
Hi, The "hour=11" doesn't JSON string. Try this string "hour : 11" or "{hour : 11}"...
Hi, I'm sorry I didn't use c url command before. As exception says OpenL WS doesn't...
Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...
Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...
Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...
Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...
Hi, We are depricated wrapper functionality a few years ago. We are recomend to use...
Hi, I want to investigate this issue. How can i get this rules.xls file? Could you...
Hi Florian, Seems that it is a bug. We are planing to release a OpenL 5.13.2 with...
Hi Florian, Seems that it is a bug. We are planing to release a OpenL 5.13.2 with...
Probably, you have already created repository. If you have repository skip this ...
Are you creating repository via Jackrabbit web application?
See this: https://docs.google.com/document/d/1tBrD5RgCmQmK94Sg8pLTAEt7h0dhBzn1i2...
OpenL supports this feature. You have to configure WebStudio and Webservice application...
Hi, Probably when you add one argument system search method with one argument, but...