Comments (11)
@giuffresoft79 were you encounter any issue?
from carbon-apimgt.
I wanted just to understand if indeed the APIAuthenticationAdminClient class is used in production with reference to the stub module of gateway or not. But it seems strange.
The class should refer to APIAuthenticationService in org.wso2.carbon.apimgt.gateway module.
I'm missing something in your architecture?
from carbon-apimgt.
I understand that the implementation is present in these stub modules that in the sources are not distributed. Right? I decompiled one of these jar
from carbon-apimgt.
Hi Roger,
Let me briefly explain how Services are used in this repo, so that that your concern about circular dependancy will be addressed.
When writing a service we normally follow a code-first approach.
Suppose we need to add a new operation to APIAuthenticationService. So first we'd change the service implementation adding the necessary code. Then we'd obtain the WSDL for the modified service (at the development time, usually this is done by patching the product with the modified jar and starting up the product, but theoretically, you should be able to get this WSDL by dropping the jar in an axis2 container). Once you start the product, you can download the WSDL by accessing service's URL which in this case is https://localhost:9443/services/APIAuthenticationAdminService?wsdl.
Using this WSDL, we'd generate the stubs needed to call that service. It's those WSDL's and the commands to generate the stubs that are located inside carbon-apimgt/service-stubs location. Since those would only depend on an interface definition file, the stubs can be generated any time. But since those are referred by other modules, at build time service-stubs are built at first.
Since the service stubs only depend upon the WSDL, which already is copied to that directory, both the code for the service and the code for the handler which uses that service can reside in the same bundle, i.e - there won't be any circular dependancy.
When building the product (https://github.com/wso2/product-apim), those stubs are copied into the distribution. So at the runtime, both the code and the service-stub are present.
from carbon-apimgt.
then wanting to manage the project in intellij in which command I refer to the compilation of the stub modules?
from carbon-apimgt.
i see this the org.codehaus.mojo plugin in pom.xml
from carbon-apimgt.
You can just import the carbon-apimgt project as a maven project and do the coding. :)
mvn clean install will do the build for you!
from carbon-apimgt.
ok, now i see the maven-antrun-plugin in pom.xml file
from carbon-apimgt.
By changing the phase in maven plugin everything compiles correctly with intellij. Thanks for support
from carbon-apimgt.
In carbon-multitenancy project
i would like to extend JDBCTenantManager class to persist additional fields associated with the tenant recorded in killbill but I am not clear how does instantiate when the factory method is called: TenantMgtCoreServiceComponent.getTenantManager ()
from carbon-apimgt.
Please note this is not a issue in component. Please drop a mail to [email protected] for more details
from carbon-apimgt.
Related Issues (20)
- test issue
- test issue2
- test issue 2
- Create a policy for One Time Token
- gh pr checkout 6430<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
- Camille0183:patch-1components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/Monetization.java..usagwSkip to main content
- Removing default version when default environment is not configured throws an NPE HOT 1
- [PostgreSQL] Database violation when using dbscripts HOT 1
- Add approval workflow pending request to the admin dashboard
- Custom JWTGenerator [apim.jwt.generator_imp] setting is ignored HOT 1
- [Gateway] Need to provide functionality to use muliple custom throttling properties HOT 1
- APIs can not be seen when logging to the Store portal with tagWiseMode: true in the site.json file.
- Fix test
- Adding optional Information when mapping different types of scopes in to default scheme
- [JWT-Grant] Missing fields in Backend JWT-(inconsistent behavior)
- jacoco instrumenting fails for interface with default method
- Error processing GET request for : URL exception during a Load test HOT 1
- Cannot add a new Subscription Rate Limiting Policy from the Admin Portal HOT 1
- Slow loading stats in analytics dashboards
- [OB] Failure in devportal key generation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbon-apimgt.