Skip to content

Commit 080c4c4

Browse files
committed
feat: latest update of v5 branch from another repo "projects-api"
- added missing CRUD endpoints for attachments and project members - removed usage of direct API in favour of a separate "legacy-project-processor" - removed DB endpoints for projects, phases and phaseProducts Excluded files: - package.json (changed repo) - .circleci/config.yml (build specific in another repo)
1 parent d990340 commit 080c4c4

29 files changed

+999
-11468
lines changed

config/custom-environment-variables.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
"host": "PROJECTS_ES_URL",
1111
"apiVersion": "2.3",
1212
"indexName": "PROJECTS_ES_INDEX_NAME",
13-
"docType": "projectV5",
13+
"docType": "PROJECTS_ES_DOC_TYPE",
1414
"timelineIndexName": "TIMELINES_ES_INDEX_NAME",
15-
"timelineDocType": "TIMELINES_ES_DOC_TYPE"
15+
"timelineDocType": "TIMELINES_ES_DOC_TYPE",
16+
"metadataIndexName": "METADATA_ES_INDEX_NAME",
17+
"metadataDocType": "METADATA_ES_DOC_TYPE"
1618
},
1719
"rabbitmqURL": "RABBITMQ_URL",
1820
"pubsubQueueName": "PUBSUB_QUEUE_NAME",

config/default.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"projectAttachmentPathSuffix": "attachments",
2020
"elasticsearchConfig": {
2121
"host": "",
22-
"apiVersion": "7.0",
22+
"apiVersion": "6.8",
2323
"indexName": "projects",
24-
"docType": "projectV5",
24+
"docType": "doc",
2525
"timelineIndexName": "timelines",
26-
"timelineDocType": "timelineV5",
26+
"timelineDocType": "doc",
2727
"metadataIndexName": "metadata",
28-
"metadataDocType": "metadataV5"
28+
"metadataDocType": "doc"
2929
},
3030
"connectProjectUrl":"",
3131
"dbConfig": {

config/test.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"logentriesToken": "",
77
"elasticsearchConfig": {
88
"host": "http://localhost:9200",
9-
"apiVersion": "7.0",
9+
"apiVersion": "6.8",
1010
"indexName": "projects_test",
11-
"docType": "projectV5",
11+
"docType": "doc",
1212
"timelineIndexName": "timelines_test",
13-
"timelineDocType": "timelineV5"
13+
"timelineDocType": "doc",
14+
"metadataIndexName": "metadata_test",
15+
"metadataDocType": "doc"
1416
},
1517
"rabbitmqUrl": "amqp://localhost:5672",
1618
"connectProjectsUrl": "https://local.topcoder-dev.com/projects/",

0 commit comments

Comments
 (0)