-
Notifications
You must be signed in to change notification settings - Fork 31
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
v2.15.0 breaking change regarding displayText handling for CreateNetwork #70
Comments
@rohityadavcloud @hrak what should be the way forward here? With each ACS release, there will be some breaking changes so should we try to maintain backward compatibility or should we document them? |
Since this is optional in newer versions but not removed, the go-sdk can still call/pass it? |
@rohityadavcloud for example, with old go-sdk, they can create networkACL parameter by
now they have to use
Both methods should be supported. |
Agree @weizhouapache - ideally only the older method should be supported. However, we don't promise backward compatibility with the go-sdk, your proposal makes sense. |
@rohityadavcloud @weizhouapache @hrak I looked into generate code and currently I didn't find a way to effectively find such breaking changes. Maybe we need to use two listApis.json - one latest and one from the previous release to address such breaking changes. Any ideas? |
@weizhouapache okay I'll add those removed methods |
Agree with @weizhouapache, cc @shwstppr |
@weizhouapache @rohityadavcloud I've created #77 to restore breaking changes from ACS 4.19. Do we need to do it for 4.18 as well since this issue relates to that? |
PR #53 introducing CS 4.18 support removed displayText as a parameter to
NewCreateNetworkParams()
. This makes sense when talking to CS 4.18 (the parameter is no longer mandatory in CS 4.18), but when talking to CS < 4.18, this introduced a breaking change in the old behavior, resulting inUnable to execute API command createnetwork due to missing parameter displaytext
.cloudstack-go/cloudstack/NetworkService.go
Line 1103 in 3995b5e
I am not entirely sure whether this is something that needs to be fixed here, or in implementations of cloudstack-go, but its a undocumented breaking change nonetheless.
The text was updated successfully, but these errors were encountered: