For more information and documentation visit: https://developer.entando.com, or https://forum.entando.org. Or for the latest news or product information please visit the main website: https://www.entando.com.
Information below is for running locally or building from source. For usage information see the links above.
The scope of this service is to provide a clean and simple API to allow Micro Frontend Widgets to integrate with BPM Providers:
You'll need these environment variables set in order to run the project. Some variables are required and MUST be set in order to run the server:
PORT: TCP Port where the server will run. Default:8081KEYCLOAK_AUTH_URL: The keycloak authentication URL. Default:http://localhost:8081/authKEYCLOAK_REALM: The keycloak realm. Default:entando-developmentKEYCLOAK_CLIENT_ID: The keycloak resource/clientId. Default:entando-pdaKEYCLOAK_CLIENT_SECRET: The keycloak client secret.
LOG_LEVEL: Log level. Default:INFO
Entando PDA Plugin uses Entando web-commons and keycloak-connector.
In order to make it work on dev environment, you have to clone and install the dependencies or just add to your IntelliJ workspace.
- Web Commons: https://github.com/entando/web-commons
- Keycloak Connector: https://github.com/entando/keycloak-commons
mvn spring-boot:run -Dspring-boot.run.profiles=dev
Swagger Docs are available at http://localhost:8080/swagger-ui.html
Latest version deployed on Docker Hub:
- Log in to Keycloak as an admin and add the PDA roles to your user account.
- Go to
Users → admin → Role Mappingsand add the roles for the entando-pda-plugin-server
- Go to
- Log in to the App Builder and configure the PDA Connection.
- The Page Templates hardcode the name of the datasource. You can choose to change the name there or simply use 'pam-demo' as the connection name.
- Set the engine to 'pam' which will work for jBPM or PAM.
- Provide your connection URL to the KIE Server rest services, e.g http://my.server.net:8080/kie-server/services/rest/server
- Username/password should be for a service account user in jBPM or PAM itself, e.g. krisv.
- The Timeout is in milliseconds, e.g. 60000.
- (If you didn't use pam-demo as your datasource name) Go to
Pages → Managementand for the following pages configure the data source for their widgets. ClickDesignon the page, thenSettingson any widgets withSettingsto review and update the config settings.- PDA Dashboard
- PDA Process Definition
- PDA Smart Inbox
- PDA Task Details
- Prepare the bundle directory:
cp -r bundle_src bundle - Initialize the project:
ent prj init - Initialize publication:
ent prj pbs-init(requires the git bundle repo url)
- Build:
ent prj build(build the frontend and backend) orent prj fe-build -a(to just build the frontend, including changes from bundle_src) - Publish:
ent prj puborent prj fe-push(publish all or just the frontend) - Deploy (after connecting to k8s):
ent prj deploy - Install the bundle via 1) App Builder, 2)
ent prj install, or 3)ent prj install --conflict-strategy=OVERRIDEon subsequent installs. - Iterate steps 1-4 to publish new versions.