Skip to content

Commit

Permalink
Merge pull request #4172 from omnipresent07/websockets-new
Browse files Browse the repository at this point in the history
Add verbose websockets to the filing api
  • Loading branch information
PatrickGoRaft authored Aug 16, 2021
2 parents 6156553 + 16589b4 commit 6aac597
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 2 deletions.
1 change: 1 addition & 0 deletions hmda/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ akka {

http.server.parsing.max-content-length = 2G
http.server.default-host-header = "cfpb.gov"
http.server.websocket.periodic-keep-alive-max-idle = 1 second

discovery.method = akka-dns
io.dns.resolver = async-dns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ object HmdaValidationError
blockingEc,
timeout
)
_ = tracker ! ValidationDelta(ValidationType.Syntactical, InProgress(50))
_ = tracker ! ValidationDelta(ValidationType.Quality, InProgress(50))
_ = log.info(s"Finished ValidateLar Quality for $submissionId")
_ = log.info(s"Started validateAsyncLar - Quality for $submissionId")
larAsyncErrorsQuality <- validateAsyncLar("quality", submissionId)
.runWith(Sink.ignore)
_ = log.info(s"Finished ValidateAsyncLar Quality for $submissionId")
_ = tracker ! ValidationDelta(ValidationType.Syntactical, InProgress(99))
_ = tracker ! ValidationDelta(ValidationType.Quality, InProgress(99))
} yield (larErrors, larAsyncErrorsQuality)

fQuality.onComplete {
Expand Down
8 changes: 8 additions & 0 deletions kubernetes/beta/config-maps/cass-operator-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: cassandra-configmap
data:
cassandra-hosts: cluster1-dc1-service.cass-operator
cassandra-keyspace: hmda2_journal_beta
cassandra-keyspace-snapshot: hmda2_snapshot_beta
6 changes: 6 additions & 0 deletions kubernetes/beta/config-maps/strimzi-kafka-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kafka-configmap
data:
kafka.hosts: 'strimzi-cluster-kafka-bootstrap.strimzi:9092'
8 changes: 8 additions & 0 deletions kubernetes/config-maps/cass-operator-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: cassandra-configmap
data:
cassandra-hosts: cluster1-dc1-service.cass-operator
cassandra-keyspace: hmda2_journal
cassandra-keyspace-snapshot: hmda2_snapshot
6 changes: 6 additions & 0 deletions kubernetes/config-maps/strimzi-kafka-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kafka-configmap
data:
kafka.hosts: 'strimzi-cluster-kafka-bootstrap.strimzi:9092'

0 comments on commit 6aac597

Please sign in to comment.