This repository was archived by the owner on Jan 29, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
33
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6+ ## v0.39.0
7+ - HSDP Notificatin support
8+
69## v0.38.1
710- Filter known sensitive fields form debug logs
811- Move cartel client to internal logger
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ The current implement covers only a subset of HSDP APIs. Basically we implement
1616 - [x] Device queries
1717 - [x] Application Resources management
1818 - [x] Device configuration management (firewall, logging)
19- - [x] Public Key Infrastructe (PKI) management
19+ - [x] Public Key Infrastructure (PKI) management
2020- [x] Identity and Access Management (IAM)
2121 - [x] Groups
2222 - [x] Organizations
@@ -44,6 +44,7 @@ The current implement covers only a subset of HSDP APIs. Basically we implement
4444- [x] S3Creds Policy management
4545- [x] DICOM Store
4646 - [x] Config management
47+ - [x] Notification service
4748- [x] Hosted Application Streaming (HAS) management
4849- [x] Service Discovery
4950- [x] Console settings
Original file line number Diff line number Diff line change 1+ // Package notification provides support for interacting with HSDP Notification services
12package notification
23
34import (
@@ -46,7 +47,7 @@ type Client struct {
4647
4748 notificationURL * url.URL
4849
49- // User agent used when communicating with the HSDP Notification API.
50+ // User agent used when communicating with the HSDP Notification API
5051 UserAgent string
5152
5253 debugFile * os.File
@@ -58,8 +59,8 @@ type Client struct {
5859 Topic * TopicService
5960}
6061
61- // NewClient returns a new HSDP Notification API client. Configured console and IAM clients
62- // must be provided as the underlying API requires tokens from respective services
62+ // NewClient returns a new HSDP Notification API client. A configured IAM client
63+ // must be provided as the underlying API requires an IAM token
6364func NewClient (iamClient * iam.Client , config * Config ) (* Client , error ) {
6465 return newClient (iamClient , config )
6566}
@@ -102,8 +103,7 @@ func (c *Client) Close() {
102103 }
103104}
104105
105- // SetNotificationURL sets the FHIR store URL for API requests to a custom endpoint. urlStr
106- // should always be specified with a trailing slash.
106+ // SetNotificationURL sets the Notification URL for API requests
107107func (c * Client ) SetNotificationURL (urlStr string ) error {
108108 if urlStr == "" {
109109 return ErrNotificationURLCannotBeEmpty
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type PublishResponse struct {
1616 TopicID string `json:"topicId"`
1717}
1818
19+ // Publish publishes a message to a topic
1920func (c * Client ) Publish (request PublishRequest ) (* PublishResponse , * Response , error ) {
2021 if err := c .validate .Struct (request ); err != nil {
2122 return nil , nil , err
You can’t perform that action at this time.
0 commit comments