From 265393ddbd4e209c4c2a4d0da0ee8291c028ba18 Mon Sep 17 00:00:00 2001 From: Jason Park <93040528+JasonNotJson@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:39:35 +0900 Subject: [PATCH] feat: destroying table forum (#299) * feat: destroying table forum * feat: exporting table name and arn to disconnect api service --- lib/stacks/business.ts | 10 +++++----- lib/stacks/persistence.ts | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/stacks/business.ts b/lib/stacks/business.ts index aa4a225f6..0e08911b1 100644 --- a/lib/stacks/business.ts +++ b/lib/stacks/business.ts @@ -65,11 +65,11 @@ export class WasedaTimeBusinessLayer extends BusinessLayer { this.dataInterface.getEndpoint(DataEndpoint.TIMETABLE), true, ) - .addService( - 'thread', - this.dataInterface.getEndpoint(DataEndpoint.THREAD), - true, - ) + // .addService( + // 'thread', + // this.dataInterface.getEndpoint(DataEndpoint.THREAD), + // true, + // ) .addService( 'comment', this.dataInterface.getEndpoint(DataEndpoint.COMMENT), diff --git a/lib/stacks/persistence.ts b/lib/stacks/persistence.ts index 9214582a7..61bcc5b24 100644 --- a/lib/stacks/persistence.ts +++ b/lib/stacks/persistence.ts @@ -74,6 +74,7 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer { // DataEndpoint.COURSE, // syllabusSyncPipeline.dataWarehouse.tableName, // ); + this.exportValue(dynamoDatabase.tables[Collection.THREAD].tableName); this.exportValue(dynamoDatabase.tables[Collection.THREAD].tableArn); this.operationInterface.setEndpoint(OperationEndpoint.SYLLABUS, {