Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDetails ¶
type ConfigBean ¶
type ConfigBean struct { UserId int32 `json:"userId" validate:"number,required"` PipelineId int32 `json:"pipelineId" validate:"number,required"` PipelineStage string `json:"pipelineStage" validate:"required"` FinalIssueStatus string `json:"finalIssueStatus" validate:"required"` ProjectManagementToolAuthToken string `json:"projectManagementToolAuthToken" validate:"required"` CommitIdRegex string `json:"commitIdRegex" validate:"required"` ToolUserName string `json:"toolUserName" validate:"required"` CompanyToolUrl string `json:"companyToolUrl" validate:"required"` }
type ProjectManagementService ¶
type ProjectManagementService interface { UpdateJiraStatus(updateIssueBean *UpdateIssueBean, userId int32) (map[string][]string, error) SaveAccountDetails(jiraConfig *ConfigBean, userId int32) (*repository.JiraAccountDetails, error) }
type ProjectManagementServiceImpl ¶
type ProjectManagementServiceImpl struct {
// contains filtered or unexported fields
}
func NewProjectManagementServiceImpl ¶
func NewProjectManagementServiceImpl(logger *zap.SugaredLogger, jiraAccountService jira.AccountService, jiraAccountRepository repository.JiraAccountRepository, accountValidator jira.AccountValidator) *ProjectManagementServiceImpl
func (*ProjectManagementServiceImpl) SaveAccountDetails ¶
func (impl *ProjectManagementServiceImpl) SaveAccountDetails(jiraConfig *ConfigBean, userId int32) (*repository.JiraAccountDetails, error)
func (*ProjectManagementServiceImpl) UpdateJiraStatus ¶
func (impl *ProjectManagementServiceImpl) UpdateJiraStatus(UpdateIssueBean *UpdateIssueBean, userId int32) (map[string][]string, error)
type UpdateIssueBean ¶
Click to show internal directories.
Click to hide internal directories.