How to install a carbon application in WSO2 API Manger
I am getting the below error and not able to view the car file after installation.
2020-03-10 14:22:46 INFO Deploying Carbon Application : ShadowCompositeApplication_1.0.0.car...
2020-03-10 14:22:46 WARN No artifacts found to be deployed in this server. Ignoring Carbon Application :
WSO2 API Manager does not support deploying .car files at the moment. If you want to use a car file for the integration use case, then you can deploy in ESB/EI and proxy that via API Manager.
Related
I just enabled wso2 analytics settings in wso2 API manager deployment.conf file, but I can't find sp_analytics_dashboard setting in service providers of carbon console.what is the problem?
If you are using the quick setup[1] and not the standard setup[2], you need to place the unzipped API-M pack and unzipped Analytics pack inside the same directory. This is because the default configurations such as database connection URLs etc are configured assuming that both the packs are inside the same folder.
[1] - https://apim.docs.wso2.com/en/3.2.0/learn/analytics/configuring-apim-analytics/#quick-setup.
[2] - https://apim.docs.wso2.com/en/3.2.0/learn/analytics/configuring-apim-analytics/#standard-setup
Something similar is happening to me. I'm quite new in WSO2 world.
On the same server I have installed:
wso2am-4.1.0 --> API Manager executed as linux service (api-manager.sh) wso2ei-7.1.0 --> Micro Integrator and dashboard , both exec. as linux services. MI is the last one to load.
I'm not using the embedded micro-integration of the API Mgr due it hasn't got any dataservice features (and I don't know how to enable them, by the way..)
Under Micro Integrator (wso2ei-7.1.0)'s conf/deployment.toml file, I have this section:
[[service_catalog]]
apim_host = "https://localhost:9443"
enable = true
username = "xxxxxxxx"
password = "xxxxxxxx"
BUT,no integrated service published to the service catalog. ALSO, under Micro Integrator's LOG I didn't see any statement like : "Succesfully updated the Service Catalog" nor error msg..
Any help? Thanks in advance! Daniel
I tried changing the conf file settings, service url, etc..
The service catalog feature is only available in MI 4.x versions.
You can manually create the API in the API Manager by importing the OpenAPI(Swagger) definition.
In order to use API Manager's Service Catalog feature, both API Manager and Micro-integrator should be on the same version.
You need to use Micro-integrator 4.1.0 along with API Manager 4.1.0 to use this capability.
I built wso2 api manager 4.1.0 with docker image. I need to api logs json format.
Then installed apictl from this url "https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/getting-started-with-wso2-api-controller/" and deployed to docker wso2 api manager container.
I could add environment and successfully login. Then i could see and change api log type as below.
./apictl get api-logging -e development
API_ID API_CONTEXT LOG_LEVEL
77bcdc16-8091-4785-....-... /Service1/v1 FULL
8eb0b33e-98c3-4a9d-....-.... /Service2.asmx/1.0 OFF
But there's not any log record in api.log. How can i see api json logs ?
Thanks
I am running WSO2 APIM 3.2.0 and Analytics 3.2.0 on different client servers. I did all the required settings to configure WSO2 APIM with WSO2 Analytics. Started both the servers successfully and WSO2 APIM URL's open well. But, when I open the Analytics Dashboard URL (https://<Analytics_Host>:9643/analytics-dashboard/login), I get the below warning in the dashboard server logs, and the login page does not appear. Only a blank screen appears.
WARN {org.wso2.msf4j.internal.MSF4JHttpConnectorListener} - Unmapped
exception feign.RetryableException: No subject alternative names
matching IP address <APIM_IP> found executing GET
https://<APIM_Host>:9443/api/am/admin/v0.16/custom-urls/carbon.super
In the browser console I can see errors as shown in the below screenshot.
One more thing I noticed is in the management console of WSO2 APIM, difference in Service Providers list when compared with my local. I didn't find all the service providers on the client server which I can see on my local.
WSO2 APIM Carbon Console Service Providers list on my local:
WSO2 APIM Carbon Console list on the client server:
Am I missing out on some configurations? Need suggestions on this issue.
I'm using WSO2 API MANAGER VERSION 1.10.0
Sample API published with script description in publisher portal
and i open the api detail in store portal
setting carbon.xml is below
<XSSPreventionConfig>
<Enabled>true</Enabled>
<Rule>allow</Rule>
<!--Patterns>
<Pattern></Pattern>
</Patterns-->
</XSSPreventionConfig>
How can I solve it with setting?
You can download security patches for APIM 1.10.0 from here. This is already fixed in them.