From a95c9317dbc1e47aaeb4ed80a1f5768bdf9a6244 Mon Sep 17 00:00:00 2001 From: Maksym Ostroverkhov Date: Tue, 17 Jul 2018 17:55:29 +0300 Subject: [PATCH 1/2] Add licenses header to sources which lack it. --- .travis.yml | 16 ++++++++++++++++ AUTHORS | 3 +++ .../kotlin/io/rsocket/kotlin/ClientOptions.kt | 16 ++++++++++++++++ .../main/kotlin/io/rsocket/kotlin/Duration.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/InterceptorOptions.kt | 16 ++++++++++++++++ .../main/kotlin/io/rsocket/kotlin/KeepAlive.kt | 16 ++++++++++++++++ .../kotlin/io/rsocket/kotlin/KeepAliveData.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/KeepAliveOptions.kt | 16 ++++++++++++++++ .../kotlin/io/rsocket/kotlin/LeaseGranter.kt | 16 ++++++++++++++++ .../kotlin/io/rsocket/kotlin/LeaseOptions.kt | 16 ++++++++++++++++ .../kotlin/io/rsocket/kotlin/LeaseSupport.kt | 16 ++++++++++++++++ .../kotlin/io/rsocket/kotlin/LeaseWatcher.kt | 16 ++++++++++++++++ .../main/kotlin/io/rsocket/kotlin/MediaType.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/MediaTypeOptions.kt | 16 ++++++++++++++++ .../kotlin/io/rsocket/kotlin/RSocketOptions.kt | 16 ++++++++++++++++ .../exceptions/ChannelRequestException.kt | 16 ++++++++++++++++ .../exceptions/ConnectionCloseException.kt | 16 ++++++++++++++++ .../kotlin/exceptions/MissingLeaseException.kt | 16 ++++++++++++++++ .../kotlin/exceptions/RSocketException.kt | 16 ++++++++++++++++ .../exceptions/RejectedResumeException.kt | 16 ++++++++++++++++ .../kotlin/internal/ClientServiceHandler.kt | 16 ++++++++++++++++ .../kotlin/internal/EmptyKeepAliveData.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/internal/Exceptions.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/internal/FrameSender.kt | 16 ++++++++++++++++ .../rsocket/kotlin/internal/RejectingRSocket.kt | 16 ++++++++++++++++ .../internal/ServerContractInterceptor.kt | 16 ++++++++++++++++ .../kotlin/internal/ServerServiceHandler.kt | 16 ++++++++++++++++ .../rsocket/kotlin/internal/ServiceHandler.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/internal/SetupContents.kt | 16 ++++++++++++++++ .../rsocket/kotlin/internal/StreamReceiver.kt | 16 ++++++++++++++++ .../fragmentation/FragmentationInterceptor.kt | 16 ++++++++++++++++ .../internal/fragmentation/FramesReassembler.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/internal/frame/Utils.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseConnection.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseContext.kt | 16 ++++++++++++++++ .../internal/lease/LeaseEnablingInterceptor.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseFeature.kt | 16 ++++++++++++++++ .../internal/lease/LeaseGranterInterceptor.kt | 16 ++++++++++++++++ .../rsocket/kotlin/internal/lease/LeaseImpl.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseInterceptor.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseManager.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseRSocket.kt | 16 ++++++++++++++++ .../kotlin/util/DuplexConnectionProxy.kt | 16 ++++++++++++++++ .../test/kotlin/io/rsocket/kotlin/FrameTest.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/RSocketRequesterTest.kt | 1 - .../io/rsocket/kotlin/RSocketResponderTest.kt | 1 - .../kotlin/io/rsocket/kotlin/RSocketTest.kt | 1 - .../rsocket/kotlin/RequesterStreamWindowTest.kt | 16 ++++++++++++++++ .../rsocket/kotlin/ResponderStreamWindowTest.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/ServiceHandlerTest.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/frame/SetupFrameTest.kt | 16 ++++++++++++++++ .../kotlin/internal/ClientDemuxerTest.kt | 16 ++++++++++++++++ .../kotlin/internal/ConnectionDemuxerTest.kt | 1 - .../rsocket/kotlin/internal/FrameSenderTest.kt | 16 ++++++++++++++++ .../kotlin/internal/RejectingRSocketTest.kt | 16 ++++++++++++++++ .../kotlin/internal/ServerDemuxerTest.kt | 16 ++++++++++++++++ .../kotlin/internal/SetupContractTest.kt | 16 ++++++++++++++++ .../kotlin/internal/StreamReceiverTest.kt | 16 ++++++++++++++++ .../FragmentationDuplexConnectionTest.kt | 1 - .../internal/lease/LeaseConnectionTest.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseManagerTest.kt | 16 ++++++++++++++++ .../kotlin/internal/lease/LeaseRSocketTest.kt | 16 ++++++++++++++++ .../kotlin/test/util/LocalDuplexConnection.kt | 1 - .../io/rsocket/kotlin/test/util/MockRSocket.kt | 1 - .../kotlin/test/util/TestDuplexConnection.kt | 2 -- .../rsocket/kotlin/test/util/TestSubscriber.kt | 16 ++++++++++++++++ .../io/rsocket/kotlin/util/ExceptionsTest.kt | 16 ++++++++++++++++ rsocket-transport-netty/build.gradle | 16 ++++++++++++++++ .../io/rsocket/kotlin/transport/netty/Ext.kt | 16 ++++++++++++++++ rsocket-transport-okhttp/build.gradle | 16 ++++++++++++++++ .../okhttp/OkHttpWebSocketConnection.kt | 16 ++++++++++++++++ .../io/rsocket/transport/okhttp/OkWebsocket.kt | 16 ++++++++++++++++ .../client/OkhttpWebsocketClientTransport.kt | 16 ++++++++++++++++ test/build.gradle | 16 ++++++++++++++++ .../kotlin/test/InteractionsStressTest.kt | 17 ++++++++++++++++- .../kotlin/test/lease/LeaseServerTest.kt | 16 ++++++++++++++++ .../lease/example/LeaseClientServerExample.kt | 16 ++++++++++++++++ .../test/transport/ClientServerChannelTest.kt | 16 ++++++++++++++++ .../kotlin/test/transport/EndToEndTest.kt | 16 ++++++++++++++++ .../test/transport/NettyTcpEndToEndTest.kt | 16 ++++++++++++++++ .../transport/NettyWebsocketEndToEndTest.kt | 16 ++++++++++++++++ .../test/transport/OkHttpNettyEndToEndTest.kt | 17 ++++++++++++++++- 82 files changed, 1171 insertions(+), 11 deletions(-) create mode 100644 AUTHORS diff --git a/.travis.yml b/.travis.yml index 04c5addff..8cfe20aab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,19 @@ +# +# Copyright 2015-2018 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +--- language: java jdk: - oraclejdk8 diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 000000000..3a9e6975d --- /dev/null +++ b/AUTHORS @@ -0,0 +1,3 @@ +benjchristensen = Ben Christensen +mostroverkhov = Maksym Ostroverkhov +robertroeser = Robert Roeser \ No newline at end of file diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/ClientOptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/ClientOptions.kt index 8cd7d8076..b4dc64a02 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/ClientOptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/ClientOptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin class ClientOptions { diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/Duration.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/Duration.kt index 58dfbac88..0326ead97 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/Duration.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/Duration.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import java.util.concurrent.TimeUnit diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/InterceptorOptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/InterceptorOptions.kt index 8f9ef1e5e..396e1fc85 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/InterceptorOptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/InterceptorOptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.rsocket.kotlin.interceptors.DuplexConnectionInterceptor diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAlive.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAlive.kt index 465ddd81a..7de19e743 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAlive.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAlive.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin /** diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveData.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveData.kt index 2cbb68ffe..4fd185be8 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveData.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveData.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import java.nio.ByteBuffer diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveOptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveOptions.kt index 9027c3ebd..93a3acbed 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveOptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/KeepAliveOptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.rsocket.kotlin.internal.EmptyKeepAliveData diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseGranter.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseGranter.kt index 7664bb4af..bfa56458e 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseGranter.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseGranter.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.reactivex.Completable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseOptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseOptions.kt index 2628241d0..28f5575ba 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseOptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseOptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin /** diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseSupport.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseSupport.kt index 831dbb029..035b13d49 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseSupport.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseSupport.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.rsocket.kotlin.internal.lease.LeaseConnection diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseWatcher.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseWatcher.kt index c729a4f43..7d907ca8e 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseWatcher.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/LeaseWatcher.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.reactivex.Flowable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaType.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaType.kt index 3a112e16c..5c62a1079 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaType.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaType.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin interface MediaType { diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaTypeOptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaTypeOptions.kt index 5cdea5014..83deca5c9 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaTypeOptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/MediaTypeOptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin /** diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/RSocketOptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/RSocketOptions.kt index 2b699d6c0..cbfe7199c 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/RSocketOptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/RSocketOptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ChannelRequestException.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ChannelRequestException.kt index ede7ac4f7..94c750eaf 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ChannelRequestException.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ChannelRequestException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.exceptions class ChannelRequestException(message: String, cause: Throwable) diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ConnectionCloseException.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ConnectionCloseException.kt index 4eb97e851..83d7cab22 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ConnectionCloseException.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/ConnectionCloseException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.exceptions import io.rsocket.kotlin.internal.frame.ErrorFrameFlyweight diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/MissingLeaseException.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/MissingLeaseException.kt index 491406f76..55ea56e3c 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/MissingLeaseException.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/MissingLeaseException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.exceptions import io.rsocket.kotlin.Lease diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RSocketException.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RSocketException.kt index ecb355906..8f55e518e 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RSocketException.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RSocketException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.exceptions abstract class RSocketException : RuntimeException { diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RejectedResumeException.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RejectedResumeException.kt index 4e26a56bf..f000352eb 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RejectedResumeException.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/exceptions/RejectedResumeException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.exceptions import io.rsocket.kotlin.internal.frame.ErrorFrameFlyweight diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ClientServiceHandler.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ClientServiceHandler.kt index c86009161..3983ec9fa 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ClientServiceHandler.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ClientServiceHandler.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.netty.buffer.Unpooled diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/EmptyKeepAliveData.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/EmptyKeepAliveData.kt index 95bced4a2..281008bf4 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/EmptyKeepAliveData.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/EmptyKeepAliveData.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.rsocket.kotlin.KeepAliveData diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/Exceptions.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/Exceptions.kt index d09562e80..10054ef69 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/Exceptions.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/Exceptions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.rsocket.kotlin.Frame diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/FrameSender.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/FrameSender.kt index aa29f891d..d4e2cf756 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/FrameSender.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/FrameSender.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Flowable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/RejectingRSocket.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/RejectingRSocket.kt index 552fdc117..5fa739581 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/RejectingRSocket.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/RejectingRSocket.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Single diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerContractInterceptor.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerContractInterceptor.kt index b6c2326ff..0989756ee 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerContractInterceptor.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerContractInterceptor.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Flowable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerServiceHandler.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerServiceHandler.kt index f4e4143c6..fc278aed3 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerServiceHandler.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServerServiceHandler.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.netty.buffer.Unpooled diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServiceHandler.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServiceHandler.kt index 1204b6995..a5c071ee3 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServiceHandler.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/ServiceHandler.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.processors.UnicastProcessor diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/SetupContents.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/SetupContents.kt index ad69eae32..7ca79086f 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/SetupContents.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/SetupContents.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.rsocket.kotlin.* diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/StreamReceiver.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/StreamReceiver.kt index f82f79b6c..08e8ced57 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/StreamReceiver.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/StreamReceiver.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Flowable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationInterceptor.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationInterceptor.kt index 735088276..a0d60f746 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationInterceptor.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationInterceptor.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.fragmentation import io.rsocket.kotlin.DuplexConnection diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FramesReassembler.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FramesReassembler.kt index 27d5db231..84377306b 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FramesReassembler.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/fragmentation/FramesReassembler.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.fragmentation import io.reactivex.Flowable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/frame/Utils.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/frame/Utils.kt index b941ee740..14d590550 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/frame/Utils.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/frame/Utils.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.frame internal object Utils { diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnection.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnection.kt index fcc3bf6b0..c0fbb1d8b 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnection.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnection.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.netty.buffer.Unpooled diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseContext.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseContext.kt index 9f73e5445..28a714265 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseContext.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseContext.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease /** State shared by Lease related interceptors */ diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseEnablingInterceptor.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseEnablingInterceptor.kt index 5ec3d39ea..a775d1f77 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseEnablingInterceptor.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseEnablingInterceptor.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.reactivex.Flowable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseFeature.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseFeature.kt index cfb8fcfa6..929246c8a 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseFeature.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseFeature.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.rsocket.kotlin.LeaseSupport diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseGranterInterceptor.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseGranterInterceptor.kt index 6c8955f8d..153ba4d5f 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseGranterInterceptor.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseGranterInterceptor.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.rsocket.kotlin.DuplexConnection diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseImpl.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseImpl.kt index 2e7017d9b..7c5662ca4 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseImpl.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseImpl.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.rsocket.kotlin.Lease diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseInterceptor.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseInterceptor.kt index de2b538ab..c5153d49d 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseInterceptor.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseInterceptor.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.rsocket.kotlin.RSocket diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseManager.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseManager.kt index 9cfee06f9..2f91b9163 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseManager.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseManager.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.rsocket.kotlin.Lease diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocket.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocket.kt index 3c4acff63..5d5fc1822 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocket.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocket.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.reactivex.Completable diff --git a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/util/DuplexConnectionProxy.kt b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/util/DuplexConnectionProxy.kt index 9fbdeb3ec..9484e44b4 100644 --- a/rsocket-core/src/main/kotlin/io/rsocket/kotlin/util/DuplexConnectionProxy.kt +++ b/rsocket-core/src/main/kotlin/io/rsocket/kotlin/util/DuplexConnectionProxy.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.util import io.rsocket.kotlin.DuplexConnection diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/FrameTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/FrameTest.kt index 9b87d2f7d..7ba644b7c 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/FrameTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/FrameTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import org.junit.Assert.assertEquals diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketRequesterTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketRequesterTest.kt index 87afb961f..4ce151d96 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketRequesterTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketRequesterTest.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketResponderTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketResponderTest.kt index ee95a26ba..ccb88bd59 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketResponderTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketResponderTest.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketTest.kt index b12623324..3094f36d9 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RSocketTest.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin import io.reactivex.Flowable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RequesterStreamWindowTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RequesterStreamWindowTest.kt index 2741c0ce0..8dfa134ae 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RequesterStreamWindowTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/RequesterStreamWindowTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.reactivex.Flowable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ResponderStreamWindowTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ResponderStreamWindowTest.kt index 626aae296..cb3aab03b 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ResponderStreamWindowTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ResponderStreamWindowTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ServiceHandlerTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ServiceHandlerTest.kt index aea9cb6fd..ba80b54de 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ServiceHandlerTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/ServiceHandlerTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin import io.netty.buffer.Unpooled diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/frame/SetupFrameTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/frame/SetupFrameTest.kt index 96432a743..fee4a7a7c 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/frame/SetupFrameTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/frame/SetupFrameTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.frame import io.rsocket.kotlin.DefaultPayload diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ClientDemuxerTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ClientDemuxerTest.kt index 547c5658d..e4dcc999a 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ClientDemuxerTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ClientDemuxerTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.rsocket.kotlin.DuplexConnection diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ConnectionDemuxerTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ConnectionDemuxerTest.kt index 696b4c15c..290811394 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ConnectionDemuxerTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ConnectionDemuxerTest.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin.internal import io.netty.buffer.Unpooled.EMPTY_BUFFER diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/FrameSenderTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/FrameSenderTest.kt index cf5361973..2bd1cb60f 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/FrameSenderTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/FrameSenderTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Flowable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/RejectingRSocketTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/RejectingRSocketTest.kt index 95dc873f3..47c611801 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/RejectingRSocketTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/RejectingRSocketTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Single diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ServerDemuxerTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ServerDemuxerTest.kt index 2e16188c7..bf98a232e 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ServerDemuxerTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/ServerDemuxerTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.rsocket.kotlin.DuplexConnection diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/SetupContractTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/SetupContractTest.kt index af7a6135f..dc523fb1d 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/SetupContractTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/SetupContractTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.processors.ReplayProcessor diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/StreamReceiverTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/StreamReceiverTest.kt index 29d4509ba..cf5695ec9 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/StreamReceiverTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/StreamReceiverTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal import io.reactivex.Flowable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationDuplexConnectionTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationDuplexConnectionTest.kt index 45084ae97..bad3894b1 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationDuplexConnectionTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/fragmentation/FragmentationDuplexConnectionTest.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin.internal.fragmentation import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnectionTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnectionTest.kt index 10c328240..5eb2a2c92 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnectionTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseConnectionTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.netty.buffer.Unpooled diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseManagerTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseManagerTest.kt index 5aa0ab38e..89f1c837b 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseManagerTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseManagerTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocketTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocketTest.kt index eba3f7266..a0f63a358 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocketTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/internal/lease/LeaseRSocketTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.internal.lease import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/LocalDuplexConnection.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/LocalDuplexConnection.kt index 8d6c7697b..af3217779 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/LocalDuplexConnection.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/LocalDuplexConnection.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin.test.util import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/MockRSocket.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/MockRSocket.kt index c75bc3d5e..6562a9a8e 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/MockRSocket.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/MockRSocket.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin.test.util import io.reactivex.Completable diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestDuplexConnection.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestDuplexConnection.kt index 0ceaa465e..03d02decc 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestDuplexConnection.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestDuplexConnection.kt @@ -14,7 +14,6 @@ * limitations under the License. */ - package io.rsocket.kotlin.test.util import io.reactivex.Completable @@ -33,7 +32,6 @@ import org.slf4j.LoggerFactory * An implementation of [DuplexConnection] that provides functionality to modify the behavior * dynamically. */ - class TestDuplexConnection : DuplexConnection { internal val sent: LinkedBlockingQueue = LinkedBlockingQueue() diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestSubscriber.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestSubscriber.kt index e0dd79904..e7d5c509b 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestSubscriber.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/test/util/TestSubscriber.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.util import org.mockito.ArgumentMatchers.any diff --git a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/util/ExceptionsTest.kt b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/util/ExceptionsTest.kt index c95ef54ad..837faad36 100644 --- a/rsocket-core/src/test/kotlin/io/rsocket/kotlin/util/ExceptionsTest.kt +++ b/rsocket-core/src/test/kotlin/io/rsocket/kotlin/util/ExceptionsTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.util import io.rsocket.kotlin.internal.Exceptions.noStacktrace diff --git a/rsocket-transport-netty/build.gradle b/rsocket-transport-netty/build.gradle index 3dadb3de0..45587a625 100644 --- a/rsocket-transport-netty/build.gradle +++ b/rsocket-transport-netty/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + apply plugin: 'com.jfrog.bintray' apply plugin: 'com.jfrog.artifactory' diff --git a/rsocket-transport-netty/src/main/kotlin/io/rsocket/kotlin/transport/netty/Ext.kt b/rsocket-transport-netty/src/main/kotlin/io/rsocket/kotlin/transport/netty/Ext.kt index 532c54608..5e49d8a7d 100644 --- a/rsocket-transport-netty/src/main/kotlin/io/rsocket/kotlin/transport/netty/Ext.kt +++ b/rsocket-transport-netty/src/main/kotlin/io/rsocket/kotlin/transport/netty/Ext.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.transport.netty import io.reactivex.Completable diff --git a/rsocket-transport-okhttp/build.gradle b/rsocket-transport-okhttp/build.gradle index 22efb06e2..65b6e7607 100644 --- a/rsocket-transport-okhttp/build.gradle +++ b/rsocket-transport-okhttp/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + apply plugin: 'com.jfrog.bintray' apply plugin: 'com.jfrog.artifactory' diff --git a/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkHttpWebSocketConnection.kt b/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkHttpWebSocketConnection.kt index 303b61a6f..25f7cbce1 100644 --- a/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkHttpWebSocketConnection.kt +++ b/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkHttpWebSocketConnection.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.transport.okhttp import io.reactivex.Flowable diff --git a/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkWebsocket.kt b/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkWebsocket.kt index ff36a4da8..3ca48e9e6 100644 --- a/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkWebsocket.kt +++ b/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/OkWebsocket.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.transport.okhttp import io.netty.buffer.ByteBuf diff --git a/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/client/OkhttpWebsocketClientTransport.kt b/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/client/OkhttpWebsocketClientTransport.kt index 2047b0bdd..0339c43ae 100644 --- a/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/client/OkhttpWebsocketClientTransport.kt +++ b/rsocket-transport-okhttp/src/main/kotlin/io/rsocket/transport/okhttp/client/OkhttpWebsocketClientTransport.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.transport.okhttp.client import io.rsocket.transport.okhttp.OkWebsocket diff --git a/test/build.gradle b/test/build.gradle index fcef260c5..a7893ab89 100644 --- a/test/build.gradle +++ b/test/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + dependencies { testImplementation project(":rsocket-transport-okhttp") testImplementation project(":rsocket-transport-netty") diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/InteractionsStressTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/InteractionsStressTest.kt index 7de84f914..c424b62c5 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/InteractionsStressTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/InteractionsStressTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test import io.reactivex.Flowable @@ -18,7 +34,6 @@ import org.reactivestreams.Publisher import java.net.InetSocketAddress import java.util.concurrent.TimeUnit - class InteractionsStressTest { private lateinit var server: NettyContextCloseable private lateinit var client: RSocket diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/lease/LeaseServerTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/lease/LeaseServerTest.kt index be978cbbe..4c58061b9 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/lease/LeaseServerTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/lease/LeaseServerTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.lease import io.reactivex.Flowable diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/lease/example/LeaseClientServerExample.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/lease/example/LeaseClientServerExample.kt index e1626dadd..a22ba4127 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/lease/example/LeaseClientServerExample.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/lease/example/LeaseClientServerExample.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.lease.example import io.reactivex.Flowable diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/ClientServerChannelTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/ClientServerChannelTest.kt index dfa95a816..d35c165e8 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/ClientServerChannelTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/ClientServerChannelTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.transport import io.reactivex.Flowable diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/EndToEndTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/EndToEndTest.kt index 03e640e69..1ff594636 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/EndToEndTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/EndToEndTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.transport import io.reactivex.Completable diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyTcpEndToEndTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyTcpEndToEndTest.kt index c80856fa9..7e316a5c0 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyTcpEndToEndTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyTcpEndToEndTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.transport import io.rsocket.kotlin.transport.netty.client.TcpClientTransport diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyWebsocketEndToEndTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyWebsocketEndToEndTest.kt index 218b36a58..449a4e24f 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyWebsocketEndToEndTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/NettyWebsocketEndToEndTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.transport import io.rsocket.kotlin.transport.netty.client.WebsocketClientTransport diff --git a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/OkHttpNettyEndToEndTest.kt b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/OkHttpNettyEndToEndTest.kt index c1817e12a..38f89a265 100644 --- a/test/src/test/kotlin/io/rsocket/kotlin/test/transport/OkHttpNettyEndToEndTest.kt +++ b/test/src/test/kotlin/io/rsocket/kotlin/test/transport/OkHttpNettyEndToEndTest.kt @@ -1,6 +1,21 @@ +/* + * Copyright 2015-2018 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.rsocket.kotlin.test.transport -import io.rsocket.kotlin.test.transport.EndToEndTest import io.rsocket.kotlin.transport.netty.server.WebsocketServerTransport import io.rsocket.transport.okhttp.client.OkhttpWebsocketClientTransport import okhttp3.HttpUrl From fc6bf09e19e6cc1304b04387535590d8cd627865 Mon Sep 17 00:00:00 2001 From: Maksym Ostroverkhov Date: Tue, 17 Jul 2018 21:06:27 +0300 Subject: [PATCH 2/2] pom and artifacts match central repository requirements --- build.gradle | 63 ++++++++++++++++++++++----- gradle.properties | 2 +- rsocket-core/build.gradle | 2 + rsocket-transport-netty/build.gradle | 6 ++- rsocket-transport-okhttp/build.gradle | 4 +- 5 files changed, 62 insertions(+), 15 deletions(-) diff --git a/build.gradle b/build.gradle index 5e14223e7..74ecb44e4 100644 --- a/build.gradle +++ b/build.gradle @@ -27,9 +27,6 @@ subprojects { apply plugin: 'kotlin' apply plugin: 'maven-publish' - group = 'io.rsocket.kotlin' - version = '0.9-SNAPSHOT' - test { testLogging { events "failed" @@ -69,17 +66,59 @@ subprojects { testImplementation "org.slf4j:slf4j-log4j12:1.7.25" } - publishing { - publications { - maven(MavenPublication) { - from components.java + plugins.withType(MavenPublishPlugin) { + publishing { + publications { + maven(MavenPublication) { + groupId 'io.rsocket.kotlin' - artifact sourcesJar { - classifier "sources" - } + from components.java + + artifact sourcesJar { + classifier "sources" + } - artifact javadocJar { - classifier "javadoc" + artifact javadocJar { + classifier "javadoc" + } + + pom.withXml { + asNode().':version' + { + resolveStrategy = DELEGATE_FIRST + + name project.name + description project.description + url 'http://rsocket.io' + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/license/LICENSE-2.0.txt' + } + } + + developers { + + developer { + id 'mostroverkhov' + name 'Maksym Ostroverkhov' + email 'm.ostroverkhov@gmail.com' + } + + developer { + id 'robertroeser' + name 'Robert Roeser' + email 'robert@netifi.com' + } + } + + scm { + connection 'scm:git:https://github.com/rsocket/rsocket-kotlin.git' + developerConnection 'scm:git:https://github.com/rsocket/rsocket-kotlin.git' + url 'https://github.com/rsocket/rsocket-kotlin' + } + } + } } } } diff --git a/gradle.properties b/gradle.properties index 4dfb0d399..e67d7389b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ # release.scope=patch -release.version=0.9-SNAPSHOT +version=0.9-SNAPSHOT org.gradle.parallel=false org.gradle.configureondemand=false diff --git a/rsocket-core/build.gradle b/rsocket-core/build.gradle index 53f20d79d..455f9354f 100644 --- a/rsocket-core/build.gradle +++ b/rsocket-core/build.gradle @@ -25,3 +25,5 @@ compileKotlin { compileTestKotlin { kotlinOptions.jvmTarget = "1.6" } + +description = "Core functionality for the RSocket-kotlin library" \ No newline at end of file diff --git a/rsocket-transport-netty/build.gradle b/rsocket-transport-netty/build.gradle index 45587a625..421963739 100644 --- a/rsocket-transport-netty/build.gradle +++ b/rsocket-transport-netty/build.gradle @@ -26,4 +26,8 @@ compileKotlin { } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" -} \ No newline at end of file +} + +sourceCompatibility = 1.8 + +description = "Websockets and TCP transport based on reactor-netty" \ No newline at end of file diff --git a/rsocket-transport-okhttp/build.gradle b/rsocket-transport-okhttp/build.gradle index 65b6e7607..2e5ffb447 100644 --- a/rsocket-transport-okhttp/build.gradle +++ b/rsocket-transport-okhttp/build.gradle @@ -27,4 +27,6 @@ compileKotlin { } compileTestKotlin { kotlinOptions.jvmTarget = "1.6" -} \ No newline at end of file +} + +description = "Websockets transport based on OkHttp" \ No newline at end of file