Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding business logic for updating Flow Hooks when empty string #180

Closed
AyushGupta1-2-3 opened this issue Aug 31, 2023 · 1 comment
Closed

Comments

@AyushGupta1-2-3
Copy link

Hello,

This is a request to update flow hooks when empty string is passed in flowhooks.json
Given sample :

[
	{
	    "flowHookPoint":"PreProxyFlowHook",
             "sharedFlow": ""    
	},    
	{
	     "flowHookPoint":"PostProxyFlowHook",
             "sharedFlow":  ""
	}
]

Currently, when run with maven update option, Apigee management api looks for shared flow name with empty string
and fails.

In order to update the flow hook with no shared flow, business logic can be added in update maven option to call detach flow hook apigee management api.

ssvaidyanathan added a commit that referenced this issue Aug 31, 2023
ssvaidyanathan added a commit that referenced this issue Aug 31, 2023
@ssvaidyanathan
Copy link
Collaborator

Pushed a logic for this

Try using v2.4.6

Pls reopen if the issue still exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants