Обновлен фронтенд
This commit is contained in:
2
frontend
2
frontend
Submodule frontend updated: a8e75766a1...c3f8cb0091
@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.event.EventListener;
|
import org.springframework.context.event.EventListener;
|
||||||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
import org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent;
|
import org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent;
|
||||||
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
|
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
|
||||||
@@ -34,6 +35,7 @@ import java.net.UnknownHostException;
|
|||||||
@EnableWebSecurity
|
@EnableWebSecurity
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@EnableWebSocket
|
@EnableWebSocket
|
||||||
|
@EnableAsync
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class ApplicationConfiguration extends WebSecurityConfigurerAdapter implements WebSocketConfigurer {
|
public class ApplicationConfiguration extends WebSecurityConfigurerAdapter implements WebSocketConfigurer {
|
||||||
|
|
||||||
|
|||||||
@@ -125,6 +125,7 @@ public class StreamService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Async
|
@Async
|
||||||
|
@Transactional
|
||||||
public void processLookbackPattern(Pattern pattern, long start, long end) {
|
public void processLookbackPattern(Pattern pattern, long start, long end) {
|
||||||
List<Stream> streams = findAllBetweenTimestamps(start, end);
|
List<Stream> streams = findAllBetweenTimestamps(start, end);
|
||||||
|
|
||||||
@@ -237,7 +238,6 @@ public class StreamService {
|
|||||||
return repository.findById(id);
|
return repository.findById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("UnusedReturnValue")
|
|
||||||
@Transactional
|
@Transactional
|
||||||
public void setFavorite(long id, boolean favorite) {
|
public void setFavorite(long id, boolean favorite) {
|
||||||
repository.setFavorite(id, favorite);
|
repository.setFavorite(id, favorite);
|
||||||
|
|||||||
Reference in New Issue
Block a user