summaryrefslogtreecommitdiffstats
path: root/sms-service/src/preload/preload.go
AgeCommit message (Collapse)AuthorFilesLines
2018-10-17Upload secrets even when domain already existsKiran Kamineni1-0/+4
Upload secrets even when domain was created before Any secrets with same name are overwritten with new values and new secrets are added to the domain Provides capability to add to existing domains via the commandline Issue-ID: AAF-574 Change-Id: I77a842d8f16cf224b04c328ef2825ed7ea7deab1 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-08Add readiness check into the cmd line3.0.0Kiran Kamineni1-3/+69
Preload is not checking if SMS is ready or not before issuing the upload commands. This patch fixes that behavior. Issue-ID: AAF-545 Change-Id: I485aeab4f797cacce1036cd6e24910c65fa4eb69 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-08Fix bug in directory read with json filesKiran Kamineni1-5/+11
The cmdline tool to preload json files is reading from CWD instead of using the provided commandline dir. Issue-ID: AAF-544 Change-Id: I8af23f0556ff678c33223e6f6acac402a39dd662 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-04Add preload commandline app to load secretsKiran Kamineni1-0/+256
Add a preload golang app that reads configuration files and loads the domains and corresponding secrets to SMS. The tool can configured via command line options. P2: Add support for domains as well as domain in JSON P3: Add sampleformat.json Issue-ID: AAF-532 Change-Id: If3f880b8ce61a282dc015cac7df723453b91f114 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>