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

Make sechub-api-java available as project dependency inside build #2162

Open
de-jcup opened this issue Apr 13, 2023 · 0 comments
Open

Make sechub-api-java available as project dependency inside build #2162

de-jcup opened this issue Apr 13, 2023 · 0 comments

Comments

@de-jcup
Copy link
Member

de-jcup commented Apr 13, 2023

Situation

Currently the java REST API cannot be used directly inside the build, because parts are generated and not available at build time and there is no artifact available on maven central.

With #2092 we want to use the REST API but currently we have no maven repository available.

Wanted

sechub-java-api shall be available inside the gradle build via a simple gradle project dependency.

This will make the development lifecycle very fast when it comes to changes for the API.

@de-jcup de-jcup self-assigned this Apr 13, 2023
de-jcup added a commit that referenced this issue Apr 13, 2023
- using open api generator 6.5.0 now
- changed sechub-api-java to be available as a normal project build
  dependency
- moved java api demo parts into own gradle project
- removed cyclic dependencies between projects (not on java
  side, but between openAPI file generation and openAPI java code
  generation
de-jcup added a commit that referenced this issue Apr 14, 2023
- using open api generator 6.5.0 now
- changed sechub-api-java to be available as a normal project build
  dependency
- moved java api demo parts into own gradle project
- removed cyclic dependencies between projects (not on java
  side, but between openAPI file generation and openAPI java code
  generation
de-jcup added a commit that referenced this issue Apr 14, 2023
- using open api generator 6.5.0 now
- changed sechub-api-java to be available as a normal project build
  dependency
- moved java api demo parts into own gradle project
- removed cyclic dependencies between projects (not on java
  side, but between openAPI file generation and openAPI java code
  generation
de-jcup added a commit that referenced this issue Apr 14, 2023
- using open api generator 6.5.0 now
- changed sechub-api-java to be available as a normal project build
  dependency
- moved java api demo parts into own gradle project
- removed cyclic dependencies between projects (not on java
  side, but between openAPI file generation and openAPI java code
  generation
de-jcup added a commit that referenced this issue Apr 14, 2023
- removed unnecessary test generation
- after generation the code is automatically formatted by
  spotless to reduce warnings in IDEs
- changed restdoc tests to have no longer additional
  (and unnecessary) authentication parameter inside
  generated open api file (and java api ...)
- password in example no longer shown in log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant