Я добавляю подписку graphql в свое приложение springboot. Вся конфигурация выглядит хорошо, и сервер подходит. Query and Mutations работает отлично. Но в случае подписок graphiql выполняет ws://localhost:8080/subscriptions
и приводит к 404. Мое приложение Springboot имеет контекст, и, следовательно, я устанавливаю свойство graphql.servlet.subscriptions.websocket.path=/<<context>>/subscriptions
Но все равно оно вызывает ws://localhost:8080/subscriptions
.
Мой pom . xml
<groupId>com.graphql-java</groupId>
<artifactId>graphql-spring-boot-starter</artifactId>
<version>5.0.2</version>
</dependency>
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphiql-spring-boot-starter</artifactId>
<version>5.0.2</version>
</dependency>
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java-tools</artifactId>
<version>5.2.4</version>
</dependency>
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>2.2.17</version>
</dependency>