Skip to content

Commit

Permalink
Add required tables prop
Browse files Browse the repository at this point in the history
  • Loading branch information
koltyakov committed May 12, 2023
1 parent 90b4be5 commit 94134c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
path: "koltyakov/sharepoint"
version: "v1.7.2" # provide the latest stable version
destinations: ["postgresql"] # provide the list of used destinations
tables: ["*"] # required field, a list of tables to sync
spec:
# Spec is mandatory
# This plugin follows idealogy of explicit configuration
Expand Down Expand Up @@ -305,6 +306,7 @@ spec:
path: "koltyakov/sharepoint"
version: "v1.7.2" # https://github.com/koltyakov/cq-source-sharepoint/releases
destinations: ["sqlite"]
tables: ["*"]
spec:
auth:
strategy: "ondemand"
Expand Down
3 changes: 2 additions & 1 deletion cmd/spctl/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ spec:
registry: ` + s.Registry + `
path: ` + s.Path + `
version: ` + s.Version + `
destination: ["` + strings.Join(s.Destinations, `", "`) + `"]
destinations: ["` + strings.Join(s.Destinations, `", "`) + `"]
tables: ["*"]
spec:
`

Expand Down
1 change: 1 addition & 0 deletions debug/sharepoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
# path: "koltyakov/sharepoint"
# version: "v1.5.0"
destinations: ["${CQ_DESTINATION}"]
tables: ["*"]
spec:
auth:
# strategy: "addin"
Expand Down

0 comments on commit 94134c7

Please sign in to comment.