kloudtek / anypoint-tools Goto Github PK
View Code? Open in Web Editor NEWREPOSITORY HAS MOVED - SEE README below
Home Page: https://gitlab.com/aeontronix/oss/anypoint-tools/
REPOSITORY HAS MOVED - SEE README below
Home Page: https://gitlab.com/aeontronix/oss/anypoint-tools/
The offset value in https://anypoint.mulesoft.com/apimanager/xapi/v1/organizations/f31b2b20-fdd0-4fe4-a5e2-2cb90d69c05d/apiSpecs?ascending=true&limit=50&offset=50&searchTerm=acme
needs to be set to '0' and not '50'.
We have a need to specify the same policy, but configure it differently depending on the endpoint. For example we may want to apply a JWT validation policy that enforces the scope claim for a specific endpoint, and then another JWT validation policy with a different scope claim for another endpoint.
Along the same lines, it'd be great if only the policies defined in anypoint.json are reflected in API manager (i.e. remove any policies not defined in code).
Hi! We're running into an issue while creating a client application, saying that the "other API" is not found. We believe the root cause of the issue is that the "Other API" is on another Organization and that the API list being checked during the provisioning process is tied to an org. We're able to manually add clients since the deploy user has access to APIs across all organizations.
Thanks so much for your help in resolving this ๐
wait for start fails if anypoint.deploy.name is missing, looks like he tries to find 'standalone-pom'
allow to specify API "tags"
Hi!
We have some policies that we would like to be ordered on API manager. As an example, first check IP whitelist, then check client id/secret. There's no current way to set the order on anypoint.json. Can you add this capability?
Thank you!
deployment might incorrectly fail/start if it gets previous app status when waiting for start
make all lib classes serializable
when the application is uploaded to anypoint and any transformation is applied, it's using the file name of the temporary file instead of the original file name
allow partial deployments of multiple apps, without returning an error and instead returning the list of deployed / failed apps
....................
[DEBUG] File is mule-application
[DEBUG] Searching for org LID
[DEBUG] HTTP GET /accounts/api/me
[DEBUG] HTTP POST /accounts/login data={password==, username=}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:25 min
[INFO] Finished at: 2018-11-07T08:47:37-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.kloudtek.anypoint-tools:anypoint-maven-plugin:0.9.37:hdeploy (deploy-arm) on project hello-world-ping-api: null: MojoExecutionException: RuntimeIOException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.kloudtek.anypoint-tools:anypoint-maven-plugin:0.9.37:hdeploy (deploy-arm) on project hello-world-ping-api: null
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException
at com.kloudtek.anypoint.AbstractDeployMojo.execute (AbstractDeployMojo.java:125)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: com.kloudtek.anypoint.util.HttpHelper$RuntimeIOException
at com.kloudtek.anypoint.util.HttpHelper.doExecute (HttpHelper.java:229)
at com.kloudtek.anypoint.util.HttpHelper.executeWrapper (HttpHelper.java:183)
at com.kloudtek.anypoint.util.HttpHelper.executeWrapper (HttpHelper.java:171)
at com.kloudtek.anypoint.util.HttpHelper.execute (HttpHelper.java:157)
at com.kloudtek.anypoint.util.HttpHelper.httpPost (HttpHelper.java:101)
at com.kloudtek.anypoint.AnypointClient.authenticate (AnypointClient.java:187)
at com.kloudtek.anypoint.util.HttpHelper.executeWrapper (HttpHelper.java:177)
at com.kloudtek.anypoint.util.HttpHelper.executeWrapper (HttpHelper.java:171)
at com.kloudtek.anypoint.util.HttpHelper.httpGet (HttpHelper.java:68)
at com.kloudtek.anypoint.AnypointClient.findOrganizations (AnypointClient.java:110)
at com.kloudtek.anypoint.AnypointClient.findOrganization (AnypointClient.java:120)
at com.kloudtek.anypoint.AbstractDeployMojo.execute (AbstractDeployMojo.java:111)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
allow to set variables w/ maven plugin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.