servicecatalog / oscm-rest-api Goto Github PK
View Code? Open in Web Editor NEWAn RESTful API for the OSCM Platform.
Home Page: https://openservicecatalogmanager.org
License: Apache License 2.0
An RESTful API for the OSCM Platform.
Home Page: https://openservicecatalogmanager.org
License: Apache License 2.0
Summary
Right now, travis configuration consists only of running the tests. Let's improve it to work efficiently and provide more error-safety
Details
TBD
Acceptance criteria
Additional context
TBD
Summary
Instead of providing version numbers for commonly used dependencies in each sub-project, let's centralize it in master POM, using dependency management.
Details
TBD
Acceptance criteria
Additional context
TBD
Summary
Right now, authorization configuration for REST API modules are provided inside of web.xml.
It is needed to check (and if possible - apply) wether it is possible to replace this web.xml config with java configuration.
Details
N/A
Acceptance criteria
Additional context
N/A
Summary
Right now, in order to deploy one of REST API module to oscm-core virtual machine it is necessary to perform all the steps manually.
REST API modules should be automatically built and deployed in scope of exsting Jenkins job
Details
N/A
Acceptance criteria
Following REST API modules are automatically deployable by Jenkins job:
- [x] oscm-rest-api-account
- [ ] oscm-rest-api-event
- [x] oscm-rest-api-identity
- [x] oscm-rest-api-marketplace
- [x] oscm-rest-api-operation
- [x] oscm-rest-api-service
- [ ] oscm-rest-api-subscription
Following #90:
Additional context
N/A
Summary
Right now, error messages that are delivered though API request are not meaningful at all.
We should review them and make it so end user actually knows what went wrong.
Details
N/A
Acceptance criteria
Additional context
N/A
Summary
To ensure higher code quality let's introduce SonarQube support for this repository.
Details
TBD
Acceptance criteria
TBD
Additional context
This repository should have the same task/bug/feature templates as main OSCM repository
Add CodeCov to mesaure code coverage for the modules like it is done in other OSCM repositories.
Summary
There are some Representation-type classes that are duplicated. Let's merge/remove them up.
Details
N/A
Acceptance criteria
Additional context
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Summary
In several places in the code there are methods marked with FIXME tag.
They are supposed to be moved to parent class.
Details
N/A
Acceptance criteria
Additional context
Add any other context or screenshots about the task.
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Task:
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Summary
Swagger documentation should be provided for Event API endpoints
Details
N/A
Acceptance criteria
Additional context
By migrating to JEE 7 in OSCM v17.0 the core REST APIs have been upgraded to JAX-RS 2.0 requiring jersey 2.0. In order to compile with latest OSCM, the contained dependent API projects need to be upgraded as well.
Summary****Summary
Swagger documentation should be provided for Identity API endpoints
Details
N/A
Acceptance criteria
Additional context
Clear description or/and business justification of what the task is about.
Details
If applicable, detailed information regarding things to be considered, requirements etc.
Acceptance criteria
Precise and detailed conditions under which the task is considered to be completed.
Additional context
Add any other context or screenshots about the task.
Describe the bug
From PR #80 travis builds begant to fail. The build on the branch passed (thus it was possible to merge the PR), but when post-merge build was triggered on master - it failed due to some unexpected exeption (see the screenshot). It is necessary to fix that issue as it basically blocks all the merges and renders the CI unusable.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When there is no issue with the code itself, builds should pass
Observed behavior
All builds are failing even before attempting to run the maven goals
Additional context
For building on Jitpack find instructions on https://jitpack.io. This is very easy and useful for later integration with the OSCM Core build.
Generate snapshot build from master branch on this repo.
Simply click this URL -> https://jitpack.io/#servicecatalog/oscm-rest-api/master-SNAPSHOT
Add the snipet to the parent pom file of this multi module project.
Compare the settings with the configuration in oscm-interfaces.
Summary
Swagger documentation should be provided for Subscription API endpoints
Details
N/A
Acceptance criteria
Additional context
Summary
After initial investigation, the single war package for event related API is deployable after aligning module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
Unit tests have to be implemented for oscm-rest-api-service submodule.
Details
N/A
Acceptance criteria
Unit tests for following submodules are implemented:
Additional context:
N/A
Summary
After initial investigation, the single war package for marketplace related API is deployable after aligning module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
Summary
After initial investigation, the single war package for subscription related API is deployable after aligning module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
Unit tests have to be implemented for oscm-rest-api-subscription submodule.
Details
N/A
Acceptance criteria
Unit tests for following submodules are implemented:
Additional context:
No
Summary
Swagger documentation should be provided for Account API endpoints
Details
N/A
Acceptance criteria
Additional context
Unit tests have to be implemented for oscm-rest-api-account and oscm-rest-api-identity submodules.
Details
No
Acceptance criteria
Unit tests for following submodules are implemented:
Additional context:
No
Remove dependency to com.github.servicecatalog.oscm-commons. Check shared modules from oscm-commons and integrate those which are needed here.
Also, move oscm-rest-api-commons module to this repo
Summary
After initial investigation, the single war package for account related API is deployable aliging module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
Unit tests have to be implemented for oscm-rest-api-event submodule.
Details
N/A
Acceptance criteria
Unit tests for following submodules are implemented:
Additional context:
N/A
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Summary
After initial investigation, the single war package for identity related API is deployable after aligning module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
Summary
In order for this repos unit tests to be consistent, let's recheck and improve the code whereever possible.
Details
N/A
Acceptance criteria
Additional context
N/A
Summary
After initial investigation, the single war package for operation related API is deployable after aligning module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
Summary
Right now, error messages that are delivered though API request are not meaningful at all.
We should review them and make it so end user actually knows what went wrong.
Details
N/A
Acceptance criteria
Additional context
N/A
Unit tests have to be implemented for oscm-rest-api-operation submodule.
Details
No
Acceptance criteria
Unit tests for following submodules are implemented:
Additional context:
No
Building the API from source requires an OSCM workspace and with contained ANT based scripts. Instead of later dependency provide for a separate maven build from OSCM binaries.
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Provide for description in this repository readme on how to deploy the API with latest OSCM.
Summary
I think it would be a good idea to write a few lines of documentation in the README file.
Acceptance criteria
Readme is informing about simple details, such as where it is deployed or how to access Swagger UI after it is merged to master.
Additional context
I think it should be done after merging swagger branch to master.
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Summary
As Integration tests are most likely needed to be performed outside of travis flow, code coverage coming from them will not by countend towards overall code coverage.
It is needed then to provide unit-like tests for that purpose.
Details
N/A
Acceptance criteria
Additional context
N/A
Unit tests have to be implemented for oscm-rest-api-marketplace submodule.
Details
No
Acceptance criteria
Unit tests for following submodules are implemented:
Additional context:
No
Summary
End-to-end tests should be provided for this module, to make sure that every endpoint works properly
Details
Integration tests should be implemented in form of separate maven submodule.
Worth noting is hovever that, due to submodules packaging being set to war it's not possible to use internal dependencies in this new submodule OOTB, as Maven uses jar packacking for dependencies.
It is needed to find a solution (maybe some configuration in POM?) for that issue.
Acceptance criteria
Additional context
Summary
Swagger documentation should be provided for Service API endpoints
Details
N/A
Acceptance criteria
Additional context
Describe the bug
We've noticed that sometimes pull requests are being merged automatically without confirmation from the user.
To Reproduce
There are no specific steps yet. Let's observe the repository and try to find something that's common for all of the cases.
Expected behavior
Pull Requests are merged only after all checks have passed and user responsible for merging particular PR, explicitly triggered the merging action.
Observed behavior
Pull Requests are being merged without user explicit approval and even no checks have passed.
Additional context
Summary
Swagger documentation should be provided for Marketplace API endpoints
Details
N/A
Acceptance criteria
Additional context
Summary
It is possible to replace anonymous classes with lambda expressions (ex. in .EventBackend#24)
Let's do this in separate task to keep the code clean and changes transparent.
Details
N/A
Acceptance criteria
Lambda expressions are used instead of anonymous classes
Additional context
Summary
Swagger documentation should be provided for Operation API endpoints
Details
N/A
Acceptance criteria
Additional context
Summary
After initial investigation, the single war package for service related API is deployable after aligning module's web.xml configuration.
Details
org.oscm.rest.common.BasicAuthFilter does not exist in any of the project dependencies. It leads to problem with API deployment. After removing it deployment is possible, but the API is not working as there is no authentication provided - OSCM's EJBs which are used underneath require proper user roles. Such authentication filter must be reintroduced.
Acceptance criteria
Additional context
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.