Update package names
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker;
|
||||
package org.springframework.cloud.cloudfoundry.broker;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.ArrayList;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker;
|
||||
package org.springframework.cloud.cloudfoundry.broker;
|
||||
|
||||
import org.cloudfoundry.community.servicebroker.model.ServiceInstanceBinding;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker;
|
||||
package org.springframework.cloud.cloudfoundry.broker;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.configuration;
|
||||
package org.springframework.cloud.cloudfoundry.broker.configuration;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@@ -25,7 +25,7 @@ import org.cloudfoundry.community.servicebroker.model.Catalog;
|
||||
import org.cloudfoundry.community.servicebroker.model.ServiceDefinition;
|
||||
import org.cloudfoundry.community.servicebroker.service.BeanCatalogService;
|
||||
import org.cloudfoundry.community.servicebroker.service.CatalogService;
|
||||
import org.springframework.platform.cloudfoundry.broker.FreeServiceDefinitionFactory;
|
||||
import org.springframework.cloud.cloudfoundry.broker.FreeServiceDefinitionFactory;
|
||||
|
||||
import com.netflix.appinfo.InstanceInfo;
|
||||
import com.netflix.appinfo.InstanceInfo.ActionType;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.configuration;
|
||||
package org.springframework.cloud.cloudfoundry.broker.configuration;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
@@ -41,15 +41,15 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.FilterType;
|
||||
import org.springframework.platform.cloudfoundry.broker.FreeServiceDefinitionFactory;
|
||||
import org.springframework.platform.cloudfoundry.broker.ServiceInstanceBindingRepository;
|
||||
import org.springframework.platform.cloudfoundry.broker.ServiceInstanceRepository;
|
||||
import org.springframework.platform.cloudfoundry.broker.simple.SimpleServiceInstanceBindingRepository;
|
||||
import org.springframework.platform.cloudfoundry.broker.simple.SimpleServiceInstanceBindingService;
|
||||
import org.springframework.platform.cloudfoundry.broker.simple.SimpleServiceInstanceRepository;
|
||||
import org.springframework.platform.cloudfoundry.broker.simple.SimpleServiceInstanceService;
|
||||
import org.springframework.platform.netflix.eureka.advice.PiggybackMethodInterceptor;
|
||||
import org.springframework.platform.netflix.eureka.event.EurekaRegistryAvailableEvent;
|
||||
import org.springframework.cloud.cloudfoundry.broker.FreeServiceDefinitionFactory;
|
||||
import org.springframework.cloud.cloudfoundry.broker.ServiceInstanceBindingRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.ServiceInstanceRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.simple.SimpleServiceInstanceBindingRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.simple.SimpleServiceInstanceBindingService;
|
||||
import org.springframework.cloud.cloudfoundry.broker.simple.SimpleServiceInstanceRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.simple.SimpleServiceInstanceService;
|
||||
import org.springframework.cloud.netflix.eureka.advice.PiggybackMethodInterceptor;
|
||||
import org.springframework.cloud.netflix.eureka.event.EurekaRegistryAvailableEvent;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.simple;
|
||||
package org.springframework.cloud.cloudfoundry.broker.simple;
|
||||
|
||||
import org.cloudfoundry.community.servicebroker.model.ServiceInstanceBinding;
|
||||
import org.springframework.platform.cloudfoundry.broker.ServiceInstanceBindingRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.ServiceInstanceBindingRepository;
|
||||
|
||||
/**
|
||||
* @author Dave Syer
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.simple;
|
||||
package org.springframework.cloud.cloudfoundry.broker.simple;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@@ -27,7 +27,7 @@ import org.cloudfoundry.community.servicebroker.service.CatalogService;
|
||||
import org.cloudfoundry.community.servicebroker.service.ServiceInstanceBindingService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.platform.cloudfoundry.broker.ServiceInstanceBindingRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.ServiceInstanceBindingRepository;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
@@ -13,13 +13,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.simple;
|
||||
package org.springframework.cloud.cloudfoundry.broker.simple;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.cloudfoundry.community.servicebroker.model.ServiceInstance;
|
||||
import org.springframework.platform.cloudfoundry.broker.ServiceInstanceRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.ServiceInstanceRepository;
|
||||
|
||||
/**
|
||||
* @author Dave Syer
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.simple;
|
||||
package org.springframework.cloud.cloudfoundry.broker.simple;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.cloudfoundry.community.servicebroker.model.ServiceDefinition;
|
||||
import org.cloudfoundry.community.servicebroker.model.ServiceInstance;
|
||||
import org.cloudfoundry.community.servicebroker.service.ServiceInstanceService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.platform.cloudfoundry.broker.ServiceInstanceRepository;
|
||||
import org.springframework.cloud.cloudfoundry.broker.ServiceInstanceRepository;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.proxy;
|
||||
package org.springframework.cloud.cloudfoundry.proxy;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.platform.cloudfoundry.proxy;
|
||||
package org.springframework.cloud.cloudfoundry.proxy;
|
||||
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.resource;
|
||||
package org.springframework.cloud.cloudfoundry.resource;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.resource;
|
||||
package org.springframework.cloud.cloudfoundry.resource;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.resource;
|
||||
package org.springframework.cloud.cloudfoundry.resource;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.sso;
|
||||
package org.springframework.cloud.cloudfoundry.sso;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Collections;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.sso;
|
||||
package org.springframework.cloud.cloudfoundry.sso;
|
||||
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.sso;
|
||||
package org.springframework.cloud.cloudfoundry.sso;
|
||||
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.sso;
|
||||
package org.springframework.cloud.cloudfoundry.sso;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.sso;
|
||||
package org.springframework.cloud.cloudfoundry.sso;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
@@ -1,3 +1,3 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.platform.cloudfoundry.broker.configuration.ServiceBrokerAutoConfiguration,\
|
||||
org.springframework.platform.cloudfoundry.proxy.CloudfoundryProxyConfiguration
|
||||
org.springframework.cloud.cloudfoundry.broker.configuration.ServiceBrokerAutoConfiguration,\
|
||||
org.springframework.cloud.cloudfoundry.proxy.CloudfoundryProxyConfiguration
|
||||
@@ -13,12 +13,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.sample;
|
||||
package org.springframework.cloud.cloudfoundry.broker.sample;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.platform.cloudfoundry.sso.EnableCloudfoundrySso;
|
||||
import org.springframework.cloud.cloudfoundry.sso.EnableCloudfoundrySso;
|
||||
|
||||
@Configuration
|
||||
@EnableAutoConfiguration
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.platform.cloudfoundry.broker.sample;
|
||||
package org.springframework.cloud.cloudfoundry.broker.sample;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
Reference in New Issue
Block a user