Skip to content

Commit

Permalink
Dqlang4.0 (#81)
Browse files Browse the repository at this point in the history
* fixed resilence specifier

* formatting

* working resilience saving in dqapi

* delete rqa and loadtest and resilience test

* Feature/monitoring specifier (#80)

* delete rqa and loadtest and resilience test

* linting

* cleanup

* working selected edge provider

* formatting

---------

Co-authored-by: Jens Plüddemann <[email protected]>
Co-authored-by: levinkerschberger <[email protected]>
  • Loading branch information
3 people authored Jul 30, 2024
1 parent 4931eb5 commit f964f1c
Show file tree
Hide file tree
Showing 154 changed files with 8,521 additions and 8,657 deletions.
46 changes: 40 additions & 6 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": [
"node_modules",
"node_modules/",
"src/data",
".next"
".next/",
".devenv/",
".direnv/",
"doc/",
"public/",
"screenshots/",
"src/components/testing/",
"src/components/scenariotest/",
"/nix/store/*"
]
},
"organizeImports": {
Expand All @@ -17,17 +25,43 @@
"suspicious": {
"noExplicitAny": {
"level": "off"
}
},
"noArrayIndexKey": {
"level": "off"
},
"noAssignInExpressions": "off",
"noImplicitAnyLet": "off",
"noPrototypeBuiltins": "off"
},
"a11y": {
"useButtonType": "off"
"useButtonType": "off",
"useKeyWithClickEvents": "off"
},
"style": {
"noParameterAssign": "off"
"noParameterAssign": "off",
"noUselessElse": "off"
},
"complexity": {
"noForEach": "off",
"noBannedTypes": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
}
}
},
"formatter": {
"enabled": true
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf"
},
"json": {
"formatter": {
"trailingCommas": "none"
}
}
}
63 changes: 57 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,62 @@
services:
dqanalyzer:
build: .
dqapi:
image: ghcr.io/dqualizer/dqapi:dqlang4.0
restart: unless-stopped
depends_on:
dqdatabase:
condition: service_healthy
rabbit:
condition: service_healthy
environment:
- SPRING_RABBITMQ_ADDRESSES=amqp://guest:guest@rabbit:5672
- SPRING_DATA_MONGODB_URI=mongodb://dqdatabase:27017/dqualizer
ports:
- "9090:3000"
- 8099:8099

dqdatabase:
image: mongo
restart: unless-stopped
environment:
- DQAPI_HOST
- DQTRANSLATOR_HOST
MONGO_INITDB_DATABASE: dqualizer
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongosh mongodb://localhost:27017 --quiet
interval: 5s
timeout: 10s
retries: 10
start_period: 10s
attach: false

mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
- ME_CONFIG_BASICAUTH=false
- ME_CONFIG_MONGODB_URL=mongodb://dqdatabase:27017/
attach: false

rabbit:
image: rabbitmq:3-management-alpine
user: rabbitmq
ports:
- 15672:15672
healthcheck:
test: rabbitmq-diagnostics check_port_connectivity
interval: 2s
timeout: 5s
retries: 20
start_period: 5s
attach: false


# dqanalyzer:
# build: .
# ports:
# - "9090:3000"
# environment:
# - DQAPI_HOST
# - DQTRANSLATOR_HOST

# dqanalyzer-dev:
# build:
Expand All @@ -18,4 +69,4 @@ services:
# - DQAPI_HOST
# - DQTRANSLATOR_HOST
# volumes:
# - ./:/app
# - ./:/app
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
typedRoutes: true,
},
experimental: {
typedRoutes: true,
},
};

export default nextConfig;
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "biome lint",
"format": "biome format"
"lint": "biome lint --write .",
"format": "biome format --write ."
},
"dependencies": {
"@dagrejs/dagre": "^1.1.2",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5.15.20",
"@dagrejs/dagre": "^1.1.3",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.16.5",
"@tailwindcss/typography": "^0.5.13",
"@tanstack/react-query": "^5.45.1",
"@tanstack/react-query": "^5.51.15",
"@types/pluralize": "^0.0.33",
"@types/uuid": "^10.0.0",
"compromise": "^14.13.0",
Expand All @@ -24,19 +24,19 @@
"pluralize": "^8.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-tooltip": "^5.27.0",
"react-tooltip": "^5.27.1",
"reactflow": "^11.11.4",
"sharp": "^0.33.4",
"uuid": "^10.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@types/node": "^20.14.8",
"@types/node": "^22.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"daisyui": "^4.12.8",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"typescript": "^5.5.2"
"daisyui": "^4.12.10",
"postcss": "^8.4.40",
"tailwindcss": "^3.4.7",
"typescript": "^5.5.4"
}
}
Loading

0 comments on commit f964f1c

Please sign in to comment.