Skip to content

Commit

Permalink
removed archivist writes
Browse files Browse the repository at this point in the history
  • Loading branch information
Arie Trouw committed Aug 24, 2021
1 parent 695990f commit 76091fa
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 131 deletions.
14 changes: 7 additions & 7 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MONGO_USERNAME=<username>
MONGO_PASSWORD=<password>
MONGO_DOMAIN=xyo-network.0htus
MONGO_DATABASE=archivist
DOMAIN=archivist.xyo.network
CERTIFICATE_NAME="*.archivist.xyo.network"
SERVICE_NAME=api-archivist
ARCHIVIST_MONGO_USERNAME=<username>
ARCHIVIST_MONGO_PASSWORD=<password>
ARCHIVIST_MONGO_DOMAIN=xyo-network.0htus
ARCHIVIST_MONGO_DATABASE=archivist
DOMAIN=api.xyo.network
CERTIFICATE_NAME="*.xyo.network"
SERVICE_NAME=api-xyo
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-archivist-nodejs",
"version": "2.0.69",
"version": "2.0.70",
"description": "XYO Archivist Serverless API",
"sideeffects": false,
"engines": {
Expand Down
19 changes: 4 additions & 15 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ provider:
runtime: nodejs14.x
versionFunctions: false
environment:
MONGO_USERNAME: ${env:MONGO_USERNAME}
MONGO_PASSWORD: ${env:MONGO_PASSWORD}
MONGO_DOMAIN: ${env:MONGO_DOMAIN}
MONGO_DATABASE: ${env:MONGO_DATABASE}
ARCHIVIST_MONGO_USERNAME: ${env:ARCHIVIST_MONGO_USERNAME}
ARCHIVIST_MONGO_PASSWORD: ${env:ARCHIVIST_MONGO_PASSWORD}
ARCHIVIST_MONGO_DOMAIN: ${env:ARCHIVIST_MONGO_DOMAIN}
ARCHIVIST_MONGO_DATABASE: ${env:ARCHIVIST_MONGO_DATABASE}

timeout: 29

Expand Down Expand Up @@ -52,17 +52,6 @@ custom:
stage: ${opt:stage, 'dev'}

functions:
block-post:
handler: src/archive/block/post/index.entryPoint
events:
- http:
path: /archive/{archive}/block
method: POST
cors: true
- http:
path: /archive/{archive}/bw
method: POST
cors: true
block-sample:
handler: src/archive/block/sample/get.entryPoint
events:
Expand Down
8 changes: 0 additions & 8 deletions src/archive/block/post/XyoArchivistBoundWitnessBody.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/archive/block/post/flattenArray.ts

This file was deleted.

68 changes: 0 additions & 68 deletions src/archive/block/post/index.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/archive/block/post/storeBoundWitnesses.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/archive/block/post/validateBody.ts

This file was deleted.

0 comments on commit 76091fa

Please sign in to comment.