Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added config store functionality (initial implementation) (cadence-wo…
…rkflow#4357) * added idl api and blob definitions * added internal types for configStore API * added thrift mapper implementation for service API * moved proto API definitions to proto internal * added proto mapper for configStore API * added dummy API functions * changed value to datablob type in proto schema * changed internal types and mappers for datablob values * removed db blob definition * changed mapper to reflect move of shared DynamicConfig thrift types * added blob definition, thrift mapper, and serialize/deserialize for PayloadSerializer * removed get_all and filters field of GetDynamicConfigRequest * added configStore and configStoreManager dummy implementations * added configStoreCRUD for nosqlplugin * started cassandra plugin configStore.go * added conditional insert for cassandra * initial persistence layer implementation * fixed typo * added support for config store to persistence clients * initial dc client implementation * moved dc client and finished updateValue impl * fixed UpdateValue for client * fixed exported definitions * change to align toward code base conventions and other minor details * added timeouts for fetch and update * initial tests * conform to conventions with new update * added persistence tests (initial set) along with cassandra schema update * config store client tests, unresolved map test issue * fixed variable naming * added configStore functions to adminHandler * improved admin handler and changed GetDynamicConfigRequest struct * added cli commands for config store * added dc client unit tests for Restore and List Value, fixed client logic bugs, 90% test coverage * shifted configstoreclientconfig to new package, added some adminHandler unit tests, changes to use configStoreClient, added config to development.yaml * fixed runtime panic error and improved cli interaction * made changes to idl schema and fixed restore behavior * fixed client test race conditions * realized still needed list request and cli get with no filter specified returns all values of specified dc * select dc client impl based on config file rather than hardcoded default * commiting .gen changes * change back to official idl repo * added back in configStore thrift * fixed metric test error * changes made to reflect idl changes * improvements such as backward dc client config compatibility, default config store client values, better adherence to conventions, etc. * added case to persistence test base for sql * Revert "added case to persistence test base for sql" This reverts commit ea50165. * added skips to config store persistence test for non-Cass dbs * changes to config yaml files * cli flags.go changes * regenerated mocks * regenerated mocks
- Loading branch information