Files
houston-be/model/user/user_repository_interface.go
Gullipalli Chetan Kumar 2dd4d710e5 TP-47360 : Created service for uploading slack conversations to s3 and send request to maverick for generating RCA (#290)
* TP-47360| created services to upload slack conversation to cloud and send urls to generate RCA

* created rca input repository

* TP-47360| enabled generating rca service on resolution

* resolved merge conflicts

* TP-47360| added migration script for creating rca input table

* changed json response structure according to contract

* added unit tests

* removed api to make gen ai call

* made changes in message format posted in slack

* changed entity struct and adding flag to enable rca generation

* attaching title, description and replies related to incident status block

* made design changes in message format
2023-11-24 14:39:34 +05:30

13 lines
491 B
Go

package user
type IUserRepositoryInterface interface {
InsertHoustonUsers(users []UserEntity) error
UpdateHoustonUser(user UserEntity) error
GetAllHoustonUsers() (*[]UserEntity, error)
IsAHoustonUser(nameOrSlackUserId string) (bool, *UserEntity)
FindHoustonUserBySlackUserId(slackUserId string) (*UserEntity, error)
InsertHoustonUser(user *UserEntity) error
GetHoustonUsersBySlackId(slackUserId []string) (*[]UserEntity, error)
GetAllActiveHoustonUserBots() ([]UserEntity, error)
}