Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -57,6 +58,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)
Comment thread
andrest50 marked this conversation as resolved.
Outdated
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 @@ -90,6 +90,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 @@ -204,6 +204,7 @@ var _ = Service("Meeting Service", func() {
AISummaryEnabledAttribute()
ArtifactVisibilityAttribute()
RecurrenceAttribute()
UpdateNoteAttribute()
Required("meeting_id", "project_uid", "title", "start_time", "duration", "timezone", "visibility")
})

Expand Down
44 changes: 22 additions & 22 deletions gen/http/cli/meeting_service/cli.go

Large diffs are not rendered by default.

38 changes: 22 additions & 16 deletions gen/http/meeting_service/client/cli.go

Large diffs are not rendered by default.

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