Releases: akamai/AkamaiOPEN-edgegrid-golang
Releases · akamai/AkamaiOPEN-edgegrid-golang
Expanded/Simplified FastDNS/Property Manager (PAPI) APIs
DNS v1
- No longer marshal records in favor of a simpler API:
- Added
FindRecordsByName()
- Added
AddRecord()
andSetRecord()
- Added
RemoveRecord()
andRemoveRecordsByName()
- Added
- 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
toRules.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()
topapi.PrintRules()
inutil.go
Refactor and Add Concrete API implementations
This release refactors the entire package to:
- Move the client under the
client
package (in./client-v1
) - Move the edgegrid signer under
./edgegrid
(stilledgegrid
package) and splitting out the signer itself from theConfig
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
injsonhooks-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
Merge pull request #7 from dshafik/add-client [WIP] Add edgegrid.Client