diff --git a/lib/stacks/business.ts b/lib/stacks/business.ts index 0e08911b1..5047150ae 100644 --- a/lib/stacks/business.ts +++ b/lib/stacks/business.ts @@ -65,11 +65,12 @@ 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), + 'Anystring', + true, + ) .addService( 'comment', this.dataInterface.getEndpoint(DataEndpoint.COMMENT), diff --git a/lib/stacks/persistence.ts b/lib/stacks/persistence.ts index 9be88516d..5f9367704 100644 --- a/lib/stacks/persistence.ts +++ b/lib/stacks/persistence.ts @@ -76,5 +76,7 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer { this.operationInterface.setEndpoint(OperationEndpoint.SYLLABUS, { [syllabusDataPipeline.processor.stateMachineArn]: 'scraper', }); + + this.exportValue(dynamoDatabase.tables[Collection.THREAD].tableName); } }