Renamed artifacts to have spring-cloud prefix

This commit is contained in:
Ramnivas Laddad
2014-05-13 17:53:57 -07:00
parent 133b44f9f9
commit 45f2803000
256 changed files with 34 additions and 34 deletions

View File

@@ -9,10 +9,10 @@ The core concepts used in this project are:
The project comprises of four subprojects:
1. **[core](core)**: Core library that is cloud agnostic and Spring agnostic. Provides entry point for application developers that choose to programmatically access cloud services and application information. It also provides an extension mechanism to contribute cloud connectors and service connector creators.
2. **[spring-service-connector](spring-service-connector)**: Library that provides service connectors creators for javax.sql.DataSource and various connection factories spring-data projects.
3. **[cloudfoundry-connector](cloudfoundry-connector)**: Cloud connector for [Cloud Foundry](http://www.cloudfoundry.com).
4. **[heroku-connector](heroku-connector)**: Cloud connector for [Heroku](http://www.heroku.com).
1. **[core](spring-cloud-core)**: Core library that is cloud agnostic and Spring agnostic. Provides entry point for application developers that choose to programmatically access cloud services and application information. It also provides an extension mechanism to contribute cloud connectors and service connector creators.
2. **[spring-service-connector](spring-cloud-spring-service-connector)**: Library that provides service connectors creators for javax.sql.DataSource and various connection factories spring-data projects.
3. **[cloudfoundry-connector](spring-cloud-cloudfoundry-connector)**: Cloud connector for [Cloud Foundry](http://www.cloudfoundry.com).
4. **[heroku-connector](spring-cloud-heroku-connector)**: Cloud connector for [Heroku](http://www.heroku.com).
Getting Started
===============
@@ -30,7 +30,7 @@ Add the Spring Maven repository to your pom.xml
Spring apps
-----------
Add the [`spring-service-connector`](spring-service-connector) and one or more cloud connectors dependencies (it is okay to add more that one cloud connectors):
Add the [`spring-service-connector`](spring-cloud-spring-service-connector) and one or more cloud connectors dependencies (it is okay to add more that one cloud connectors):
<dependency>
<groupId>org.springframework.cloud</groupId>
@@ -50,7 +50,7 @@ Add the [`spring-service-connector`](spring-service-connector) and one or more c
<version>0.9.2</version>
</dependency>
Then follow instructions on [how you use the Java config and `<cloud>` namespace](spring-service-connector). You can also follow the [instructions](core) on using the core API directly.
Then follow instructions on [how you use the Java config and `<cloud>` namespace](spring-cloud-spring-service-connector). You can also follow the [instructions](spring-cloud-core) on using the core API directly.
Non-spring apps
---------------
@@ -74,4 +74,4 @@ Add the [`core`](core) and one or more cloud connectors dependencies (it is okay
<version>0.9.2</version>
</dependency>
Then follow the [instructions](core) on using spring-cloud API.
Then follow the [instructions](spring-cloud-core) on using spring-cloud API.

View File

@@ -1,7 +0,0 @@
description = 'Spring-Cloud Cloud Foundry User-provided Connector'
dependencies {
compile project(':cloudfoundry-connector')
testCompile project(path: ':cloudfoundry-connector', configuration: 'tests')
}

View File

@@ -1,2 +1,2 @@
version=0.9.11.BUILD-SNAPSHOT
version=0.9.12.BUILD-SNAPSHOT
group=org.springframework.cloud

View File

@@ -1,7 +1,7 @@
rootProject.name = "spring-cloud"
include 'core'
include 'cloudfoundry-connector'
include 'cloudfoundry-ups-connector'
include 'spring-service-connector'
include 'heroku-connector'
include "${rootProject.name}-core"
include "${rootProject.name}-cloudfoundry-connector"
include "${rootProject.name}-cloudfoundry-ups-connector"
include "${rootProject.name}-spring-service-connector"
include "${rootProject.name}-heroku-connector"

View File

@@ -7,11 +7,11 @@ Supporting additional services
------------------------------
The cloudfoundry-connector offers extending support for additional services
through the same [`ServiceLoader`](http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html)
mechanism used in the [core](../core) project.
It allows extending to new services without modifying the [cloudfoundry-connector](../cloudfoundry-connector)
mechanism used in the [core](../spring-cloud-core) project.
It allows extending to new services without modifying the [cloudfoundry-connector](../spring-cloud-cloudfoundry-connector)
itself. All you need to do is:
1. Create a new project declaring dependency of [cloudfoundry-connector](../cloudfoundry-connector).
1. Create a new project declaring dependency of [cloudfoundry-connector](../spring-cloud-cloudfoundry-connector).
2. Add one implementation of [`CloudFoundryServiceInfoCreator`](src/main/java/org/springframework/cloud/cloudfoundry/CloudFoundryServiceInfoCreator.java)
for each service type you wish to extend.
Along the way, you will, of course, add an implementation of [`ServiceInfo`](../core/main/java/org/springframework/cloud/service/ServiceInfo.java)

View File

@@ -13,7 +13,7 @@ apply plugin: 'shadow'
apply from: "publish-maven.gradle"
dependencies {
compile project(':core')
compile project(':spring-cloud-core')
compile("com.fasterxml.jackson.core:jackson-core:$jacksonVersion")
compile("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
}

View File

@@ -0,0 +1,7 @@
description = 'Spring-Cloud Cloud Foundry User-provided Connector'
dependencies {
compile project(':spring-cloud-cloudfoundry-connector')
testCompile project(path: ':spring-cloud-cloudfoundry-connector', configuration: 'tests')
}

View File

@@ -14,8 +14,8 @@ Usage pattern: Application Developers
=====================================
> **Note:** If you are using spring-cloud in a Spring application, you should consider using the
[Java config](../spring-service-connector#the-java-config) or the
[XML namespace support](../spring-service-connector#the-cloud-namespace) instead.
[Java config](../spring-cloud-spring-service-connector#the-java-config) or the
[XML namespace support](../spring-cloud-spring-service-connector#the-cloud-namespace) instead.
* Create a [`CloudFactory`](src/main/java/org/springframework/cloud/CloudFactory.java) instance.
Creation of a `CloudFactory` instance is a bit expensive, so caching such an instance is recommended.
@@ -33,7 +33,7 @@ Usage pattern: Application Developers
```
Note that you must have a `CloudConnector` implementation suitable
for the environment in which the application is being deployed in your classpath. For example, if you are
deploying the application in Cloud Foundry, you must add [cloudfoundry-connector](../cloudfoundry-connector)
deploying the application in Cloud Foundry, you must add [cloudfoundry-connector](../spring-cloud-cloudfoundry-connector)
in your classpath. If no suitable `CloudConnctor` is found, the `getCloud()` method will throw a `CloudException`.
* Use the `Cloud` instance to get access to application info, service infos, and create service
connectors.
@@ -54,15 +54,15 @@ A cloud provider may extends the functionality in two ways:
1. Add new [`CloudConnector`](src/main/java/org/springframework/cloud/CloudConnector.java)s to make
spring-cloud related libraries work with a new cloud.
See [cloudfoundry-connector](../cloudfoundry-connector)
or [heroku-connector](../heroku-connector) for an example.
See [cloudfoundry-connector](../spring-cloud-cloudfoundry-connector)
or [heroku-connector](../spring-cloud-heroku-connector) for an example.
This is done declaratively by adding connector classes to:
```
META-INF/services/org.springframework.cloud.CloudConnector
```
2. Add new [`ServiceConnectorCreator`](src/main/java/org/springframework/cloud/service/ServiceConnectorCreator.java)s
to allow creation of service connector objects.
See [spring-service-connector](../spring-service-connector) for an example.
See [spring-service-connector](../spring-cloud-spring-service-connector) for an example.
This is done declaratively by adding creator classes to:
```
META-INF/services/org.springframework.cloud.service.ServiceConnectorCreator

Some files were not shown because too many files have changed in this diff Show More