Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit fc80afc

Browse files
author
Robert Roeser
committed
Merge branch 'release/1.5.3'
2 parents c8e3bdf + 3428316 commit fc80afc

File tree

37 files changed

+1202
-340
lines changed

37 files changed

+1202
-340
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,8 @@ gradle-app.setting
9898
${sys:appHome}
9999

100100
*/logs/**
101+
102+
.classpath
103+
.project
104+
**/.settings/*
105+
**/bin/*

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ subprojects {
3434
apply plugin: 'maven-publish'
3535

3636
ext['reactor-bom.version'] = 'Californium-SR1'
37-
ext['rsocket.version'] = '0.11.12'
38-
ext['rsocket-rpc.version'] = '0.2.10'
37+
ext['rsocket.version'] = '0.11.15'
38+
ext['rsocket-rpc.version'] = '0.2.12'
3939

4040
ext['jackson.version'] = '2.9.7'
4141
ext['jackson-protobuf.version'] = '0.9.10-jackson2.9-proto3'
@@ -45,7 +45,7 @@ subprojects {
4545
ext['junit.version'] = '5.1.0'
4646
ext['mockito.version'] = '2.23.0'
4747
ext['hamcrest.version'] = '1.3'
48-
ext['jmh.version'] = '1.2.0'
48+
ext['jmh.version'] = '1.21'
4949
ext['micrometer.version'] = '1.0.6'
5050
ext['assertj.version'] = '3.11.1'
5151
ext['opentracing.version'] = '0.31.0'
@@ -61,11 +61,11 @@ subprojects {
6161
project.version += project.hasProperty('versionSuffix') ? project.property('versionSuffix') : ''
6262

6363
repositories {
64-
mavenCentral()
6564
jcenter()
6665
maven { url 'http://repo.spring.io/libs-snapshot' }
6766
maven { url 'https://oss.jfrog.org/oss-snapshot-local' }
6867
maven { url 'https://oss.jfrog.org/oss-release-local' }
68+
mavenCentral()
6969

7070
}
7171

@@ -145,6 +145,7 @@ subprojects {
145145
entry 'junit-vintage-engine'
146146
}
147147

148+
148149
dependencySet(group: 'org.openjdk.jmh', version: ext['jmh.version']) {
149150
entry 'jmh-core'
150151
entry 'jmh-generator-annprocess'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
group=io.netifi.proteus
2-
version=1.5.2
2+
version=1.5.3

gradle/wrapper/gradle-wrapper.jar

5 Bytes
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Thu Dec 06 23:55:01 PST 2018
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

proteus-access-key-info-idl/src/main/proto/proteus/accesskey_info.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,23 @@ option java_package = "io.netifi.proteus.broker.access";
99
option java_outer_classname = "AccessKeyInfo";
1010
option java_multiple_files = true;
1111

12+
message AccessKeyName {
13+
string name = 1;
14+
}
15+
1216
message AccessKey {
1317
int64 key = 1;
1418
}
1519

1620
message AccessKeyParameters {
21+
string name = 2;
1722
string description = 1;
1823
}
1924

2025
message AccessToken {
2126
int64 key = 1;
2227
bytes accessToken = 2;
28+
string name = 4;
2329
string description = 3;
2430
}
2531

@@ -28,6 +34,7 @@ message AccessTokenInfo {
2834
bytes accessTokenHash = 2;
2935
bytes accessTokenSalt = 3;
3036
string accessKeyAlgo = 4;
37+
string name = 8;
3138
string description = 5;
3239
bool disabled = 6;
3340
google.protobuf.Timestamp timestamp = 7;
@@ -40,4 +47,5 @@ service AccessKeyInfoService {
4047
rpc EnableAccessKey (AccessKey) returns (AccessTokenInfo) {}
4148
rpc GetAccessKey (AccessKey) returns (AccessTokenInfo) {}
4249
rpc GetAccessKeys (google.protobuf.Empty) returns (stream AccessTokenInfo) {}
50+
rpc GetAccessKeyByName (AccessKeyName) returns (AccessTokenInfo) {}
4351
}

proteus-auth/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
description = 'Netifi Proteus Authentication Utilities'
22

33
dependencies {
4+
compile project (':proteus-common')
45
compile 'io.netty:netty-buffer'
56
}

proteus-auth/src/main/java/io/netifi/proteus/auth/Clock.java

Lines changed: 0 additions & 5 deletions
This file was deleted.

proteus-auth/src/main/java/io/netifi/proteus/auth/DefaultSessionUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.netifi.proteus.auth;
22

3+
import io.netifi.proteus.common.time.Clock;
34
import io.netty.buffer.ByteBuf;
45
import java.nio.ByteBuffer;
56
import javax.crypto.Mac;
@@ -22,7 +23,7 @@ protected ByteBuffer initialValue() {
2223
}
2324

2425
DefaultSessionUtil() {
25-
this(new DefaultSystemClock());
26+
this(Clock.DEFAULT);
2627
}
2728

2829
@Override

proteus-auth/src/main/java/io/netifi/proteus/auth/DefaultSystemClock.java

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)