You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
decort-golang-sdk/CHANGELOG.md

11 KiB

Version 1.8.0

Feature

account:

  • Add endpoints GrantAccessTemplates, ListAvailableTemplates, RevokeAccessTemplates in cloudbroker/account
  • Add SortBy field for list groups and validation functionality
  • Add ComputeFeatures field to RecordAccount and ItemAccount models in cloudapi/account
  • Add ComputeFeatures field to InfoAccount and CreateRequest model in cloudbroker/account
  • Add UpdateComputeFeatures endpoint in cloudbroker/account
  • Add ExtnetId, FreeIPs fields to model ItemVINS in cloudapi/account and cloudbroker/account

audit:

  • Add field GUID in model ItemLinkedJobs cloudbroker/audit
  • Delete field StatusCode in model ListRequest cloudbroker/audit
  • Add fields MinStatusCode and MaxStatusCode in model ListRequest cloudbroker/audit

bservice:

  • Add validation of RAM to be divisible by 128 in cloudapi/bservice

compute:

  • Add field CdImageId in models ItemCompute and RecordCompute in cloudapi/compute and cloudbroker/compute
  • Add fields NatableVINSID, NatableVINSIP, NatableVINSName, NatableVINSNetwork, NatableVINSNetworkName in models RecordCompute in cloudbroker/compute
  • Set field LocalBasePort in model PFWAddRequest as optional in cloudapi/compute and cloudbroker/compute
  • Add SortBy field for list groups and validation functionality
  • Add HPBacked, CPUPin, NumaAffinity fields to RecordCompute and InfoCompute models in cloudbroker/compute
  • Add HPBacked, CPUPin, NumaAffinity fields to RecordCompute and ItemCompute models in cloudapi/compute
  • Add validation of RAM to be divisible by 128 in cloudapi/compute and cloudbroker/compute
  • Add field NumaNodeId in models RecordCompute and ItemCompute in cloudapi/compute and cloudbroker/compute
  • Add BootDiskSet endpoints in cloudapi/compute and cloudbroker/compute
  • Add endpoints DiskSwitchToReplication, DiskMigrate in cloudapi/compute and cloudbroker/compute
  • Add field Replication in model RecordCompute.Disks.ItemComputeDisk in cloudapi/compute and cloudbroker/compute
  • Add endpoint getCustomFields in cloudbroker/compute
  • Delete field AffinityLabel in model AffinityRelationsRequest in cloudbroker/compute
  • Add fields ImageName and VirtualImageName, delete VINSConnected fields in RecordCompute model in cloudbroker/compute
  • Add fields Enabled and NodeID in ItemInterface model in cloudbroker/compute. Add NodeID field in ItemVNFInterface model in cloudapi/compute

disks:

  • Add endpoints Replicate, ReplicationResume, ReplicationReverse, ReplicationStart, ReplicationStop, ReplicationStatus, ReplicationSuspend in cloudapi/disks and cloudbroker/disks
  • Add field Replication in models RecordDisk and ItemDisk in cloudapi/disks and cloudbroker/disks
  • Add CreateTemplateFromBlank and CreateTemplateFromBlankAsync endpoints in cloudapi/compute and cloudbroker/compute
  • Add fields Page and Size in model SearchRequest in cloudapi/disks
  • Add FromPlatformDisk and FromPlatformDiskAsync endpoints in cloudapi/disks and cloudbroker/disks

flipgroup:

  • Add fields ConnId, Status, AccountId to model ListRequest in cloudapi/flipgroup and cloudbroker/flipgroup
  • Add SortBy field for list groups and validation functionality

grid:

  • Add endpoints addCustomBackupPath, removeCustomBackupPath, setPasswordPolicy in cloudbroker/grid

image:

  • Add field CdPresentedTo in model RecordImage in cloudapi/image cloudbroker/image
  • Set field AccountId in CreateRequest in cloudapi/image as required
  • Add endpoints GrantAccess, RevokeAccess in cloudbroker/image
  • Add SortBy field for list groups and validation functionality
  • Add field NetworkInterfaceNaming in model CreateRequest in cloudapi/image cloudbroker/image, in model EditRequest in cloudbroker/image, in models ItemImage and RecordImage in cloudapi/image and cloudbroker/image
  • Add validation field NetworkInterfaceNaming in cloudapi/image cloudbroker/image
  • Delete field GID in model CreateRequest in cloudapi/image
  • Delete field Meta and Ckey in model and RecordImage in cloudbroker/image
  • Add model ItemImage in cloudbroker/image

k8s:

  • Add field LbSysctlParams in model CreateRequest in cloudapi/k8s/create and cloudbroker/k8s/create
  • Add validation of RAM to be divisible by 128 in cloudapi/k8s and cloudbroker/k8s
  • Set uint64 as MasterRAM and WorkerRAM types in CreateRequest struct in cloudapi/k8s and cloudbroker/k8s

kvmppc

  • Add validation of RAM to be divisible by 128 in cloudapi/kvmppc and cloudbroker/kvmppc
  • Add DataDisks field to CreateRequest and CreateBlankRequest in cloudapi/kvmppc and cloudbroker/kvmppc
  • Add DataDisks field to MassCreateRequest in cloudbroker/kvmppc

kvmx86

  • Add validation of RAM to be divisible by 128 in cloudapi/kvmx86 and cloudbroker/kvmx86
  • Add DataDisks field to CreateRequest and CreateBlankRequest in cloudapi/kvmx86 and cloudbroker/kvmx86
  • Add DataDisks field to MassCreateRequest in cloudbroker/kvmx86

lb:

  • Add fields UserManaged, ManagerId, ManagerType, PartK8S in models RecordLB, ItemLBList in cloudapi/lb and cloudbroker/lb
  • Add SortBy field for list groups and validation functionality
  • Add field SysctlParams in model CreateRequest in cloudapi/lb/create and cloudbroker/lb/create
  • Add endpoint update_sysctl_params in cloudapi/lb and cloudbroker/lb

node:

  • Add ApplyIpmiAction, Consumption, Decommission, Enable, EnableNodes, Get, GetRaw, List, ListRaw, Maintenance, Restrict, SetCoreIsolation, SetHugePages, SetSRIOVStatus, SetVFSNumber and Update endpoints in cloudbroker/node
  • Add IDs method and Filters methods for ListNodes structure in cloudbroker/node
  • Add Serialize method for ListNodes, ItemNode and RecordNode structures in cloudbroker/node

pcidevice:

  • Add List, ListRaw endpoints in cloudapi/pcidevice
  • Add IDs and Serialize methods for ListPCIDevices structure in cloudapi/pcidevice

rg:

  • Add ComputeFeatures field to ItemResourceGroup and RecordResourceGroup models in cloudapi/rg
  • Add ComputeFeatures field to ItemRG and CreateRequest models in cloudbroker/rg
  • Add UpdateComputeFeatures endpoint in cloudbroker/rg
  • Add ExtnetId, FreeIPs fields to model ItemVINS in cloudapi/rg and cloudbroker/rg

sep:

  • Add endpoints addPool, delPool in cloudbroker/sep
  • Set field Config in CreateRequest as required in cloudbroker/sep
  • Add SortBy field for list groups and validation functionality

stack:

  • Add endpoints getLogicalCoresCount, setCpuAllocationRatio, setMemAllocationRatio in cloudbroker/stack

tasks:

  • Add field TaskId, Status, Completed in model ListRequest in cloudapi/task and cloudbroker/task
  • Add fields GUID, UpdatedBy in model ItemTask in cloudapi/task and cloudbroker/task
  • Fix panic in List endpoints in cloudapi/task and cloudbroker/task
  • Change type field Result from int to interface{} in models RecordAsyncTask, ItemAsyncTask in cloudapi/task and models ItemTask, RecordTask in cloudbroker/task
  • Add methods ID(), Name(), ToString(), ToMaps() for processing the value of the Result field in model ItemTask in cloudapi/task and cloudbroker/task
  • Add use case examples for the above methods in README.md
  • Add SortBy field for list groups and validation functionality
  • Add fields UpdateTimeAt and UpdateTimeTo in model ListRequest in cloudapi/tasks and cloudbroker/tasks

user:

  • Add fields Call, StatusCode, TimestampAt, TimestampTo in models GetAuditRequest in cloudbroker/user
  • Fix return value in GetAudit endpoint in cloudbroker/user
  • Add model ListAudits and change type field APIAccess in model ItemUser in cloudbroker/user
  • Add SortBy field for list groups and validation functionality in cloudbroker/user
  • Add APIList, Authenticate, Brief, GetAudit, GetResourceConsumption, Get, GetRaw, IsValidInviteUserToken, Search, SetData endpoints in cloudapi/user

vfpool:

  • Add Get, GetRaw, List, ListRaw endpoints in cloudapi/vfpool
  • Add Create, Delete, Disable, Enable, Get, GetRaw, List, ListRaw, Update endpoints in cloudbroker/vfpool
  • Add IDs method for ListVFPool, VFSInfoListand in cloudapi/vfpool and cloudbroker/vfpool
  • Add Filters methods for ListVFPool structure in cloudapi/vfpool and cloudbroker/vfpool
  • Add Serialize method for ListVFPool, ItemVFPool and RecordVFPool structures in cloudapi/vfpool and cloudbroker/vfpool

vins:

  • Set field IntPort in model NATRuleAddRequest as optional in cloudapi/vins and cloudbroker/vins
  • Add SortBy field for list groups and validation functionality
  • Add ExtnetId, FreeIPs fields to model ItemVINS in cloudapi/vins and cloudbroker/vins
  • Add DNSList field to models CreateInAccountRequest and CreateInRGRequest in cloudapi/vins and cloudbroker/vins
  • Add DNSApply endpoints in cloudapi/vins and cloudbroker/vins
  • Add field NodeID in model RecordVINS.RecordVNFDev.Interfaces in cloudapi/vins and cloudbroker/vins

Bugfix

account:

  • Fix wrong json, url field AccountID in model SetCPUAllocationParameterRequest in cloudbroker/account
  • Fix wrong json, url field AccountID in model SetCPUAllocationRatioRequest in cloudbroker/account
  • Change Start and End fields type from uint64 to float64 in model GetConsumptionRequest in cloudapi/account

apiaccess:

  • Changed Job and Resmon field types in model CloudBrokerEndpoints in cloudbroker/apiaccess
  • Add fields Page and Size in model UserListRequest in cloudbroker/apiaccess

bservice:

  • Fix url for Disable endpoint in cloudapi/bservice

compute:

  • Fix Entrycount tag in model ListComputes in cloudbroker/compute
  • Add field Name in model ListPCIDeviceRequest in cloudbroker/compute
  • Fix type of field Data in model ListPCIDevices in cloudapi/compute
  • Add model ItemPCIDevice in cloudapi/compute
  • Fix type of field Data in model ListVGPUs in cloudapi/compute and cloudbroker/compute
  • Add model ItemVGPU in cloudapi/compute and cloudbroker/compute

disks:

  • Delete tag required from field Detailed in ListTypesRequest model in cloudapi/disks

grid:

  • Fix json, url tags in field Name in model RenameRequest in cloudbroker/grid

image:

  • Fix url for ComputeCIUnset endpoint in cloudbroker/image

k8ci:

  • Delete omitempty from json, url tags in field Permanently in model DeleteRequest in cloudbroker/k8ci
  • Fix wrong json, url tags field ByID in model ListDeletedRequest in cloudbroker/k8ci
  • Fix allowed network plugin value from "weawenet" to "weavenet" in validators for cloudbroker/k8ci

k8s:

  • Fix allowed network plugin value from "weawenet" to "weavenet" in validators for cloudapi/k8s, cloudbroker/k8s

lb:

  • Fix wrong json, url tags field AccountID in model ListDeletedRequest in cloudapi/lb
  • Add field Safe in model RestartRequest in cloudbroker/lb
  • Fix wrong json, url tags field AccountID in models ListRequest, ListDeletedRequest in cloudbroker/lb
  • Fix url for Stop endpoint in cloudapi/lb

rg:

  • Fix wrong json, url field AccountID in model ListLBRequest in cloudapi/rg and cloudbroker/rg
  • Fix wrong json, url field UniqPools in model CreateRequest in cloudbroker/rg

sep:

  • Fix wrong json, url tag in field GID in model ListRequest in cloudbroker/sep

user:

  • Fix wrong json, url field Password in model ItemUser in cloudbroker/user
  • Change ByID field type from uint64 to string in model ListRequest in cloudbroker/user

vins:

  • Fix wrong json, url tags in models DefaultQOSUpdateRequest and NetQOSRequest in field IngressBirst in cloudbroker/vins
  • Fix wrong name field ListNatRule to ListNATRule in cloudbroker/vins