Ofbiz using itext-2.1.7

2022-08-12 Thread Rishi Agr
Hi, There is a usage of itext-2.1.7 (com.lowagie) library in ofbiz. And I am not sure if this comes under open source or some other license. Is it fine to use apache in commercial applications as it includes itext library? Thank you.

Caching does not work if offset and limit are used in a query

2022-07-08 Thread Rishi Agr
Hi, I have created a view and the query on it has the pagination implementation. The search on this view returns more than one page of data and I would like to cache this. I've observed that the cache does not work as expected if I have the offset and limit in the query. Also, if I change the page

Re: REST API - Access token and refresh token for login

2022-06-24 Thread Rishi Agr
gt; > Best regards, > > Michael Brohl > > > ecomify GmbH - www.ecomify.de > > Am 21.06.22 um 11:26 schrieb Rishi Agr: > > Hi, > > Whenever I login to the application using the rest api token, the user > logs > > out after specific time (1800 seconds). This is b

REST API - Access token and refresh token for login

2022-06-21 Thread Rishi Agr
Hi, Whenever I login to the application using the rest api token, the user logs out after specific time (1800 seconds). This is because the Access token expires and the user needs to login once again to continue the activities. Do we have the feature of refresh token in here to make sure the user

Re: Product Name storage and search and image storage

2022-05-09 Thread Rishi Agr
ailing Lists > > Nicolas > > On 09/05/2022 09:36, Hussain Thangal wrote: > > Please unsubscribe me from user lists. > > With best regards. > > > >> On 9 May 2022, at 9:47 AM, Rishi Agr wrote: > >> > >> Hi, > >> I have a situation where I n

Product Name storage and search and image storage

2022-05-09 Thread Rishi Agr
Hi, I have a situation where I need to store the name and description of the product is language specific (one product with name in different languages) and needs to be stored in the database. In my understanding, the Product table does not have this flexibility. I wanted to store these in the

Re: Rest API - need help in sending attachment

2022-04-15 Thread Rishi Agr
"content_type": "application/pdf", > "file_content": "base64 encoded string of file content" > } > ] > } > > There may be better suggestions > > Kind Regards, > Johan > > On Thu, 14 Apr 2022 at 08:25, Rishi Agr wrote: > &

Rest API - need help in sending attachment

2022-04-14 Thread Rishi Agr
Hi, I am trying to send attachment in a post request and I am unable to. I've used multipart/* as the consumer content-type and it's not working. I tried to debug and found that post request takes only application/json. The OPTIONS request had all the types supported and I tried that as well.

Rest-API the request always sets the locale to "en"

2022-04-08 Thread Rishi Agr
Hi, I am trying to send the REST request by setting the language to "de" (Setting "accept-language: de" in request header). When the request arrives to the "execute" method of "ServiceRequestHandler" class, the service context is created and "userLogin" is added to the context. But I do not see

EmailPasswordUiLabels missing multi-language for certain properties

2022-03-07 Thread Rishi Agr
Hi, There are 2 properties namely *SecurityExtIgnoreEmail* and *SecurityExtLinkOnce* in *EmailPasswordUiLabels.xml* which have translation for only english and french. Is there a plan to add other language translations as in other properties?

Re: Rest API versioning and redirection

2022-03-01 Thread Rishi Agr
Can someone provide some information on this? On Mon, Feb 28, 2022 at 4:47 PM Rishi Agr wrote: > Hi, > I am trying to add API versioning and I found that there is mount-point > */rest* in *rest-api/ofbiz-component.xml* which is added as a part of the > path to the API. This is a

Rest API versioning and redirection

2022-02-28 Thread Rishi Agr
Hi, I am trying to add API versioning and I found that there is mount-point */rest* in *rest-api/ofbiz-component.xml* which is added as a part of the path to the API. This is also the case in *swagger-ui.html*. In my understanding, there needs to be a configurable property that can be used in both

Rest API does not send the null properties in response

2022-02-28 Thread Rishi Agr
Hi, I have observed that the response data from any API does not contain the properties with null values. Upon having a check, I found that the class "JacksonConfig" has "objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);" which excludes the null properties from the response

Re: Rest API bypassing certain APIs from authentication

2022-02-22 Thread Rishi Agr
ed, auth defaults to true there. > > Best regards, > > Michael Brohl > > ecomify GmbH - www.ecomify.de > > > Am 22.02.22 um 12:56 schrieb Rishi Agr: > > Hi, I am implementing an API that needs to be processed without > > authentication. This API will be pu

Rest API bypassing certain APIs from authentication

2022-02-22 Thread Rishi Agr
Hi, I am implementing an API that needs to be processed without authentication. This API will be publicly accessible. I have tried to set the rest and services definition with auth="false" but it has not helped. Below is a small code rest.xml services.xml Can someone let me know what am I