Skip to content

Commit

Permalink
APPS-994 Backup Service API naming unification (#50)
Browse files Browse the repository at this point in the history
* updatge clusters to map

* updatge storage

* policies

* tests

* replace _ to -

* host -> address

* pluralisation

* regenerate API

* rename storage

* remove unused

* remove unused

* remove unused

* not plural for storage

* update config file

* use address

* use address

* revert host
  • Loading branch information
korotkov-aerospike authored Nov 15, 2023
1 parent 8f477ad commit 7f20f56
Show file tree
Hide file tree
Showing 26 changed files with 405 additions and 446 deletions.
27 changes: 15 additions & 12 deletions cmd/backup/config/config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
---
aerospike-cluster:
- name: "cluster1"
aerospike-clusters:
cluster1:
name: "cluster1"
host: "localhost"
port: 3000
# user: "tester"
# password: "psw"
user: "tester"
password: "psw"

backup-storage:
- name: "local1"
storage:
local1:
name: "local1"
type: 0
path: "./testout"

backup-policy:
- name: "policy-daily"
backup-policies:
policy-daily:
name: "policy-daily"
interval: 30000
incr_interval: 5000
incr-interval: 5000
type: 1
source_cluster: "cluster1"
source-cluster: "cluster1"
storage: "local1"
namespace: "test"
set_list:
set-list:
- set1
parallel: 1
remove_files: false
remove-files: false

Loading

0 comments on commit 7f20f56

Please sign in to comment.