GithubHelp home page GithubHelp logo

goltahaghighi / camunda_springboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tejaps/camunda_springboot

0.0 0.0 0.0 1.01 MB

Camunda_SpringBoot

JavaScript 48.37% Java 38.72% CSS 7.62% HTML 5.28%

camunda_springboot's Introduction

Camunda_SpringBoot

For learning camunda watch out this playlist:

For Email

Video Demonstation: https://www.youtube.com/watch?v=2BLKT0X1GJY

Prerequisites: For running any mail services

  1. Turn off 2-factor authentication
  2. Allow less secure option shoud be True
  3. IMAP should be enabled

FYI:

  1. https://support.google.com/accounts/answer/1064203?hl=en
  2. https://github.com/camunda/camunda-bpm-mail

To verify whehter application will support sending mails or not, check for logs:

CNCT-01004 Discovered provider for connector id 'mail-send' CNCT-01004 Discovered provider for connector id 'mail-poll' CNCT-01004 Discovered provider for connector id 'mail-delete'


For Writing Test Cases

Video Demonstation: https://www.youtube.com/watch?v=rQmeHZdfdYk Step1 : Add dependencies camunda-bpm-process-test-coverage camunda-bpm-assert assertj-core powermock-module-junit4 mockito-core

Step2 : In your test case file register the processEnging by creating object process Enging Rule Ex: public ProcessEngineRule rule = new ProcessEngineRule();

That's it nothing more, happy testing...


Steps for OpenApi/Swagger in Spring Boot Camunda

Step 1: Create a client
Step 2: Download jar from jfrog: https://camunda.jfrog.io/ui/native/camunda-bpm/org/camunda/bpm/camunda-engine-rest-openapi/
Step 3: Extract the jar and add openapi json file to client resources folder
Step 4: Add open-api-generator-maven-plugin with require input directory path and other configurations
Step 5: Add dependencies required by openapi json, and test related libraries - refer pom.xml of camunda-client
Step 6: Do : mvn clean install, verify the code (api, model, auth, apiclient) is generated
Step 7: Define port and camunda engine base-url/rest or base-url/engine-rest in application.yml, will be utilised in Step 8
Step 8: Create configuration with Bean of api client, and require utility, example - CamundaClientConfiguration.java
Step 9: write required methods and in our use case we expose it in ProcessDefinitionUtilityController in the client
Step 10: Do clean install, then run the client application and the camunda engine
Step 11: Test the functionality by hitting /client/start api of client and verify the instance is created in camunda engine for testCaseSample workflow


Steps to use camunda frontend

Step 1: Have your camunda engine running or start this camunda engine
Step 2: update the url of camunda engine in the .env.development if you are running your own camunda-engine, if you are starting camunda engine of this repo only then proceed with default content of configuration file
Step 3: go to custom camunda frontend and run commands: npm install && npm start
Since all are running now
Step 4: In Camunda Engine Application try starting any workflow
Step 5: Verify if content gets populated in the React application


Front end Snippets alias front end readme

  1. BPMN diagram reference 1: https://camunda.com/blog/2015/08/rendering-bpmn-and-highlight-current/
  2. BPMN diagram reference 2: https://codesandbox.io/s/quizzical-lake-szfyo?file=/src/App.js
  3. snippet: https://codesandbox.io/s/react-set-color-viewer-wdus0?file=/src/App.js:1010-1637

camunda_springboot's People

Contributors

tejaps avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.