Skip to content

Commit

Permalink
Merge pull request riemann#685 from riemann/rc_name_src
Browse files Browse the repository at this point in the history
Renamed com.aphyr to io.riemann in Riemann core
  • Loading branch information
jamtur01 committed May 17, 2016
2 parents 4d4a64c + 96118ec commit 8b1e264
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGES.markdown
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Version 0.2.12

## Deprecations and API changes

- The `com.aphyr` namespace used by the Riemamn Java client has been
updated to `io.riemann`. The client is now updated in Riemann.

# Version 0.2.11

This update includes a variety of bug fixes and improvements. Also
Expand Down
2 changes: 1 addition & 1 deletion src/riemann/common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
definitions and codecs, some vector set ops, etc."
(:import [java.util Date]
(java.io InputStream)
[com.aphyr.riemann Proto$Query Proto$Event Proto$Msg]
[io.riemann.riemann Proto$Query Proto$Event Proto$Msg]
[java.net InetAddress])
(:require clj-time.core
clj-time.format
Expand Down
4 changes: 2 additions & 2 deletions src/riemann/transport.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
(java.util List)
(java.util.concurrent TimeUnit
Executors)
(com.aphyr.riemann Proto$Msg)
(io.riemann.riemann Proto$Msg)
(io.netty.channel ChannelInitializer
Channel
ChannelPipeline
Expand All @@ -38,7 +38,7 @@
(def ioutil-lock
"There's a bug in JDK 6, 7, and 8 which can cause a deadlock initializing
sse-server and netty concurrently; we serialize them with this lock.
https://github.com/aphyr/riemann/issues/617"
https://github.com/riemann/riemann/issues/617"
(Object.))

(defn ^DefaultChannelGroup channel-group
Expand Down
2 changes: 1 addition & 1 deletion test/riemann/client_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

(try
(is (thrown-with-msg?
com.aphyr.riemann.client.ServerError
io.riemann.riemann.client.ServerError
#"^mismatched input 'no' expecting \{<EOF>, 'or', 'and'\}$"
@(query client "oh no not again")))
(finally
Expand Down
2 changes: 1 addition & 1 deletion test/riemann/transport_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
; Works with valid config
(test-tcp-client client server)

(logging/suppress ["com.aphyr.riemann.client.TcpTransport"]
(logging/suppress ["io.riemann.riemann.client.TcpTransport"]
; Fails with mismatching client key/cert
(is (thrown? IOException
(test-tcp-client (assoc client :key (:key server))
Expand Down

0 comments on commit 8b1e264

Please sign in to comment.