How to generate a swift3 API SDK using WSO2 Api manager - wso2

Is there a way to generate swift3 client SDK from wso2 api manager store?
I tried this configuration in api-manager.xml but it leads to a NullPointerException when I try to download the SDK:
<SupportedLanguages>swift3</SupportedLanguages>

Following are the supported languages for API Manager 2.1
android
java
scala
csharp
cpp
dart
flash
go
groovy
javascript
jmeter
nodejs
perl
php
python
ruby
swift
clojure
aspNet5
asyncScala
spring
csharpDotNet2
haskell

Related

Open API Specification Version 2.0

We need to create the openapi v2.0 specification documents for APIs. We are using spring mvc (version 4) framework and build restful web services using JAX-RS. Need to create the openapi.yaml file to upload to Google Cloud Platform to configure Google Cloud Endpoints
I found the solution with this tutorial
http://mrbool.com/use-case-documenting-a-jax-rs-api-with-swagger/36735

How to integrate AWS Lex chatbot in Xamarin application?

I have basic understanding of .net and chatbot.
I wanted to integrate Amazon lex in xamarin(ios, android)app. There seems to be no example or sample. I have created chatbot from AWS platform intent and slots.
Also I wanted to use database to get query return. Any sample to integrate AWS Lex with Xamarin app would be helpful.
As I understand from your question, you already have some implementation of chatbot made with AWS services, but you are having issue on integrating it to your xamarin application to be able to use it in IOS and Android devices.
For that purpose, there is AWS Mobile SDK which happens to support also xamarin.
From their link:
https://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/Welcome.html
I also did not find a Lex tutorial directly, but a very promising quote:
Supported AWS services currently include, but are not limited to [narrow list of services]
was on the same page. I looked around, found this text:
The AWS Mobile SDK for .NET and Xamarin also allows you to use most of the AWS services supported by the AWS SDK for .NET. The AWS services specific to mobile development are explained in this developer guide. For more information about the AWS SDK for .NET, see [a link]
clicked the link and ended here:
https://docs.aws.amazon.com/sdkfornet/v3/apidocs/Index.html
and under link AmazonLex -> AmazonLexClient there was something, you probably wanted to see:
Version Information
.NET Standard:
Supported in: 1.3
.NET Framework:
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Those 3 last let me understand that whenever you setup Mobile SDK, you get access to AWS services in Xamarin, also Lex.
Steps to install on
https://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/setup.html
mainly contain steps on how to create xamarin app and get AWS account, most important is to install the AWS Mobile SDK for .NET and Xamarin and configure it. More detailed steps are under that link.
After that the process is to follow the instructions on:
https://aws.amazon.com/getting-started/projects/bots-just-got-better-net-toolkit-lex-lambda-cognito/module-one/
like pointed in comments. I suppose once you have access to any service via Mobile SDK, the wire up of Lex may go in similar steps and no special just xamarin tutorial is not needed anymore.
It seems you are looking for both architecture and sample code for implementing AWS Lex bot with .NET backend that can be integrated with iOS/Android Frontend.
You have multiple choices here to do it
Build both chat user interfaces in iOS and Android and integrate them AWS iOS & Android SDKs to utilize the AWS LEX bot.
Just implement a bot user interface in iOS and Android app and integrate it with a .NET backend that can utilize AWS .NET SDK to integrate with your LEX bot.
I would recommend the second approach as it will save you writing the LEX integration code twice both in Android and in iOS. In the second appraoch you will be able to write a single integration for AWS LEX in .NET and that can give a unified experience across the mobile devices(iOS/Android)
Now for the .NET based backend integration with AWS LEX bot.
If you are an experienced .NET developer and you know how will you host your code then only thing that you need is the .NET API reference for AWS LEX, which can be found here
https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Lex/TLexClient.html
But if you are not sure how to write this integration code and also not sure how the deployment will look like then you can follow the below tutorial
Bots Just Got Better with .NET and the AWS Toolkit for Visual Studio
Also, find here the architecture form the above tutorial
there is no direct solution like Amazon Lex is supported by React-native. i confirmed with xamarin team as well as AWS service one of the member. direct integration not possible.

Deploying Ruby/Python backend services in WSO2 EI

I have written several webservices in Python and Ruby and would like to integrate them with WSO2 Integration Studio. I tried following the instructions on the docs about sending messages to services here but it's about Java microservices only. Am I supposed to deploy my services elsewhere and only use http endpoints to integrate them? Thank you
You can only copy JAR files to the /wso2/msf4j/deployment/microservices folder and deploy them in the MSF4J profile of WSO2 EI.
Am I supposed to deploy my services elsewhere and only use http endpoints to integrate them?
Yes, This is the way to achieve this.

How to import/integrate amazon aws-sdk to ionic2?

Ionic2 is Typescript based, and Amazon is providing javascript only version of its library.
Is it possible to integrate the Amazon aws-sdk into an Ionic2 app?
I have tried multiple methods including creating a typings file (and tsd), and trying to work out aws-cognito-angular2-quickstart but no luck so far...
Is creating an external javascript library and integrating it into the typescript code my only option?
Has anyone succeeded using Amazon Cognito from Ionic2 app?
You need to add typescript definitions of the AWS-SDK in your ionic2 and/or angular2 app. This will allow you to use all build-in functionalities provided in the AWS-SDK including Cognito.
Look at here to get started.

How WSO2 TAF can be used to test WSO2 API 1.7

We would like to leverage the WSO2 Test Automation Framework(TAF) to test APIs on WSO2 API 1.7
However since the WSO2 TAF is not a binary distribution and requires to be build from source the svn link available in the document points to the repository which has only one version of API Manager available which is 1.4(https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt)
The documentation is not quite straight forward when it comes to TAF, Would like to know if there is some other repository we should be looking at
to test API 1.7?
Can someone also comment on usage of WSO2 TAF for testing APIs created using API Mgmt. I am getting a feeling that the WSO2 TAF is purely meant for product testing only?
The svn location for the 1.7.0 is available at [1]. The integration tests on
[2].
The WSO2 Test Automation Framework is a maven based module which enable users to write tests using automation framework as a test engine and common utility provider which needs to write tests based on wso2 carbon products.
You can get a understanding of WSO2 Test automation framework in [3]. And you can get idea on common usage and basic steps to write a test can be get by [4], Test configuration and execution details can be found in [5].
Hope this will help you to setup a basic test suite using wso2 TAF
[1]. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.7.0/
[2].https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.7.0/modules/integration/
[3]. http://wso2.com/library/articles/2014/03/platform-wide-test-automation-with-wso2-test-automation-framework/
[4]. http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/
[5]. http://wso2.com/library/articles/2014/03/platform-test-automation-using-wso2-test-automation-framework/
Thank You,
Dharshana