Skip to content

Commit

Permalink
Vault CLI removed / to be reverted if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Nov 19, 2024
1 parent 6cb8222 commit bece1c0
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 182 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,6 @@ java:
"arm64": "x64"
"aarch64": "x64"

vault:
"download_url": "https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.8.2/vault-cli-3.8.2-bin.tar.gz"

base:
# Location of temporary files (downloaded AEM packages, etc)
tmp_dir: aem/home/tmp
Expand Down
1 change: 0 additions & 1 deletion cmd/aem/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func (c *CLI) rootCmd() *cobra.Command {
cmd.AddCommand(c.fileCmd())
cmd.AddCommand(c.authCmd())
cmd.AddCommand(c.contentCmd())
cmd.AddCommand(c.vaultCmd())

c.rootFlags(cmd)

Expand Down
30 changes: 0 additions & 30 deletions cmd/aem/vault.go

This file was deleted.

3 changes: 0 additions & 3 deletions cmd/aem/vendor.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ func (c *CLI) vendorListCmd() *cobra.Command {
}
c.SetOutput("javaExecutable", javaExecutable)

vaultExecutable := c.aem.VendorManager().VaultCLI().VltFile()
c.setOutput("vaultExecutable", vaultExecutable)

oakRunJar := c.aem.VendorManager().OakRun().JarFile()
c.setOutput("oakRunJar", oakRunJar)

Expand Down
3 changes: 0 additions & 3 deletions examples/docker/src/aem/default/etc/aem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@ vendor:
"arm64": "x64"
"aarch64": "x64"

vault:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.8.2/vault-cli-3.8.2-bin.tar.gz"

# Oak Run tool options (offline instance management)
oak_run:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.72.0/oak-run-1.72.0.jar"
Expand Down
4 changes: 0 additions & 4 deletions pkg/project/app_classic/aem/default/etc/aem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,6 @@ vendor:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.72.0/oak-run-1.72.0.jar"
store_path: "crx-quickstart/repository/segmentstore"

# Jackrabbit Vault tool (repository content management tool)
vault:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.8.2/vault-cli-3.8.2-bin.tar.gz"

# Content-related options
content:
clean:
Expand Down
4 changes: 0 additions & 4 deletions pkg/project/app_cloud/aem/default/etc/aem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,6 @@ vendor:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.72.0/oak-run-1.72.0.jar"
store_path: "crx-quickstart/repository/segmentstore"

# Jackrabbit Vault tool (repository content management tool)
vault:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.8.2/vault-cli-3.8.2-bin.tar.gz"

# Content-related options
content:
clean:
Expand Down
4 changes: 0 additions & 4 deletions pkg/project/instance/aem/default/etc/aem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ vendor:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.72.0/oak-run-1.72.0.jar"
store_path: "crx-quickstart/repository/segmentstore"

# Jackrabbit Vault tool (repository content management tool)
vault:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.8.2/vault-cli-3.8.2-bin.tar.gz"

# Content-related options
content:
clean:
Expand Down
118 changes: 0 additions & 118 deletions pkg/vault_cli.go

This file was deleted.

12 changes: 0 additions & 12 deletions pkg/vendor_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ type VendorManager struct {
oakRun *OakRun
quickstart *Quickstart
sdk *SDK
vaultCLI *VaultCLI
}

func NewVendorManager(aem *AEM) *VendorManager {
Expand All @@ -17,7 +16,6 @@ func NewVendorManager(aem *AEM) *VendorManager {
result.sdk = NewSDK(result)
result.quickstart = NewQuickstart(result)
result.oakRun = NewOakRun(result)
result.vaultCLI = NewVaultCLI(result)
return result
}

Expand Down Expand Up @@ -59,12 +57,6 @@ func (vm *VendorManager) PrepareWithChanged() (bool, error) {
return changed, err
}

vaultCLIChanged, err := vm.vaultCLI.PrepareWithChanged()
changed = changed || vaultCLIChanged
if err != nil {
return changed, err
}

return changed, nil
}

Expand All @@ -83,7 +75,3 @@ func (vm *VendorManager) Quickstart() *Quickstart {
func (vm *VendorManager) SDK() *SDK {
return vm.sdk
}

func (vm *VendorManager) VaultCLI() *VaultCLI {
return vm.vaultCLI
}

0 comments on commit bece1c0

Please sign in to comment.