Skip to content

Commit

Permalink
fix: fixing cross stack referencing (#247)
Browse files Browse the repository at this point in the history
* fix: fixing cross stack referencing

* fix: fixing export value
  • Loading branch information
JasonNotJson authored Mar 12, 2023
1 parent e1e95da commit 3b537af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/stacks/business.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 2 additions & 0 deletions lib/stacks/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 3b537af

Please sign in to comment.