Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial transactor rpc #7490

Open
wants to merge 5 commits into
base: UBERF-7922p3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
181 changes: 176 additions & 5 deletions common/config/rush/pnpm-lock.yaml

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

69 changes: 50 additions & 19 deletions dev/prod/public/config-worker.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,53 @@
{
"ACCOUNTS_URL":"/account",
"COLLABORATOR_URL": "ws://localhost:3078",
"UPLOAD_URL":"/files",
"TELEGRAM_URL": "http://localhost:8086",
"GMAIL_URL": "http://localhost:8088",
"CALENDAR_URL": "http://localhost:8095",
"REKONI_URL": "/rekoni",
"GITHUB_APP": "uberflow-dev",
"GITHUB_CLIENTID": "Iv1.43f9cac43bd68617",
"GITHUB_URL":"http://localhost:3500",
"LAST_NAME_FIRST": "true",
"PRINT_URL": "http://localhost:4005",
"SIGN_URL": "http://localhost:4006",
"ANALYTICS_COLLECTOR_URL": "http://localhost:4017",
"AI_URL": "http://localhost:4010",
"BRANDING_URL": "/branding.json",
"VERSION": null,
"MODEL_VERSION": null,
"ACCOUNTS_URL": "https://account.hc.engineering/",

"AI_URL": "https://ai.hc.engineering",

"ANALYTICS_COLLECTOR_URL": "https://collector.hc.engineering",

"BRANDING_URL": "https://front.hc.engineering/stage-branding_v2.json",

"CALENDAR_URL": "https://calendar.hc.engineering/",

"COLLABORATOR_URL": "wss://collaborator.hc.engineering",

"DESKTOP_UPDATES_CHANNEL": "front",

"FILES_URL": "https://dl.hc.engineering/blob/:workspace/:blobId",

"GITHUB_APP": "huly-github-staging",

"GITHUB_CLIENTID": "Iv1.cd9d3f7987474b5e" ,

"GITHUB_URL": "https://github.hc.engineering",

"GMAIL_URL": "https://gmail.hc.engineering/" ,

"INTERCOM_API_URL": "",

"INTERCOM_APP_ID": "",

"LOVE_ENDPOINT": "https://love.hc.engineering/",

"MODEL_VERSION": "",

"PREVIEW_CONFIG": "https://dl.hc.engineering/image/fit=scale-down,width=:size/:workspace/:blobId",

"PRINT_URL": "https://print.hc.engineering",

"REKONI_URL": "https://rekoni.hc.engineering",

"SIGN_URL": "https://sign.hc.engineering",

"STATS_URL": "https://stats.hc.engineering",

"TELEGRAM_BOT_URL": "https://telegram-bot.hc.engineering",

"TELEGRAM_URL": "https://telegram.hc.engineering",

"UPLOAD_CONFIG": "",

"UPLOAD_URL": "https://dl.hc.engineering/upload/form-data/:workspace",
"USE_BINARY_PROTOCOL": false,
"TRANSACTOR_OVERRIDE": "ws://host.docker.internal:3335"
"TRANSACTOR_OVERRIDE": "wss://cloud-transactor.andrey-47f.workers.dev"
}
5 changes: 3 additions & 2 deletions workers/transactor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev --port 3335",
"dev-local": "wrangler dev --port 3335 --local-upstream --host localhost",
"dev-local": "wrangler dev --port 3335 --local --upstream-protocol=http",
"start": "wrangler dev --port 3335",
"logs": "npx wrangler tail --format pretty",
"cf-typegen": "wrangler types",
"get-model": "mkdir -p bundle && esbuild src/get-model.ts --bundle --keep-names --platform=node --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --define:process.env.VERSION=$(node ../../common/scripts/show_tag.js) --define:process.env.GIT_REVISION=$(../../common/scripts/git_version.sh) --outfile=bundle/bundle.js --log-level=error && node ./bundle/bundle.js > ./src/model.json",
"bundle": "rushx get-model && wrangler deploy --dry-run --outdir dist",
Expand Down Expand Up @@ -37,7 +38,7 @@
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3",
"wrangler": "^3.83.0"
"wrangler": "^3.97.0"
},
"dependencies": {
"@hcengineering/core": "^0.6.32",
Expand Down
Loading