go-dip-api

module
v0.94.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: MIT

README

PkgGoDev

go-dip-api

A DIP API client library enabling Go programs to interact with various DIP APIs in a simple and uniform way

[!Important] This library is not endorsed, supported or approved by any corporate entity. It is a DIP Software Open Source community managed project. Please do not raise SNOW tickets, instead open a issue on the Github project.

Supported APIs

The current implement covers only a subset of DIP APIs. Basically, we implement functionality as needed.

  • Cartel c.q. Container Host management (examples)
  • Connect IoT
    • Master Data Management (MDM)
      • Propositions
      • Applications
      • Data Adapter
      • Data Subscribers
      • OAuth2 clients
      • Standard Services
      • Service Actions
      • Service References
      • Storage Classes
      • Device Groups
      • Device Types
      • Regions
      • Buckets
      • Data Types
      • Blob Data Contracts
      • Blob Subscriptions
      • Data Broker Subscriptions
      • Firmware Components
      • Firmware Component Versions
      • OAuth Client Scopes
      • Subscriber Types
      • Resources Limits
      • Authentication Methods
    • Data Broker
      • Data Items
      • Subscribers
        • SQS
        • Kinesis
      • Subscriptions
      • Access Details
    • Blob Repository
      • Blob Metadata
      • Access Policy
      • Access URL
      • Multipart Upload
      • BlobStore Policy management
      • Topic management
      • Store Access
      • Bucket management
      • Contract management
      • Subscription management
  • Secure Transport Layer (STL) / Edge
    • Device queries
    • Application Resources management
    • Device configuration management (firewall, logging)
  • Public Key Infrastructure (PKI) management
  • Identity and Access Management (IAM)
    • Groups
    • Organizations
    • Permissions
    • Roles
    • Role Sharing Policies
    • Users
    • Passwords
    • Propositions
    • Applications
    • Services
    • Devices
    • MFA Policies
    • Password Policies
    • Email Templates
    • SMS Gateways
    • SMS Templates
  • Logging (examples)
  • Auditing (examples)
  • Telemetry Data Repository (TDR)
    • Contract management
    • Data Item management
  • Notification service
  • Service Discovery
  • Console settings
    • Metrics Alerts
    • Metrics Autoscalers
  • Docker Registry
    • Service Keys management
    • Namespace management
    • Repository management
  • IronIO tasks, codes and schedules management (examples)

Example usage

package main

import (
        "fmt"

        "github.com/dip-software/go-dip-api/iam"
)

func main() {
        client, _ := iam.NewClient(nil, &iam.Config{
                Region:         "us-east",
                Environment:    "client-test",
                OAuth2ClientID: "ClientID",
                OAuth2Secret:   "ClientPWD",
        })
        err := client.Login("iam.login@hospital1.com", "Password!@#")
        if err != nil {
                fmt.Printf("Error logging in: %v\n", err)
                return
        }
        introspect, _, _ := client.Introspect()
        if introspect != nil {
                fmt.Printf("Introspect response: %v\n", introspect)
        }
}

TODO

  • Increase API coverage

Issues

License

License is MIT. See LICENSE file

Directories

Path Synopsis
Package audit provides support for interacting with the HSDP Audit service
Package audit provides support for interacting with the HSDP Audit service
helper/fhir/dstu2
Package dstu2 contains helper methods to construct AuditEvent resources
Package dstu2 contains helper methods to construct AuditEvent resources
Package cartel provides support for HSDP Cartel services
Package cartel provides support for HSDP Cartel services
Package world provides info on HSDP services
Package world provides info on HSDP services
connect
blr
Package blr provides support the HSDP Blob Repository services
Package blr provides support the HSDP Blob Repository services
dbs
Package dbs provides support the HSDP Data Broker services
Package dbs provides support the HSDP Data Broker services
mdm
Package mdm provides support the HSDP Connect IoT services
Package mdm provides support the HSDP Connect IoT services
Package console provides support for HSDP Console APIs
Package console provides support for HSDP Console APIs
docker
Package docker provides support for HSDP Docker Registry services
Package docker provides support for HSDP Docker Registry services
Package discovery provides support the HSDP Discovery services
Package discovery provides support the HSDP Discovery services
Package iam provides support for interacting with HSDP IAM and IDM services
Package iam provides support for interacting with HSDP IAM and IDM services
Package iron provides support for HSDP Iron services
Package iron provides support for HSDP Iron services
Package logging provides support for HSDP Logging services
Package logging provides support for HSDP Logging services
Package notification provides support for interacting with HSDP Notification services
Package notification provides support for interacting with HSDP Notification services
Package pki provides support for HSDP PKI service
Package pki provides support for HSDP PKI service
Package stl provides support for HSDP STL services
Package stl provides support for HSDP STL services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL