This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
'https://plantuml.com/sequence-diagram | |
participant Joystick | |
participant Robot | |
participant GameService | |
autonumber | |
EventBus --> Robot: CurrentTurnFinishedEvent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
'https://plantuml.com/sequence-diagram | |
autonumber | |
Joystick -> GameService: Start | |
GameService -> EventBus: GameCreatedEvent | |
EventBus --> Robot: GameCreatedEvent | |
Robot -> GameService: Join Computer Player | |
GameService -> EventBus: GameStartedEvent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>anonotate-proto</id> | |
<phase>generate-sources</phase> | |
<configuration> | |
<target> | |
<replaceregexp match="public(.*) class" flags="g" replace="@javax.annotation.Generated("protoc") \0"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ir.amv.enterprise.laas.webapp.common.test.jwt | |
import com.github.tomakehurst.wiremock.WireMockServer | |
import com.github.tomakehurst.wiremock.client.WireMock.aResponse | |
import com.github.tomakehurst.wiremock.client.WireMock.get | |
import com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo | |
import com.github.tomakehurst.wiremock.core.WireMockConfiguration | |
import com.nimbusds.jose.JWSAlgorithm | |
import com.nimbusds.jose.JWSHeader | |
import com.nimbusds.jose.crypto.RSASSASigner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2019-2021 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* https://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2021 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* https://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ir.amv.enterprise.locorepo.common.gcp.adapter; | |
import com.google.cloud.spring.autoconfigure.firestore.FirestoreRepositoriesAutoConfiguration; | |
import com.google.cloud.spring.data.firestore.SimpleFirestoreReactiveRepository; | |
import com.google.cloud.spring.data.firestore.repository.support.FirestoreRepositoryFactoryBean; | |
import org.springframework.nativex.hint.AccessBits; | |
import org.springframework.nativex.hint.JdkProxyHint; | |
import org.springframework.nativex.hint.NativeHint; | |
import org.springframework.nativex.hint.TypeHint; | |
import org.springframework.nativex.type.NativeConfiguration; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ir.amv.os.test.helper; | |
import ch.qos.logback.classic.Logger; | |
import ch.qos.logback.classic.spi.ILoggingEvent; | |
import ch.qos.logback.classic.spi.LoggingEvent; | |
import ch.qos.logback.core.Appender; | |
import java.util.Optional; | |
import java.util.function.Supplier; | |
import java.util.stream.Stream; | |
import org.junit.jupiter.api.extension.AfterEachCallback; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ir.amv.os.vaseline.basics.spring.core.utils.async; | |
import ir.amv.os.vaseline.basics.core.api.utils.fn.ExceptionalFunction; | |
import org.springframework.util.concurrent.CompletableToListenableFutureAdapter; | |
import org.springframework.util.concurrent.ListenableFuture; | |
import org.springframework.util.concurrent.ListenableFutureAdapter; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.ExecutionException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ir.amv.enterprise.laas.webapp.utils.fn; | |
import lombok.Value; | |
import java.util.Comparator; | |
import java.util.Map; | |
import java.util.function.BiFunction; | |
import java.util.function.Function; | |
@Value |
NewerOlder