Skip to content

Commit

Permalink
Update widget store and DBOS Config (#146)
Browse files Browse the repository at this point in the history
- Update widget store to use the latest Transact v1.7
- Update DBOS config file to follow the latest schema.
  • Loading branch information
qianl15 authored May 2, 2024
1 parent 48f70c3 commit 055e5ea
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 33 deletions.
10 changes: 0 additions & 10 deletions bank/bank-backend/dbos-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,8 @@ database:
username: 'bank'
connectionTimeoutMillis: 3000
app_db_name: 'bank'
user_database: 'bank' # Will be deprecated, use app_db_name instead
password: ${PGPASSWORD}
app_db_client: "prisma"
user_dbclient: "prisma" # Will be deprecated, use app_db_client instead
telemetry:
logs:
logLevel: 'info'
addContextMetadata: true
silent: false
traces:
enabled: true
endpoint: 'http://localhost:4318/v1/traces' # Jaeger tracing.
runtimeConfig:
port: 8081
application:
Expand Down
9 changes: 0 additions & 9 deletions bank/bank-backend/dbos-test-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,8 @@ database:
username: 'bank'
connectionTimeoutMillis: 3000
app_db_name: 'bank'
user_database: 'bank' # Will be deprecated, use app_db_name instead
password: ${PGPASSWORD}
app_db_client: "prisma"
user_dbclient: 'prisma' # Will be deprecated, use app_db_client instead
telemetry:
logs:
logLevel: 'debug'
addContextMetadata: true
silent: false
traces:
enabled: false
runtimeConfig:
port: 8081
application:
Expand Down
2 changes: 0 additions & 2 deletions hello-typeorm/dbos-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ database:
port: 5432
username: 'postgres'
app_db_name: 'hellotypeorm'
user_database: 'hellotypeorm'
password: ${PGPASSWORD}
connectionTimeoutMillis: 3000
app_db_client: "typeorm"
user_dbclient: "typeorm"
2 changes: 0 additions & 2 deletions tpcc/dbos-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ database:
port: 5432
username: 'postgres'
password: ${PGPASSWORD}
user_database: 'tpcc' # Will be deprecated, use app_db_name instead
app_db_name: 'tpcc'
connectionTimeoutMillis: 3000
user_dbclient: 'knex' # Will be deprecated, use app_db_client instead
app_db_client: 'knex'
migrate: ['npx knex migrate:latest']
rollback: ['npx knex migrate:rollback']
16 changes: 8 additions & 8 deletions widget-store/package-lock.json

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

4 changes: 2 additions & 2 deletions widget-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"lint-fix": "eslint --fix src"
},
"devDependencies": {
"@dbos-inc/dbos-cloud": "^1.5.12",
"@dbos-inc/dbos-cloud": "^1.7.6",
"@dbos-inc/eslint-plugin": "^0.0.6",
"@types/uuid": "^9.0.8",
"eslint": "^8.57.0",
"typescript": "~5.3.3"
},
"dependencies": {
"@dbos-inc/dbos-sdk": "^1.5.12",
"@dbos-inc/dbos-sdk": "^1.7.6",
"liquidjs": "^10.10.1",
"uuid": "^9.0.1"
}
Expand Down

0 comments on commit 055e5ea

Please sign in to comment.