Activity for Marat Kamalov

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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)....

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    if jackson.defaultDateFormat doesn't work please try jacksondatabinding.defaultDateFormat. It was renamed recently.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    How to use: Just register a bean in Spring context that implements RuleServicePublisherListener interface,

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    You can look at org.openl.rules.ruleservice.publish.RuleServicePublisherListener interface.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Open Discussion

    Next release will support this out of the box.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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,...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Open Discussion

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, Please, could you share a list of steps to reproduce this issue? Thanks.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    <method-filter> <excludes> <value>[a-z].*</value> </excludes> </method-filter> Why is this not working for you?

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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>...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    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>...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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>...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    If reponse is OK and you stuggle with SOAP response parsing let me know.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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.

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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,...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    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...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, Why you expect to see something in web browser for RMI connection? Web browser...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Yes, you are right. It should be done through the Ant/Maven scripts for generate...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Yes you can. In this case you could generate plain Java Bean for this datatype and...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, If I'm correct to understand the question, you could pass pure Java String type...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    All steps to configure remote repository: 1) Download and install two tomcats (configure...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Documentation says "Copy the deployment-repository folder into the <OPENL_HOME> folder....

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Documentation says "Copy the deployment-repository folder into the <OPENL_HOME> folder....

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Do you undestand that all places where used <OPENL_HOME> in documentation you should...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, Please, help me to undestand your problem. I see exception in tc2_remoterepository-stdout.2016-11-29.log...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, Yes you can, you could configure it via rules-deploy.xml file. Create this file...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi Florian, Now we use new naming behaviour, There are no option to use old naming...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Open Discussion

    Hi, Thank you for interesting with OpenL Tablets. Sorry, but we need additional information...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, Probably, we will release 5.15.1 with this fix and a few other fixs on the next...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Hi, The "hour=11" doesn't JSON string. Try this string "hour : 11" or "{hour : 11}"...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, The "hour=11" doesn't JSON string. Try this string "hour : 11" or "{hour : 11}"...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, I'm sorry I didn't use c url command before. As exception says OpenL WS doesn't...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Hi, We are recomend to use RulesEngineFactory class for create objects and invoke...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, We are depricated wrapper functionality a few years ago. We are recomend to use...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, I want to investigate this issue. How can i get this rules.xls file? Could you...

  • Marat Kamalov Marat Kamalov modified a comment on discussion Help

    Hi Florian, Seems that it is a bug. We are planing to release a OpenL 5.13.2 with...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi Florian, Seems that it is a bug. We are planing to release a OpenL 5.13.2 with...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Probably, you have already created repository. If you have repository skip this ...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Are you creating repository via Jackrabbit web application?

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    See this: https://docs.google.com/document/d/1tBrD5RgCmQmK94Sg8pLTAEt7h0dhBzn1i2...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    OpenL supports this feature. You have to configure WebStudio and Webservice application...

  • Marat Kamalov Marat Kamalov posted a comment on discussion Help

    Hi, Probably when you add one argument system search method with one argument, but...

1