Skip to content

Commit

Permalink
fix(bpmn-service): fix readme for bpmn service (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatdubeysf authored Jul 26, 2021
1 parent 0f309a0 commit 299535b
Show file tree
Hide file tree
Showing 5 changed files with 1,689 additions and 197 deletions.
15 changes: 7 additions & 8 deletions sandbox/workflow-ms-example/src/providers/bpmn.provider.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import {bind, BindingScope, Provider, service} from '@loopback/core';
import {AnyObject} from '@loopback/repository';
import {HttpErrors} from '@loopback/rest';
import {WorflowManager, Workflow, WorkflowDto} from '@sourceloop/bpmn-service';
import {WorkflowVersion} from '../../../../services/bpmn-service/dist';
import {CamundaService} from '../services/camunda.service';
import { bind, BindingScope, Provider, service } from '@loopback/core';
import { AnyObject } from '@loopback/repository';
import { HttpErrors } from '@loopback/rest';
import { WorflowManager, Workflow, WorkflowVersion, WorkflowDto } from '@sourceloop/bpmn-service';
import { CamundaService } from '../services/camunda.service';

@bind({scope: BindingScope.TRANSIENT})
@bind({ scope: BindingScope.TRANSIENT })
export class BpmnProvider implements Provider<WorflowManager> {
constructor(
@service(CamundaService)
private readonly camunda: CamundaService,
) {}
) { }
value(): WorflowManager {
return {
getWorkflowById: async workflow => {
Expand Down
Loading

0 comments on commit 299535b

Please sign in to comment.