mulesoft-labs / spring-cloud-config-connector

Module to take advantage of spring cloud config in MuleESB
Other
4 stars 10 forks source link

Support for Anypoint 7.X #4

Open carlosvzla opened 6 years ago

carlosvzla commented 6 years ago

Hello, i'm trying to use the connector on anypoint 7.1 but i got this error:

Caused by: org.mule.runtime.api.exception.MuleRuntimeException: Error loading: spring-config-test.xml, The prefix "spring-cloud-config" for element "spring-cloud-config:config" is not bound. Caused by: org.xml.sax.SAXParseException: The prefix "spring-cloud-config" for element "spring-cloud-config:config" is not bound.

Added in pom.xml:

`

org.mule.modules
        <artifactId>spring-cloud-config-connector</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </dependency>`

Also i don't see it on global elements and if added in the xml like so: <spring-cloud-config:config name="Spring_Cloud_Config" applicationName="vuce-mule-esb" profiles="default" label="" configServerBaseUrl="http://localhost:8888/"/>

It is shown with the tag "Unknown" on global elements tab.

Am i doing something wrong or is just lack of support for anypoint 7.

Reggards.

krisunni commented 5 years ago

I ported the code and created a Mule 4 Extension. https://github.com/krisunni/spring-cloud-config-connector