Skip to content

Commit

Permalink
UBERF-8376: Move indexer from server-core (hcengineering#6829)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo authored Oct 9, 2024
1 parent 1107328 commit 9dc8ac3
Show file tree
Hide file tree
Showing 113 changed files with 994 additions and 1,140 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,6 @@ services/github/pod-github/src/github.graphql
dev/tool/report.csv
bundle/*
bundle.js.map
tests/profiles
tests/profiles
_*
**/bundle/model.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.11.0
v20.13
15 changes: 7 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,13 @@
"REKONI_URL": "http://localhost:4004",
"FRONT_URL": "http://localhost:8080",
"ACCOUNTS_URL": "http://localhost:3000",
"MODEL_JSON": "${workspaceRoot}/models/all/bundle/model.json",
// "SERVER_PROVIDER":"uweb"
"SERVER_PROVIDER":"ws",
"MODEL_VERSION": "0.6.287",
// "VERSION": "0.6.289",
"ELASTIC_INDEX_NAME": "local_storage_index",
"UPLOAD_URL": "/files",

// "RETRANSLATE_URL": "http://127.0.0.1:4500",
//"RETRANSLATE_URL": "https://208.167.249.201",
// "RETRANSLATE_TOKEN": ""
"UPLOAD_URL": "/files",
},
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
"runtimeVersion": "20",
Expand All @@ -92,8 +89,9 @@
"DB_URL": "mongodb://localhost:27017",
// "DB_URL": "postgresql://postgres:example@localhost:5432",
"SERVER_SECRET": "secret",
"TRANSACTOR_URL": "ws://localhost:3333",
"TRANSACTOR_URL": "ws://host.docker.internal:3333,ws://host.docker.internal:3331;;pg",
"ACCOUNTS_URL": "http://localhost:3000",
"REGION_INFO": "|Mongo;pg|Postgree",
"ACCOUNT_PORT": "3000",
"FRONT_URL": "http://localhost:8080",
"SES_URL": "",
Expand All @@ -117,8 +115,9 @@
"args": ["src/__start.ts"],
"env": {
"MONGO_URL": "mongodb://localhost:27017",
"DB_URL": "mongodb://localhost:27017",
// "DB_URL": "postgresql://postgres:example@localhost:5432",
// "DB_URL": "mongodb://localhost:27017",
"REGION": "pg",
"DB_URL": "postgresql://postgres:example@localhost:5432",
"SERVER_SECRET": "secret",
"TRANSACTOR_URL": "ws://localhost:3333",
"ACCOUNTS_URL": "http://localhost:3000",
Expand Down
20 changes: 18 additions & 2 deletions common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
},
{
"commandKind": "phased",
"name": "revalidate",
"name": "dorevalidate",
"phases": ["_phase:validate"],
"summary": "revalidate",
"summary": "dorevalidate",
"enableParallelism": true,
"incremental": false
},
Expand Down Expand Up @@ -279,6 +279,14 @@
"description": "Clean typescript incremental cache",
"safeForSimultaneousRushProcesses": true,
"shellCommand": "find .|grep tsconfig.tsbuildinfo | xargs rm | pwd"
},
{
"commandKind": "global",
"name": "revalidate",
"summary": "Clean Validate cache and to validate again",
"description": "Clean typescript incremental cache",
"safeForSimultaneousRushProcesses": true,
"shellCommand": "find .|grep tsBuildInfoFile.info | xargs rm | pwd && rush dorevalidate"
},
{
"commandKind": "global",
Expand All @@ -288,6 +296,14 @@
"safeForSimultaneousRushProcesses": true,
"shellCommand": "npx node ./common/scripts/show_version.js"
},
{
"commandKind": "global",
"name": "show-model",
"summary": "show model",
"description": "show model",
"safeForSimultaneousRushProcesses": true,
"shellCommand": "cd ./models/all && rushx show-model"
},
{
"commandKind": "global",
"name": "deps-clean",
Expand Down
Loading

0 comments on commit 9dc8ac3

Please sign in to comment.