Skip to content

Commit

Permalink
chore: resolving git merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Nov 17, 2023
2 parents f62f79a + 1ad464c commit f145687
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions lib/stacks/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,40 +48,6 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer {
},
);

const threadImgDataPipeline = new ThreadImgDataPipeline(
this,
'thread-img-data-pipeline',
);
this.dataPipelines[Worker.THREADIMG] = threadImgDataPipeline;

const forumThreadAIDataPipeline = new ForumThreadAIDataPipeline(
this,
'forum-thread-ai-data-pipeline',
{
dataSource: syllabusDataPipeline.dataWarehouse,
threadWareHouse: dynamoDatabase.tables[Collection.THREAD],
commentWareHouse: dynamoDatabase.tables[Collection.COMMENT],
},
);
this.dataPipelines[Worker.FORUMAI] = forumThreadAIDataPipeline;

const forumCommentAIDataPipeline = new ForumCommentAIDataPipeline(
this,
'forum-ai-comment-data-pipeline', // Error fixed
{
// dataSource: syllabusDataPipeline.dataWarehouse,
threadWareHouse: dynamoDatabase.tables[Collection.THREAD],
commentWareHouse: dynamoDatabase.tables[Collection.COMMENT],
},
);
this.dataPipelines[Worker.COMMENTAI] = forumCommentAIDataPipeline;

const adsDataPipeline = new AdsDataPipeline(this, 'ads-data-pipeline', {
dataWarehouse: dynamoDatabase.tables[Collection.ADS],
});
this.dataPipelines[Worker.ADS] = adsDataPipeline;

//! End points for database
this.dataInterface.setEndpoint(
DataEndpoint.COURSE_REVIEWS,
dynamoDatabase.tables[Collection.COURSE_REVIEW].tableName,
Expand Down

0 comments on commit f145687

Please sign in to comment.