Skip to content

Releases: akamai/AkamaiOPEN-edgegrid-golang

Expanded/Simplified FastDNS/Property Manager (PAPI) APIs

06 Sep 03:46
Compare
Choose a tag to compare

DNS v1

  • No longer marshal records in favor of a simpler API:
    • Added FindRecordsByName()
    • Added AddRecord() and SetRecord()
    • Added RemoveRecord() and RemoveRecordsByName()
  • Fix API endpoint to point to correct /config-dns

PAPI v1

  • Add methods for working with the rule tree
    • FindRule()
    • FindBehavior()
    • FindParentRule()
    • AddRule()
  • Add RuleFormats.GetLatest
  • Renamed Rules.AddRule to Rules.AddChildRule() for clarity
  • Added Rules.SetChildRule()
  • Added Rules.AddChildbehavior()
  • Added Rules.SetChildBehavior()
  • Added Rules.SetCriteriaOptions()
  • Added Rules.AddCriteriaOptions()
  • Added Rules.AddChildCriteria()
  • Added Rules.SetChildCriteria()
  • Added Rules.FindCriteria()
  • Added Rules.Freeze()
  • Move Rules.PrintRules() to papi.PrintRules() in util.go

Refactor and Add Concrete API implementations

15 Jul 06:56
Compare
Choose a tag to compare

This release refactors the entire package to:

  • Move the client under the client package (in ./client-v1)
  • Move the edgegrid signer under ./edgegrid (still edgegrid package) and splitting out the signer itself from the Config data structure and creation
  • Adds a concrete implementation of the Property Manager API (PAPI) (papi in ./papi-v1)
  • Adds a concrete implementation of the Config DNS (FastDNS) API (configdns in ./configdns-v1)
  • Adds a jsonhooks package to ensure consistency around marshaling between the JSON encoding/decoding and the Go API (jsonhooks in jsonhooks-v1)

Currently backwards compatibility in maintained, but is deprecated, and will be removed in v1.0. Note that the client in particular has been drastically changed — it is no longer a wrapper around http.Client and simply provides some convenience functions to make working with http.Client easier.

Adding Environment Support

17 Mar 13:30
Compare
Choose a tag to compare
Pre-release
Merge pull request #7 from dshafik/add-client

[WIP] Add edgegrid.Client

v0.2

08 Jun 09:07
Compare
Choose a tag to compare
v0.2 Pre-release
Pre-release
Bugfix query path incorrect signature