Skip to content

Commit

Permalink
feat: remove configurable proxy #326 (#328)
Browse files Browse the repository at this point in the history
* feat: remove configurable proxy #326

* feat: remove overrides cmd #326

* feat: remove overrides from root #326
  • Loading branch information
srinandan authored Nov 6, 2023
1 parent 8880d46 commit 91da054
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 360 deletions.
6 changes: 2 additions & 4 deletions cmd/env/crtenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,17 @@ var CreateCmd = &cobra.Command{
return apiclient.SetApigeeOrg(org)
},
RunE: func(cmd *cobra.Command, args []string) (err error) {
_, err = env.Create(deploymentType, apiProxyType)
_, err = env.Create(deploymentType)
return
},
}

var deploymentType, apiProxyType string
var deploymentType string

func init() {
CreateCmd.Flags().StringVarP(&environment, "env", "e",
"", "Apigee environment name")
CreateCmd.Flags().StringVarP(&deploymentType, "deptype", "d",
"", "Deployment type - must be PROXY or ARCHIVE")
CreateCmd.Flags().StringVarP(&apiProxyType, "proxtype", "p",
"", "Proxy type - must be PROGRAMMABLE or CONFIGURABLE")
_ = CreateCmd.MarkFlagRequired("env")
}
119 changes: 0 additions & 119 deletions cmd/overrides/apply.go

This file was deleted.

82 changes: 0 additions & 82 deletions cmd/overrides/delete.go

This file was deleted.

32 changes: 0 additions & 32 deletions cmd/overrides/overrides.go

This file was deleted.

113 changes: 0 additions & 113 deletions cmd/overrides/overridestype.go

This file was deleted.

2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
"github.com/apigee/apigeecli/cmd/kvm"
"github.com/apigee/apigeecli/cmd/ops"
"github.com/apigee/apigeecli/cmd/org"
"github.com/apigee/apigeecli/cmd/overrides"
"github.com/apigee/apigeecli/cmd/preferences"
"github.com/apigee/apigeecli/cmd/products"
"github.com/apigee/apigeecli/cmd/projects"
Expand Down Expand Up @@ -171,7 +170,6 @@ func init() {
RootCmd.AddCommand(instances.Cmd)
RootCmd.AddCommand(ops.Cmd)
RootCmd.AddCommand(preferences.Cmd)
RootCmd.AddCommand(overrides.Cmd)
RootCmd.AddCommand(eptattachment.Cmd)
RootCmd.AddCommand(appgroups.Cmd)
}
Expand Down
Loading

0 comments on commit 91da054

Please sign in to comment.