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

Fix the swagger files generated by removing troublesome class #4024

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

srkukarni
Copy link
Contributor

Motivation

Function/Source/Sink get returns Function/Source/SinkConfig. Corrected the classname. This dramatically reduces the swagger defn generated for functions/sinks/sources.
Also removed a generated file swagger.json from sourcecode.

Modifications

Describe the modifications you've done.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)
  • The rest endpoints: (yes / no)
  • The admin cli options: (yes / no)
  • Anything that affects deployment: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@srkukarni srkukarni added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. area/function area/connector labels Apr 11, 2019
@srkukarni srkukarni added this to the 2.3.2 milestone Apr 11, 2019
@srkukarni srkukarni self-assigned this Apr 11, 2019
@@ -26,6 +26,8 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
# so that Pdoc can import the module
find $ROOT_DIR -name CMakeCache.txt | xargs rm -f
find $ROOT_DIR -name CMakeFiles | xargs rm -rf
find $ROOT_DIR -name PulsarApi.pb.h | xargs rm -rf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these 2 lines related to swagger?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not directly related to swagger, but these impede the building of the website.

@srkukarni
Copy link
Contributor Author

rerun cpp tests

@srkukarni
Copy link
Contributor Author

rerun java8 tests

1 similar comment
@srkukarni
Copy link
Contributor Author

rerun java8 tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connector area/function doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants