1. Added an API to generate a real time stream returning numbers. 2. Added Test case to consume that API with a webTestClient. 3. Added a client to consume that API, over the network.
17 lines
392 B
Java
17 lines
392 B
Java
package com.springwebflux.sample;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
/**
|
|
* @author ranjeetkaur
|
|
*
|
|
*/
|
|
@SpringBootApplication(scanBasePackages = "com.springwebflux.*")
|
|
public class Application {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(Application.class, args);
|
|
}
|
|
} |