Skip to content

Commit

Permalink
feat: removed websocket-service uses (#2760)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomer-shvadron authored Oct 9, 2024
1 parent 7ee7582 commit f9b7358
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 175 deletions.
118 changes: 0 additions & 118 deletions .github/workflows/publish-websocket.yml

This file was deleted.

18 changes: 2 additions & 16 deletions deploy/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
ports:
- ${BACKOFFICE_PORT}:${BACKOFFICE_PORT}
depends_on:
- service
- service
restart: on-failure
headlessservice:
volumes:
Expand All @@ -27,7 +27,7 @@ services:
- ${HEADLESS_SVC_PORT}:${HEADLESS_SVC_PORT}
depends_on:
- service
restart: on-failure
restart: on-failure
workflows-dashboard:
volumes:
- ../apps/workflows-dashboard/:/app
Expand All @@ -42,20 +42,6 @@ services:
depends_on:
- service
restart: on-failure
websocket-service:
volumes:
- ../services/websocket-service/:/app
- /app/node_modules
build:
context: ../services/websocket-service
target: "dev"
args:
NPM_LOG_LEVEL: notice
ports:
- ${WEBSOCKET_SVC_PORT}:${WEBSOCKET_SVC_PORT}
depends_on:
- service
restart: on-failure
service:
volumes:
- ../services/workflows-service/:/app
Expand Down
39 changes: 0 additions & 39 deletions deploy/helm/example.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,45 +171,6 @@ workflowsdashboard:
# hosts:
# - workflowdashboard.ballerine.io

websocketService:
enabled: true
replicas: 1
strategyType: RollingUpdate
updateStrategy:
maxSurge: 1
maxUnavailable: '0'
nameOverride: websocketservice
service:
port: 3500
type: ClusterIP
protocol: TCP
image:
registry: ghcr.io
repository: 'ballerine-io/websocket-service'
pullPolicy: Always
tag: "dev"
ingress:
enabled: true
className: "nginx"
pathtype: Prefix
annotations:
kubernetes.io/ingress.class: nginx
ingress.annotations.service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "<your aws acm arn>"
# acme.cert-manager.io/http01-edit-in-place: "true"
# cert-manager.io/cluster-issuer: letsencrypt-staging
# cert-manager.io/common-name: websocket.ballerine.io
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/limit-rps: "15"
tls : {}
hosts:
- host: websocket.dev.eu.ballerine.app
paths:
- path: /
applicationConfig:
PORT: 3500
NODE_ENV: development
COMPOSE_PROJECT_NAME: ballerine-x

workflowService:
enabled: true
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"playwright:install": "nx run-many --target=playwright:install",
"dev": "nx run-many --target=dev --projects=@ballerine/workflows-service,@ballerine/backoffice-v2",
"start": "nx run-many --target=start --projects=@ballerine/web-ui-sdk",
"build": "nx run-many --target=build --projects=@ballerine/workflow-browser-sdk,@ballerine/workflow-core,@ballerine/workflow-node-sdk,@ballerine/rules-engine-lib,@ballerine/common,@ballerine/workflows-service,@ballerine/websocket-service,@ballerine/ui,@ballerine/blocks,@ballerine/react-pdf-toolkit",
"build": "nx run-many --target=build --projects=@ballerine/workflow-browser-sdk,@ballerine/workflow-core,@ballerine/workflow-node-sdk,@ballerine/rules-engine-lib,@ballerine/common,@ballerine/workflows-service,@ballerine/ui,@ballerine/blocks,@ballerine/react-pdf-toolkit",
"web-ui-sdk:dev": "nx run @ballerine/web-ui-sdk:dev",
"web-ui-sdk:start": "nx run @ballerine/web-ui-sdk:start",
"workflows-service:start": "nx run @ballerine/workflows-service:start",
Expand Down
1 change: 0 additions & 1 deletion scripts/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ console.log('🍎 preparing environment');

const directories = [
'services/workflows-service',
'services/websocket-service',
'apps/backoffice-v2',
'apps/kyb-app',
'apps/workflows-dashboard',
Expand Down

0 comments on commit f9b7358

Please sign in to comment.