Removes mailto to conform to spring patterns
This commit is contained in:
@@ -41,7 +41,7 @@ import static org.hamcrest.core.Is.is;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
|
||||
|
||||
@@ -45,7 +45,7 @@ import static org.junit.Assert.assertNotNull;
|
||||
import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.*;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
public class ConfigMapsTest {
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.cloud.kubernetes.config.example.App;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
|
||||
|
||||
@@ -39,7 +39,7 @@ import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.cloud.kubernetes.config.example2.ExampleApp;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = ExampleApp.class,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
package org.springframework.cloud.kubernetes.config.example;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
public class Greeting {
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RestController
|
||||
public class GreetingController {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
/**
|
||||
* Greeting service controller.
|
||||
*
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RestController
|
||||
public class GreetingController {
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.web.client.RestTemplate;
|
||||
/**
|
||||
* Entry point to the application.
|
||||
*
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableDiscoveryClient
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.web.client.RestTemplate;
|
||||
/**
|
||||
* Service invoking name-service via REST and guarded by Hystrix.
|
||||
*
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@Service
|
||||
public class NameService {
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
/**
|
||||
* Name service controller.
|
||||
*
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RestController
|
||||
public class NameController {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
/**
|
||||
* Entry point to the application.
|
||||
*
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@SpringBootApplication
|
||||
public class NameServiceApplication {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package org.springframework.cloud.kubernetes.leader;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
public class Leader {
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.integration.leader.event.DefaultLeaderEventPublisher;
|
||||
import org.springframework.integration.leader.event.LeaderEventPublisher;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@Configuration
|
||||
@EnableConfigurationProperties(LeaderProperties.class)
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.integration.leader.Candidate;
|
||||
import org.springframework.integration.leader.Context;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
public class LeaderContext implements Context {
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.context.SmartLifecycle;
|
||||
import org.springframework.integration.leader.Candidate;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
public class LeaderInitiator implements SmartLifecycle {
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import io.fabric8.kubernetes.api.model.Pod;
|
||||
import io.fabric8.kubernetes.client.KubernetesClient;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
public class LeaderKubernetesHelper {
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.Map;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@ConfigurationProperties("spring.cloud.kubernetes.leader")
|
||||
public class LeaderProperties {
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.integration.leader.Context;
|
||||
import org.springframework.integration.leader.event.LeaderEventPublisher;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
public class LeadershipController {
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import static org.mockito.BDDMockito.given;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class LeaderContextTest {
|
||||
|
||||
@@ -19,7 +19,7 @@ import static org.mockito.Mockito.times;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class LeaderInitiatorTest {
|
||||
|
||||
@@ -32,7 +32,7 @@ import static org.mockito.BDDMockito.given;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class LeaderKubernetesHelperTest {
|
||||
|
||||
@@ -11,7 +11,7 @@ import static org.mockito.BDDMockito.given;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class LeaderTest {
|
||||
|
||||
@@ -23,7 +23,7 @@ import static org.mockito.Mockito.times;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
|
||||
* @author Gytis Trikleris
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class LeadershipControllerTest {
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.web.client.RestTemplate;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = TestApplication.class,
|
||||
|
||||
@@ -36,7 +36,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = TestApplication.class,
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:cmoullia@redhat.com">Charles Moulliard</a>
|
||||
* @author Charles Moulliard
|
||||
*/
|
||||
@EnableAutoConfiguration
|
||||
@SpringBootConfiguration
|
||||
|
||||
Reference in New Issue
Block a user