January 4th, 2022
- Updated Inventory content validation flow in preparation for upcoming content system changes.
- Renamed player group property to be consistent with other calls.
- Improved variable visibility for PragmaException messages.
- Required integrations:
- Unit tests must be updated from runBlockingTest to runTest.
- Calls to content getters will need to be updated to Kotlin property names.
Features #
- Updated Inventory content validation flow in preparation for upcoming content system changes.
- Description: Inventory content is now validated and loaded on Inventory service startup, instead of on content request. Pragma engine will fail to start if there are any errors related to JSON, proto, or custom validation in shared content files.
- Renamed player group property to be consistent with other calls.
- Description:
CreatePlayerGroupOperatorV1Response
usesgroup
instead ofplayer_group
as the property. - Postman Path:
- Social → RPC Operator → Account →
CreatePlayerGroupOperatorV1
- Social → RPC Operator → Account →
- Improved variable visibility for
PragmaException
messages.- Description: Added
'
around variables to improvePragmaException
messages.
- Description: Added
- Description:
Integration Steps #
- Unit tests must be updated from
runBlockingTest
torunTest
.- Description: Kotlin and Kotlin coroutine versions have been updated, causing deprecation warnings for tests using
runBlockingTest
. - Integration steps:
- Change any instances of
runBlockingTest
torunTest
.
- Change any instances of
- Description: Kotlin and Kotlin coroutine versions have been updated, causing deprecation warnings for tests using
- Calls to content getters will need to be updated to Kotlin property names.
- Description: References to content getter methods have been replaced with Kotlin properties.
- Integration steps:
- Calls to content getters in
InventoryServiceContent
will need to be updated to property names. Full table below.Original Replacement getStackableItemSpecs()
stackableItemSpecs
getInstancedItemSpecs()
instancedItemSpecs
getCatalogUpdateEntries()
catalogUpdateEntries
getStores()
stores
getRewards()
rewards
getRewardsTables()
rewardsTables
getRewardSlots()
rewardSlots
getRewardBags()
rewardBags
getCraftingEntries()
craftingEntries
- Calls to content getters in
Deprecations #
The following endpoints have been changed:
Original | Replacement |
---|---|
authenticateOrCreateV1 | authenticateOrCreateV2 |
AccountService.getPragmaPlayerIdsForProviderIdsV1 | AccountService.getPragmaPlayerIdsForProviderIdsV2 |
InventoryServiceContent getter methods have been updated | See integration notes above |