Skip to content

Instantly share code, notes, and snippets.

View sourabhparsekar's full-sized avatar
💭
something new is always happening......

sourabh_parsekar sourabhparsekar

💭
something new is always happening......
View GitHub Profile
Timestamp:1624563560428:workflow-service-info:Order Online:Veg masala noodles was no success.. Let's order online...
Timestamp:1624563560429:workflow-service-info:Order Online:Ordering is not part of this flow yet... Try your local apps...
Timestamp:1624563718006:workflow-service-info:Noodles Cooked:Cooking done for process instance id: 28242b5c-d524-11eb-878f-dc7196c5d636
Timestamp:1624563718030:workflow-service-info:Eat Noodles:Veg masala noodles is ready. Let's eat... But first serve it..
Timestamp:1624563718030:workflow-service-info:Eat Noodles:Transfer to a serving bowl and sprinkle a pinch of chaat masala or oregano over the noodles to make it even more flavorful.
Timestamp:1624563718030:workflow-service-info:Eat Noodles:Serve it hot to enjoy!!
Timestamp:1624563683397:workflow-service-info:Check Ingredients:Check ingredients to make veg masala noodles
Timestamp:1624563683397:workflow-service-info:Check Ingredients:we can make veg masala noodles
Timestamp:1624563683400:workflow-service-info:Prepare Noodles:Follow below to make veg masala noodles
Timestamp:1624563683400:workflow-service-info:STEP 1:Take a deep-bottomed pan over medium flame and add water in it and bring it to a boil.
Timestamp:1624563683400:workflow-service-info:STEP 2:While the water starts to boil, check if you received IMs on your mobile.
Timestamp:1624563683400:workflow-service-info:STEP 3:Once the water boils, add chopped vegetables, add 1 packet of instant noodles and stir it.
Timestamp:1624563683401:workflow-service-info:STEP 4:Add the taste-maker to it and give it another stir
Timestamp:1624563683401:workflow-service-info:STEP 5:Close the lid
Timestamp:1624563683401:workflow-service-info:Cooking in Process:You can play with your mobile as it cooks for sometime...
Tomcat started on port(s): 10101 (http) with context path '/camunda-masala-noodles'
Started MasalaNoodlesApplication in 23.259 seconds (JVM running for 25.354)
ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor].
ENGINE-14018 JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor] starting to acquire jobs
@sourabhparsekar
sourabhparsekar / application.yaml
Last active June 26, 2021 13:04
Camunda Workflow - application.yaml
camunda.bpm:
admin-user:
id: noodles
password: noodles
@sourabhparsekar
sourabhparsekar / OpenApiConfig.java
Created March 18, 2021 16:13
Swagger_configuration_withAuthentication
private static final String SECURITY_SCHEME_NAME = "Bearer oAuth Token";
/**
* Open API Configuration Bean
*
* @param title
* @param version
* @param description
* @return
*/
@sourabhparsekar
sourabhparsekar / RestController.java
Last active October 31, 2020 17:16
API Documentation - Swagger 3 - Delete Request
@RestController
public class EmployeeController {
/**
* Endpoint to get delete by id
* @return
*/
@DeleteMapping("/employees/{employee-id}")
@Operation(summary = "Delete Employee by id")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Employee deleted", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = Employee.class))}),
@sourabhparsekar
sourabhparsekar / RestController.java
Last active October 31, 2020 17:16
API Documentation - Swagger 3 - Put Request
@RestController
public class EmployeeController {
/**
* Endpoint to update employee
* @return
*/
@PutMapping("/employees")
@Operation(summary = "Update Employee else add new employee")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Employee updated", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = Employee.class))}),
@sourabhparsekar
sourabhparsekar / RestControllerGetAll.java
Last active October 31, 2020 17:15
API Documentation - Swagger 3 - Get Request
@RestController
public class EmployeeController {
/**
* Endpoint to get all employees
* @return
*/
@GetMapping("/employees")
@Operation(summary = "Get all Employees")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "All Employees returned", content = {@Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = Employee.class)))}),
@sourabhparsekar
sourabhparsekar / RestController.java
Last active October 31, 2020 17:17
API Documentation - Swagger 3 - Post Request
@RestController
public class EmployeeController {
/**
* Endpoint to add new employee
* @param employeeRequest
* @return
*/
@PostMapping("/employees")
@Operation(summary = "Add New Employee")
@ApiResponses(value = {