Master Data Reference of GS2-Distributor

{
  "version": "2019-03-01",
  "distributorModels": [
    {
      "name": "[string]Delivery setting name",
      "metadata": "[string?]metadata",
      "inboxNamespaceId": "[string?]Namespace GRN",
      "whiteListTargetIds": [
        "[string]Target resources GRNs that can be processed through the distributor"
      ]
    }
  ]
}
TypeConditionRequireDefaultLimitationDescription
version2019-03-01Format version of master data
distributorModelsList<DistributorModel>

DistributorModel

Delivery Setting Model

A delivery setting is an entity that sets the policy when an entity’s acquisition exceeds its possession quota. By processing acquisitions through GS2-Distributor, overflow resources can be forwarded as GS2-Inbox messages.

TypeConditionRequireDefaultLimitationDescription
distributorModelIdstring~ 1024 charsDelivery Setting GRN
namestring~ 128 charsDelivery setting name
metadatastring~ 2048 charsmetadata
inboxNamespaceIdstring~ 1024 charsNamespace GRN
whiteListTargetIdsList<string>[]~ 1000 itemsWhitelist of target resource GRNs that can be processed through the distributor

AcquireAction

TypeConditionRequireDefaultLimitationDescription
actionenum []~ 128 charsTypes of actions to be performed in the stamp sheet
requeststring~ 1048576 charsJSON of request

ConsumeAction

TypeConditionRequireDefaultLimitationDescription
actionenum []~ 128 charsTypes of actions to be performed in the stamp task
requeststring~ 1048576 charsJSON of the obtain request

DistributeResource

TypeConditionRequireDefaultLimitationDescription
actionenum []~ 128 charsTypes of actions to be performed in the stamp sheet
requeststring~ 1048576 charsJSON of request