* 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
13 lines
491 B
Go
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)
|
|
}
|