rafoli / liferay-sample-workspace

2 stars 7 forks source link

Feature/api configuration #62

Closed rennanprysthon closed 3 years ago

rennanprysthon commented 3 years ago

Created a configuration to switch between OpenAPI and JAX Url.

image

Created with this interface LiferayAPIConfiguration.

The baseUrl value is injected into a global javascript variable described at api.js.tpl dynamic by JSDynamicInclude class, using this tutorial: https://help.liferay.com/hc/en-us/articles/360018165751-Top-JS-Dynamic-Include

And also changed sample-module get request to return all values paginated.

rafoli commented 3 years ago

Great!! Thanks @RennanPrysthon !