[Dev] Error in wso2 apim 2.1.0 kubernetes deployment in google container engine

2017-09-27 Thread Ayeshmantha Perera
Hi all,

As mentioned in the kubernetes artifacts deployment documentation [1] we
have built the base image and deployed k8 artifacts with the pattern 1.
Although artifacts got deployed without an error at deployment time, and
the analytics dashboard is accessible via :
https://wso2apim-analytics/carbon  the API manager is not working as
expected.
When going through the logs in wso2-apim-worker and wso2-api-manager-worker
pods, we can see below error:

[2017-09-28 06:21:53,224] FATAL - ServiceBusInitializer Couldn't initialize
the ESB...
org.apache.synapse.SynapseException: The synapse.xml location
././repository/deployment/server/synapse-configs/default doesn't exist
at
org.apache.synapse.SynapseControllerFactory.handleFatal(SynapseControllerFactory.java:121)
at
org.apache.synapse.SynapseControllerFactory.validatePath(SynapseControllerFactory.java:113)
at
org.apache.synapse.SynapseControllerFactory.validate(SynapseControllerFactory.java:88)
at
org.apache.synapse.SynapseControllerFactory.createSynapseController(SynapseControllerFactory.java:44)
at org.apache.synapse.ServerManager.init(ServerManager.java:103)
at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:451)
at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)

We also ran the apim-kubernetes:2.1.0 docker image in the deployed VM
instance, and it starts up without above error, so we think this is
something related to the kubernetes artifacts.

Appreciate if someone can help us to resolve this deployment issue.

Regards,
Ayeshmantha

[1] https://github.com/wso2/kubernetes-apim/tree/v2.1.0-1
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error with latest kubernates artifacts in GCE

2017-07-19 Thread Ayeshmantha Perera
Hi Isuru

Yes inside the container the configuration is the same it's disabled.I will
attach the worker and manager api-manager.xml with this mail

Regards,
Ayeshmantha

On Wed, Jul 19, 2017 at 11:57 AM, Isuru Haththotuwa  wrote:

> Hi Ayeshmantha,
>
> Please note that these K8s artifacts are still WIP and are not in the
> released state. These artifacts might change considerable before getting
> merged with the official wso2 repositories.
> About the error, can you please confirm that the Analytics are disabled by
> checking the api-manager.xml of the running container?
>
> On Wed, Jul 19, 2017 at 11:28 AM, Ayeshmantha Perera <
> akayeshman...@gmail.com> wrote:
>
>> Hi All
>>
>> I'm deploying the latest wso2 apim kubernatres artifacts[1] in GCE. For
>> current deployment I used pattern 1 [2] and I removed wso2am analytics from
>> the docker image by disablingconf/apimanager.xml in both worker and
>> manager. But when the deployment is done the worker and manager still give
>> an Error I 'm attaching the error log text with this mail.And the
>> containers are getting failed due to this issue.
>> Can anyone please  help me on this?
>>
>> Regards,
>> Ayeshmantha
>>
>>
>> [1] https://github.com/isurulucky/kubernetes-apim/tree/new-
>> deployment-patterns
>> <https://github.com/isurulucky/kubernetes-apim/tree/new-deployment-patterns>
>> [2] https://github.com/isurulucky/docker-apim/tree/new-
>> deployment-patterns
>> <https://github.com/isurulucky/docker-apim/tree/new-deployment-patterns>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048 <+94%2071%20635%208048>* <http://wso2.com/>*
>
>
>


jdbc/WSO2AM_DB


Synapse


false




https://localhost:${mgt.transport.https.port}${carbon.context}services/

${admin.username}

${admin.password}

false







X-JWT-Assertion











org.wso2.carbon.apimgt.keymgt.token.JWTGenerator


















Production and Sandbox
This is a hybrid gateway that handles both production and sandbox token traffic.

https://localhost:${mgt.transport.https.port}${carbon.context}services/
		
${admin.username}

${admin.password}

http://wso2apim:32001,https://wso2apim:32002





	
true
	
true

false

false
	










false






























https://localhost:${mgt.transport.https.port}${carbon.context}services/


${admin.username}

${admin.password}


ThriftClient
1


true
localhost




org.wso2.carbon.apimgt.keymgt.handlers.DefaultKeyValidationHandler









am_application_scope



/oauth2/token

https://localhost:${https.nio.port}/revoke

false





true






https://localhost:${mgt.transport.https.port}${carbon.context}services/

${admin.username}


${admin.password}

false

false




true


true






false
https://wso2apim:32004/publisher












false




/resource
admin
1.0.0
none
none
Any










true


*


GET,PUT,POST,DELETE,PATCH,OPTIONS


authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction



false









/ap

[Dev] Error with latest kubernates artifacts in GCE

2017-07-18 Thread Ayeshmantha Perera
Hi All

I'm deploying the latest wso2 apim kubernatres artifacts[1] in GCE. For
current deployment I used pattern 1 [2] and I removed wso2am analytics from
the docker image by disablingconf/apimanager.xml in both worker and
manager. But when the deployment is done the worker and manager still give
an Error I 'm attaching the error log text with this mail.And the
containers are getting failed due to this issue.
Can anyone please  help me on this?

Regards,
Ayeshmantha


[1]
 https://github.com/isurulucky/kubernetes-apim/tree/new-deployment-patterns

[2] https://github.com/isurulucky/docker-apim/tree/new-deployment-patterns

2017-07-19T05:36:49.414343643Z [2017-07-19 05:36:49,414]  INFO - 
KafkaEventAdapterServiceHolder Kafka input event adaptor waiting for dependent 
configurations to load
2017-07-19T05:36:49.501116034Z [2017-07-19 05:36:49,484] ERROR - 
MessageTracerServiceComponent Unable to create stream: Cannot create directory 
to add tenant specific Event Stream : DAS_MESSAGE_TRACE:1.0.0
2017-07-19T05:36:49.501160242Z 
org.wso2.carbon.event.stream.core.exception.EventStreamConfigurationException: 
Cannot create directory to add tenant specific Event Stream : 
DAS_MESSAGE_TRACE:1.0.0
2017-07-19T05:36:49.501177226Z  at 
org.wso2.carbon.event.stream.core.internal.CarbonEventStreamService.addEventStreamDefinition(CarbonEventStreamService.java:224)
2017-07-19T05:36:49.501184722Z  at 
org.wso2.carbon.analytics.message.tracer.handler.internal.MessageTracerServiceComponent.activate(MessageTracerServiceComponent.java:84)
2017-07-19T05:36:49.501196012Z  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2017-07-19T05:36:49.501201437Z  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-07-19T05:36:49.501206782Z  at 
java.lang.reflect.Method.invoke(Method.java:498)
2017-07-19T05:36:49.501211712Z  at 
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
2017-07-19T05:36:49.501217504Z  at 
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
2017-07-19T05:36:49.501223239Z  at 
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
2017-07-19T05:36:49.50122854Z   at 
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
2017-07-19T05:36:49.501234009Z  at 
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
2017-07-19T05:36:49.501239334Z  at 
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
2017-07-19T05:36:49.501244402Z  at 
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
2017-07-19T05:36:49.501250472Z  at 
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
2017-07-19T05:36:49.501256124Z  at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
2017-07-19T05:36:49.501261577Z  at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
2017-07-19T05:36:49.50126667Z   at 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
2017-07-19T05:36:49.501271989Z  at 
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
2017-07-19T05:36:49.501277332Z  at 
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
2017-07-19T05:36:49.501282712Z  at 
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
2017-07-19T05:36:49.50128793Z   at 
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
2017-07-19T05:36:49.501305729Z  at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
2017-07-19T05:36:49.501311779Z  at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
2017-07-19T05:36:49.501317424Z  at 
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:514)
2017-07-19T05:36:49.501322574Z  at 
org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
2017-07-19T05:36:49.501327742Z  at 
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:94)
2017-07-19T05:36:49.501332932Z  at 
sun.reflect.NativeMethodAcc2017-07-19T05:36:49.530424097Zat 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
2017-07-19T05:36:49.530429447Z  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2017-07-19T05:36:49.530434837Z  at java

Re: [Dev] Issue in the deployment of WSO2am docker image in to aws EC2 container service

2017-07-07 Thread Ayeshmantha Perera
Hi All
I ssh into the instance and had a look at the docker ps command to see the
mapping of the container port to open the ports in the security groups
inbound.First time when I add them I got a message from the wso2apim
manager and It was a server error kind of a message in the next time when
I'm accessing there was a gateway 504 error.And the ports mapping of the
docker ps command is totally different this time it has changed
dynamically.And when I'm looking in to this error I recognized that service
is stopping due to health check failure and restarting.In that time the
ports are changing

Is the health check target working properly it was mentioned as /echo/wso2
in the post[1].

[1]
https://medium.com/containermind/how-to-deploy-wso2-api-manager-on-amazon-ecs-bdc5a8d22844

Regards
Ayeshmantha


On Wed, Jul 5, 2017 at 1:34 PM, Ayeshmantha Perera 
wrote:

> Hi All
>
> I tried to telnet in to the instance but it's not working.But it says
> container started succefully.And all the ports are opend for the load
> balancer.But still no luck.Any idea on this
>
> Regards
> Ayesh
>
> On Tue, Jul 4, 2017 at 4:50 PM, Ayeshmantha Perera <
> akayeshman...@gmail.com> wrote:
>
>>
>>
>> On Mon, Jul 3, 2017 at 8:17 PM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi,
>>>
>>> Server log looks okay. Can you check whether api manager is running in
>>> the container? I guess you should be able to login to the container. Maybe
>>> you can telnet and check 9443 port is up and running.
>>>
>>> Thank you!
>>>
>>> On Mon, Jul 3, 2017 at 6:35 PM, Ayeshmantha Perera <
>>> akayeshman...@gmail.com> wrote:
>>>
>>>> Hi Pubudu
>>>>
>>>> Am using a self signed certificate is that a problem.Because always
>>>> with that cert when I'm creating a http/s load blancer it says no healthy
>>>> targets are found
>>>>
>>>> Thanks
>>>> Regards
>>>> Ayesh
>>>>
>>>> On Mon, Jul 3, 2017 at 5:02 PM, Ayeshmantha Perera <
>>>> akayeshman...@gmail.com> wrote:
>>>>
>>>>> Hi Pubudu
>>>>>
>>>>> The log shows that hthe apim is up and running
>>>>> Is there an issue with /echo/wso2 health check endpoint
>>>>>
>>>>> Here I attach the log with the mail
>>>>>
>>>>> On Wed, Jun 28, 2017 at 8:06 PM, Pubudu Gunatilaka 
>>>>> wrote:
>>>>>
>>>>>> HI Ayesh,
>>>>>>
>>>>>> Do you see any errors in the container logs?
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> On Wed, Jun 28, 2017 at 12:13 PM, Ayeshmantha Perera <
>>>>>> akayeshman...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi All
>>>>>>>
>>>>>>> We deploy the wso2am 2.1.0 docker image which was taken from the
>>>>>>> wso2 docker hub in aws EC2 container service.And also followed the [1] 
>>>>>>> as a
>>>>>>> referece on deploying
>>>>>>>
>>>>>>> After creating the ECS service which is exposing the management
>>>>>>> console outside.It gives a 504 bad gateway error.And also it shows that 
>>>>>>> non
>>>>>>> of the instances are healthy in the region.I deployed it on 4 regions in
>>>>>>> all regions it was the same
>>>>>>>
>>>>>>> Appreciate if someone can help us to resolve this deployment issue
>>>>>>>
>>>>>>> Regards,
>>>>>>> Ayeshmantha
>>>>>>>
>>>>>>> [1] https://medium.com/containermind/how-to-deploy-wso2-api-
>>>>>>> manager-on-amazon-ecs-bdc5a8d22844
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Pubudu Gunatilaka*
>>>>>> Committer and PMC Member - Apache Stratos
>>>>>> Software Engineer
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> mobile : +94774078049 <%2B94772207163>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue in the deployment of WSO2am docker image in to aws EC2 container service

2017-07-05 Thread Ayeshmantha Perera
Hi All

I tried to telnet in to the instance but it's not working.But it says
container started succefully.And all the ports are opend for the load
balancer.But still no luck.Any idea on this

Regards
Ayesh

On Tue, Jul 4, 2017 at 4:50 PM, Ayeshmantha Perera 
wrote:

>
>
> On Mon, Jul 3, 2017 at 8:17 PM, Pubudu Gunatilaka 
> wrote:
>
>> Hi,
>>
>> Server log looks okay. Can you check whether api manager is running in
>> the container? I guess you should be able to login to the container. Maybe
>> you can telnet and check 9443 port is up and running.
>>
>> Thank you!
>>
>> On Mon, Jul 3, 2017 at 6:35 PM, Ayeshmantha Perera <
>> akayeshman...@gmail.com> wrote:
>>
>>> Hi Pubudu
>>>
>>> Am using a self signed certificate is that a problem.Because always with
>>> that cert when I'm creating a http/s load blancer it says no healthy
>>> targets are found
>>>
>>> Thanks
>>> Regards
>>> Ayesh
>>>
>>> On Mon, Jul 3, 2017 at 5:02 PM, Ayeshmantha Perera <
>>> akayeshman...@gmail.com> wrote:
>>>
>>>> Hi Pubudu
>>>>
>>>> The log shows that hthe apim is up and running
>>>> Is there an issue with /echo/wso2 health check endpoint
>>>>
>>>> Here I attach the log with the mail
>>>>
>>>> On Wed, Jun 28, 2017 at 8:06 PM, Pubudu Gunatilaka 
>>>> wrote:
>>>>
>>>>> HI Ayesh,
>>>>>
>>>>> Do you see any errors in the container logs?
>>>>>
>>>>> Thank you!
>>>>>
>>>>> On Wed, Jun 28, 2017 at 12:13 PM, Ayeshmantha Perera <
>>>>> akayeshman...@gmail.com> wrote:
>>>>>
>>>>>> Hi All
>>>>>>
>>>>>> We deploy the wso2am 2.1.0 docker image which was taken from the wso2
>>>>>> docker hub in aws EC2 container service.And also followed the [1] as a
>>>>>> referece on deploying
>>>>>>
>>>>>> After creating the ECS service which is exposing the management
>>>>>> console outside.It gives a 504 bad gateway error.And also it shows that 
>>>>>> non
>>>>>> of the instances are healthy in the region.I deployed it on 4 regions in
>>>>>> all regions it was the same
>>>>>>
>>>>>> Appreciate if someone can help us to resolve this deployment issue
>>>>>>
>>>>>> Regards,
>>>>>> Ayeshmantha
>>>>>>
>>>>>> [1] https://medium.com/containermind/how-to-deploy-wso2-api-
>>>>>> manager-on-amazon-ecs-bdc5a8d22844
>>>>>>
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Pubudu Gunatilaka*
>>>>> Committer and PMC Member - Apache Stratos
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> mobile : +94774078049 <%2B94772207163>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue in the deployment of WSO2am docker image in to aws EC2 container service

2017-07-04 Thread Ayeshmantha Perera
On Mon, Jul 3, 2017 at 8:17 PM, Pubudu Gunatilaka  wrote:

> Hi,
>
> Server log looks okay. Can you check whether api manager is running in the
> container? I guess you should be able to login to the container. Maybe you
> can telnet and check 9443 port is up and running.
>
> Thank you!
>
> On Mon, Jul 3, 2017 at 6:35 PM, Ayeshmantha Perera <
> akayeshman...@gmail.com> wrote:
>
>> Hi Pubudu
>>
>> Am using a self signed certificate is that a problem.Because always with
>> that cert when I'm creating a http/s load blancer it says no healthy
>> targets are found
>>
>> Thanks
>> Regards
>> Ayesh
>>
>> On Mon, Jul 3, 2017 at 5:02 PM, Ayeshmantha Perera <
>> akayeshman...@gmail.com> wrote:
>>
>>> Hi Pubudu
>>>
>>> The log shows that hthe apim is up and running
>>> Is there an issue with /echo/wso2 health check endpoint
>>>
>>> Here I attach the log with the mail
>>>
>>> On Wed, Jun 28, 2017 at 8:06 PM, Pubudu Gunatilaka 
>>> wrote:
>>>
>>>> HI Ayesh,
>>>>
>>>> Do you see any errors in the container logs?
>>>>
>>>> Thank you!
>>>>
>>>> On Wed, Jun 28, 2017 at 12:13 PM, Ayeshmantha Perera <
>>>> akayeshman...@gmail.com> wrote:
>>>>
>>>>> Hi All
>>>>>
>>>>> We deploy the wso2am 2.1.0 docker image which was taken from the wso2
>>>>> docker hub in aws EC2 container service.And also followed the [1] as a
>>>>> referece on deploying
>>>>>
>>>>> After creating the ECS service which is exposing the management
>>>>> console outside.It gives a 504 bad gateway error.And also it shows that 
>>>>> non
>>>>> of the instances are healthy in the region.I deployed it on 4 regions in
>>>>> all regions it was the same
>>>>>
>>>>> Appreciate if someone can help us to resolve this deployment issue
>>>>>
>>>>> Regards,
>>>>> Ayeshmantha
>>>>>
>>>>> [1] https://medium.com/containermind/how-to-deploy-wso2-api-
>>>>> manager-on-amazon-ecs-bdc5a8d22844
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Pubudu Gunatilaka*
>>>> Committer and PMC Member - Apache Stratos
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> mobile : +94774078049 <%2B94772207163>
>>>>
>>>>
>>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue in the deployment of WSO2am docker image in to aws EC2 container service

2017-06-27 Thread Ayeshmantha Perera
Hi All

We deploy the wso2am 2.1.0 docker image which was taken from the wso2
docker hub in aws EC2 container service.And also followed the [1] as a
referece on deploying

After creating the ECS service which is exposing the management console
outside.It gives a 504 bad gateway error.And also it shows that non of the
instances are healthy in the region.I deployed it on 4 regions in all
regions it was the same

Appreciate if someone can help us to resolve this deployment issue

Regards,
Ayeshmantha

[1]
https://medium.com/containermind/how-to-deploy-wso2-api-manager-on-amazon-ecs-bdc5a8d22844
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-04-02 Thread Ayeshmantha Perera
Hi Pubudu,

For an example what is the new location that stores the API WSDL and
mediation policies which were earlier there on the registry.

Thank you!
Regards
Ayeshmantha

On Mon, Apr 3, 2017 at 12:15 PM, Pubudu Gunatilaka  wrote:

> Hi Ayesh,
>
> Can you be more specific on the components? From C5 onwards we have
> completely removed the registry usage.
>
> Thank you!
>
> On Mon, Apr 3, 2017 at 11:52 AM, Ayeshmantha Perera <
> akayeshman...@gmail.com> wrote:
>
>> Hi All
>>
>> While going through the code base of previous versions of the APIM and C5
>> version I found that the certian components that were earlier in the
>> registry no longer exists.
>> I'm in doubt whether those are been moved to a new location or in the
>> same database where other components do exists.It will be great if I can
>> have clarifications over this
>>
>> Thank you
>> Regards
>>
>> On Sun, Apr 2, 2017 at 10:45 PM, Ayeshmantha Perera <
>> akayeshman...@gmail.com> wrote:
>>
>>> Hi Pubudu
>>>
>>> While going through the code base of previous versions of the APIM and
>>> C5 version I found that the certian components that were earlier in the
>>> registry no longer exists.
>>> I'm in doubt whether those are been moved to a new location or in the
>>> same database where other components do exists.It will be great if I can
>>> have clarifications over this
>>>
>>> Thank you
>>> Regards
>>> Ayeshmantha
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-04-02 Thread Ayeshmantha Perera
Hi All

While going through the code base of previous versions of the APIM and C5
version I found that the certian components that were earlier in the
registry no longer exists.
I'm in doubt whether those are been moved to a new location or in the same
database where other components do exists.It will be great if I can have
clarifications over this

Thank you
Regards

On Sun, Apr 2, 2017 at 10:45 PM, Ayeshmantha Perera  wrote:

> Hi Pubudu
>
> While going through the code base of previous versions of the APIM and C5
> version I found that the certian components that were earlier in the
> registry no longer exists.
> I'm in doubt whether those are been moved to a new location or in the same
> database where other components do exists.It will be great if I can have
> clarifications over this
>
> Thank you
> Regards
> Ayeshmantha
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-04-02 Thread Ayeshmantha Perera
Hi All
I shared the draft proposal in the GSOC dashboard.Would be great and
appreciated if can review and provide a feed back on it

Thank you
Regards
Ayeshmantha

On Tue, Mar 7, 2017 at 1:28 PM, Ayeshmantha Perera 
wrote:

> Hi Pubudu
>
> Yeah already started going through the code and started some
> implementation regarding the Token generation task.Already up and run
> the  WSO2 API Manager 3.0.0-m1 which is based on Carbon 5(C5) and also went
> through some coding based on Go for CLI tool and also based on
> Go-Programming and can find the the CLI tool  worked on in [1] And the
> coding on go programming in [2] repos.
>
> [1] https://github.com/Akayeshmantha/GO_CLI_Practice
>
> [2] https://github.com/Akayeshmantha/Go_Practice
>
> Than you
> Best Regards
> Ayeshmantha
>
>
>
>
> On Mon, Mar 6, 2017 at 8:05 PM, Ayeshmantha Perera <
> akayeshman...@gmail.com> wrote:
>
>> Hi Pubudu
>>
>> Went through the basic key concepts of the WSO2 API Manager and went
>> through the token generation Documentation And the specification doc of
>> OAuth 2  protocol to get more idea on how it will be used in the task on
>> token generation.And went through the code of Dynamic client registration
>> class(dcr)[1] and .And yeah for the time been proposed a solution on Token
>> generation task [2].
>>
>> [1] https://github.com/wso2/carbon-apimgt/blob/master/compon
>> ents/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/jav
>> a/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationS
>> erviceImpl.java#L12
>> <https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java#L126>
>>
>> [2] http://gsocproposal8.blogspot.com/2017/02/task-4-key-gen
>> eration-solution-proposed.html
>>
>> Thank you
>> Best regards
>> Ayeshmantha
>>
>> On Wed, Mar 1, 2017 at 1:51 AM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi Ayeshmantha,
>>>
>>> Thank you for your interest and good progress on the work.
>>>
>>> As you have some experience in using API Manager, you can also go
>>> through the API Manager concepts [1] and get familiar with them.
>>> Additionally, you can try out API export/import feature [2] and the API
>>> Manager 2.1.0 REST APIs [3] to tryout the product.
>>>
>>> Currently, WSO2 API Manager team is working on Carbon 5(C5) based API
>>> Manager implementation and you can find the relevant repos in [4] and [5].
>>> When you are developing the CLI, you should use the C5 REST APIs. API
>>> Manager team has already added most important REST APIs and we are working
>>> on adding new REST APIs based on the functionalities. Meantime, you can
>>> also get familiar with GO language and learn the concepts.
>>>
>>> As described in the project description you need to develop a CLI tool
>>> for API Manager. You can also check the available CLI tools and get an idea
>>> how you can develop the CLI in a more user-friendly way.
>>>
>>> [1] - https://docs.wso2.com/display/AM210/Key+Concepts
>>> [2] - https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+
>>> Different+Environment
>>> [3] - https://docs.wso2.com/display/AM210/WSO2+APIs
>>> [4] - https://github.com/wso2/carbon-apimgt/tree/C5
>>> [5] - https://github.com/wso2/product-apim/tree/C5
>>>
>>> Thank you!
>>>
>>> On Wed, Mar 1, 2017 at 2:28 PM, Tharindu Edirisinghe >> > wrote:
>>>
>>>> Hi Ayeshmantha,
>>>>
>>>> We are glad to see  your interest in doing GSoC with WSO2. I have added
>>>> the mentors of the project here, so they will guide you for proceeding
>>>> further.
>>>>
>>>> Best Regards,
>>>> Tharindu Edirisinghe
>>>>
>>>> On Wed, Mar 1, 2017 at 1:25 PM, Ayeshmantha Perera <
>>>> akayeshman...@gmail.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I'm Ayeshmantha Perera, from Sri Lanka Institute of Information
>>>>> Technology, currently studying in the final (4th) year specializing in
>>>>> Software Engineering.
>>>>>
>>>>> I am interested in taking part in GSoC 2017 with WSO2 and and hope to
>>>>> apply for the CLI tool on API Manager.
>>>>>
>>>>> I have been following up the work done by the API Manager team of WSO2
>>>>> and

Re: [Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-03-06 Thread Ayeshmantha Perera
Hi Pubudu

Yeah already started going through the code and started some implementation
regarding the Token generation task.Already up and run the  WSO2 API
Manager 3.0.0-m1 which is based on Carbon 5(C5) and also went through some
coding based on Go for CLI tool and also based on Go-Programming and can
find the the CLI tool  worked on in [1] And the coding on go programming in
[2] repos.

[1] https://github.com/Akayeshmantha/GO_CLI_Practice

[2] https://github.com/Akayeshmantha/Go_Practice

Than you
Best Regards
Ayeshmantha




On Mon, Mar 6, 2017 at 8:05 PM, Ayeshmantha Perera 
wrote:

> Hi Pubudu
>
> Went through the basic key concepts of the WSO2 API Manager and went
> through the token generation Documentation And the specification doc of
> OAuth 2  protocol to get more idea on how it will be used in the task on
> token generation.And went through the code of Dynamic client registration
> class(dcr)[1] and .And yeah for the time been proposed a solution on Token
> generation task [2].
>
> [1] https://github.com/wso2/carbon-apimgt/blob/master/compon
> ents/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/jav
> a/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationS
> erviceImpl.java#L12
> <https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java#L126>
>
> [2] http://gsocproposal8.blogspot.com/2017/02/task-4-key-gen
> eration-solution-proposed.html
>
> Thank you
> Best regards
> Ayeshmantha
>
> On Wed, Mar 1, 2017 at 1:51 AM, Pubudu Gunatilaka 
> wrote:
>
>> Hi Ayeshmantha,
>>
>> Thank you for your interest and good progress on the work.
>>
>> As you have some experience in using API Manager, you can also go through
>> the API Manager concepts [1] and get familiar with them. Additionally, you
>> can try out API export/import feature [2] and the API Manager 2.1.0 REST
>> APIs [3] to tryout the product.
>>
>> Currently, WSO2 API Manager team is working on Carbon 5(C5) based API
>> Manager implementation and you can find the relevant repos in [4] and [5].
>> When you are developing the CLI, you should use the C5 REST APIs. API
>> Manager team has already added most important REST APIs and we are working
>> on adding new REST APIs based on the functionalities. Meantime, you can
>> also get familiar with GO language and learn the concepts.
>>
>> As described in the project description you need to develop a CLI tool
>> for API Manager. You can also check the available CLI tools and get an idea
>> how you can develop the CLI in a more user-friendly way.
>>
>> [1] - https://docs.wso2.com/display/AM210/Key+Concepts
>> [2] - https://docs.wso2.com/display/AM210/Migrating+the+APIs+to+a+
>> Different+Environment
>> [3] - https://docs.wso2.com/display/AM210/WSO2+APIs
>> [4] - https://github.com/wso2/carbon-apimgt/tree/C5
>> [5] - https://github.com/wso2/product-apim/tree/C5
>>
>> Thank you!
>>
>> On Wed, Mar 1, 2017 at 2:28 PM, Tharindu Edirisinghe 
>> wrote:
>>
>>> Hi Ayeshmantha,
>>>
>>> We are glad to see  your interest in doing GSoC with WSO2. I have added
>>> the mentors of the project here, so they will guide you for proceeding
>>> further.
>>>
>>> Best Regards,
>>> Tharindu Edirisinghe
>>>
>>> On Wed, Mar 1, 2017 at 1:25 PM, Ayeshmantha Perera <
>>> akayeshman...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I'm Ayeshmantha Perera, from Sri Lanka Institute of Information
>>>> Technology, currently studying in the final (4th) year specializing in
>>>> Software Engineering.
>>>>
>>>> I am interested in taking part in GSoC 2017 with WSO2 and and hope to
>>>> apply for the CLI tool on API Manager.
>>>>
>>>> I have been following up the work done by the API Manager team of WSO2
>>>> and went through the webinars that was handled by WSO2 API Manager team.
>>>>
>>>> I have experienced  working on WSO2 API Manager in my previous working
>>>> experience as an Intern.And I'm experienced on WSO2 ESB and Also the WSO2
>>>> Data analytics server also.
>>>>
>>>> Other than the experience on the products I have experience on working
>>>> with Go lang ,Java EE ,Maven,Git,OAuth2 protocol,JAX-RS,Spring
>>>> ,Hibernater.And I have 1 year experience on Node.js development, with
>>>> Meanstack 1 and Meanstack 2 and Also With React , Redux , Reactive
>>>>

Re: [Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-03-06 Thread Ayeshmantha Perera
Hi Pubudu

Went through the basic key concepts of the WSO2 API Manager and went
through the token generation Documentation And the specification doc of
OAuth 2  protocol to get more idea on how it will be used in the task on
token generation.And went through the code of Dynamic client registration
class(dcr)[1] and .And yeah for the time been proposed a solution on Token
generation task [2].

[1] https://github.com/wso2/carbon-apimgt/blob/master/
components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/
src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/
RegistrationServiceImpl.java#L12
<https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java#L126>

[2] http://gsocproposal8.blogspot.com/2017/02/task-4-key-
generation-solution-proposed.html

Thank you
Best regards
Ayesh

On Mon, Mar 6, 2017 at 6:10 AM, Ayeshmantha Perera 
wrote:

> Hi All
>
> Went through the basic key concepts of the WSO2 API Manager and went
> through the token generation Documentation And the specification doc of
> OAuth 2  protocol to get more idea on how it will be used in the task on
> token generation.And went through the code of Dynamic client registration
> class(dcr)[1] and .And yeah for the time been proposed a solution on Token
> generation task [2].
>
> [1] https://github.com/wso2/carbon-apimgt/blob/master/
> components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/
> src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/
> RegistrationServiceImpl.java#L12
> <https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java#L126>
>
> [2] http://gsocproposal8.blogspot.com/2017/02/task-4-key-
> generation-solution-proposed.html
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-03-06 Thread Ayeshmantha Perera
Hi All

Went through the basic key concepts of the WSO2 API Manager and went
through the token generation Documentation And the specification doc of
OAuth 2  protocol to get more idea on how it will be used in the task on
token generation.And went through the code of Dynamic client registration
class(dcr)[1] and .And yeah for the time been proposed a solution on Token
generation task [2].

[1]
https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java#L12


[2] http://gsocproposal8.blogspot.com/2017/02/task-4-
key-generation-solution-proposed.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] GSoC 2017 - Proposal 8: CLI tool for WSO2 API Manager

2017-02-28 Thread Ayeshmantha Perera
Hi All,

I'm Ayeshmantha Perera, from Sri Lanka Institute of Information Technology,
currently studying in the final (4th) year specializing in Software
Engineering.

I am interested in taking part in GSoC 2017 with WSO2 and and hope to apply
for the CLI tool on API Manager.

I have been following up the work done by the API Manager team of WSO2 and
went through the webinars that was handled by WSO2 API Manager team.

I have experienced  working on WSO2 API Manager in my previous working
experience as an Intern.And I'm experienced on WSO2 ESB and Also the WSO2
Data analytics server also.

Other than the experience on the products I have experience on working with
Go lang ,Java EE ,Maven,Git,OAuth2 protocol,JAX-RS,Spring ,Hibernater.And I
have 1 year experience on Node.js development, with Meanstack 1 and
Meanstack 2 and Also With React , Redux , Reactive Programming and Android,
Cross platform(React native ,Native Base.IO , Native Script , Ionic 2 ) And
also I have more than 2 year experience on working with .Net(Web pages ,
MVC , WEB API).
And also have experience with working on Azure , AWS also

And I'm getting familiar with SSO enabling that have been mentioned on the
subscription task.

For now I have wrote a blog on what I have done and also I have proposed my
solution for two tasks and also how to up and run with the product(Blog
URL:- http://gsocproposal8.blogspot.com/)


Considering above, I appreciate if you can guide me for getting started
with the project.

[1] [WSO2 Webinar : Introducing WSO2 API Manager for Complete API
Management]
https://www.youtube.com/watch?v=UcqW8o7I86Q

[2][WSO2Con USA 2015 : Extending and Customizing WSO2 API Manager]
https://www.youtube.com/watch?v=39bn6UL2R6I

Best Regards
Ayeshmantha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev