Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/meeting-api/api_itx_meetings.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/linuxfoundation/lfx-v2-meeting-service/cmd/meeting-api/service"
meetingsvc "github.com/linuxfoundation/lfx-v2-meeting-service/gen/meeting_service"
"github.com/linuxfoundation/lfx-v2-meeting-service/pkg/models/itx"
"github.com/linuxfoundation/lfx-v2-meeting-service/pkg/utils"
)

// CreateItxMeeting creates a meeting via ITX proxy
Expand Down Expand Up @@ -58,6 +59,7 @@ func (s *MeetingsAPI) UpdateItxMeeting(ctx context.Context, p *meetingsvc.Update
})

req.ID = p.MeetingID
req.UpdateNote = utils.StringValue(p.UpdateNote)
err := s.itxMeetingService.UpdateMeeting(ctx, p.MeetingID, req)
if err != nil {
return handleError(err)
Expand Down
6 changes: 6 additions & 0 deletions design/itx_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ func RecurrenceAttribute() {
Attribute("recurrence", Recurrence, "The recurrence of the meeting")
}

func UpdateNoteAttribute() {
Attribute("update_note", String, "An optional note to include in the meeting update notification emails sent to registrants", func() {
MaxLength(500)
})
}

// Committee represents a committee associated with a meeting
var Committee = Type("Committee", func() {
Description("A committee associated with a meeting")
Expand Down
1 change: 1 addition & 0 deletions design/meeting-svc.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ var _ = Service("Meeting Service", func() {
RequireAiSummaryApprovalAttribute()
ArtifactVisibilityAttribute()
RecurrenceAttribute()
UpdateNoteAttribute()
Required("meeting_id", "project_uid", "title", "start_time", "duration", "timezone", "visibility")
})

Expand Down
4 changes: 2 additions & 2 deletions gen/http/cli/meeting_service/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions gen/http/meeting_service/client/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions gen/http/meeting_service/client/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions gen/http/meeting_service/server/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/http/openapi.json

Large diffs are not rendered by default.

Loading
Loading