Here is the error when I try to register some changes in my ClientApp


io.apiman.manager.api.rest.contract.exceptions.ActionException: Failed to register client.
at io.apiman.manager.api.rest.impl.util.ExceptionFactory.actionException(ExceptionFactory.java:331)
at io.apiman.manager.api.rest.impl.ActionResourceImpl.registerClient(ActionResourceImpl.java:427)
at io.apiman.manager.api.rest.impl.ActionResourceImpl.performAction(ActionResourceImpl.java:111)
at io.apiman.manager.api.rest.impl.ActionResourceImpl$Proxy$_$$_WeldClientProxy.performAction(Unknown Source)
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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
...
Caused by: io.apiman.gateway.engine.beans.exceptions.RegistrationException: API api-servico-dev not found in Organization homolog.
at io.apiman.gateway.engine.es.ESRegistry.validateContract(ESRegistry.java:159)
at io.apiman.gateway.engine.es.ESRegistry.validateClient(ESRegistry.java:139)
at io.apiman.gateway.engine.es.ESRegistry.registerClient(ESRegistry.java:108)
at io.apiman.gateway.engine.es.PollCachingESRegistry.registerClient(PollCachingESRegistry.java:114)
at io.apiman.gateway.engine.impl.SecureRegistryWrapper.registerClient(SecureRegistryWrapper.java:81)
at io.apiman.gateway.api.rest.impl.ClientResourceImpl.register(ClientResourceImpl.java:54)
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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
...

2017-06-02 11:30 GMT-03:00 Celso Agra <celso.agra@gmail.com>:
Thanks Marc and Eric!

The application works fine, but for some reason, I can't delete any API. Looks like there is no reference for them.

Is there some elasticsearch node in the Apiman?

2017-06-01 9:46 GMT-03:00 Marc Savy <marc.savy@redhat.com>:
+1. That's my expectation, also.

On 1 June 2017 at 13:03, Eric Wittmann <eric.wittmann@redhat.com> wrote:
I do not believe that there were any database changes between 1.2.8 and 1.30.  So I *think* you should be OK if you just upgrade the application and skip the export/import process (just point the new version to your existing database).  However, I would advise you to clone your database and give it a try first (on a test system), before doing anything in production.

-Eric


On Wed, May 31, 2017 at 4:45 PM, Celso Agra <celso.agra@gmail.com> wrote:
Hi all,

Sorry about that, but I'm concern to upgrade my apiman to a newest.
But I'd like to know if I upgrade from 1.2.8 to 1.3.0 is must needed to export and reimport all data from different versions.

Could I just change server and application without change anything in my database? just put the new wildfly running the apiman instance. Would be possible to do that?

PS.: My APIMan is running with a remote database and remote Keycloak.

Best Regards,

--
---
Celso Agra

_______________________________________________
Apiman-user mailing list
Apiman-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user



_______________________________________________
Apiman-user mailing list
Apiman-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user





--
---
Celso Agra



--
---
Celso Agra