Skip to content

Commit 4d6c935

Browse files
authored
0.28.0
* Fix lenient handling of salt. * Fix leading byte in binary output debugging. * AES128 & SHA-1 * Fix subscription responder. * Repo changes.
1 parent 5acbaca commit 4d6c935

File tree

240 files changed

+1065
-498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+1065
-498
lines changed

.gitignore

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,34 @@
11
# Tooling
2-
**/.classpath
3-
**/.idea
4-
**/.metadata
5-
**/.project
6-
**/.settings
7-
**/eclipseBin
2+
**.classpath
3+
**.idea
4+
**.metadata
5+
**.project
6+
**.settings
7+
**eclipseBin
88

99
# Build artifacts
1010
**.class
1111
**.iml
12+
**build
13+
**classes
14+
**libJar
15+
**out
16+
**target
1217
**/.gradle
13-
**/build
14-
**/out
15-
**/libJar
16-
**/target
18+
**javadoc
19+
**repository
1720

1821
# Misc
1922
**.bak
2023
**.old
2124
**.log
22-
**/.DS_Store
25+
**.DS_Store
2326

2427
# Runtime files
25-
**/dslink.jks
26-
**/.key
27-
**/db
28-
**/nodes.json
29-
**/nodes*.zip
30-
**/test.json
28+
**.jks
29+
**.key
30+
**db
31+
**nodes.json
32+
**nodes*.zip
33+
**test.json
3134
**/*.log.*.zip

build.gradle

Lines changed: 20 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,33 @@ buildscript {
77
}
88
}
99

10-
apply plugin: 'nexus-workflow'
11-
apply plugin: 'java'
12-
apply plugin: 'maven'
13-
apply plugin: 'signing'
10+
subprojects {
1411

15-
group 'org.iot-dsa'
16-
version '0.27.0'
12+
apply plugin: 'java'
13+
apply plugin: 'maven'
1714

18-
sourceCompatibility = 1.6
19-
targetCompatibility = 1.6
15+
group 'org.iot-dsa'
16+
version '0.28.0'
2017

21-
install {
22-
repositories.mavenInstaller {
23-
pom.project {
24-
artifactId 'dslink-v2'
18+
sourceCompatibility = 1.6
19+
targetCompatibility = 1.6
20+
21+
repositories {
22+
mavenLocal()
23+
mavenCentral()
24+
maven {
25+
url 'https://oss.sonatype.org/content/repositories/snapshots/'
2526
}
2627
}
27-
}
2828

29-
repositories {
30-
mavenLocal()
31-
mavenCentral()
32-
maven {
33-
url 'https://oss.sonatype.org/content/repositories/snapshots/'
29+
task sourcesJar(group: 'build', type: Jar, dependsOn: classes) {
30+
classifier = 'sources'
31+
from sourceSets.main.allJava
3432
}
35-
}
3633

37-
dependencies {
38-
testCompile 'junit:junit:[4.12,)'
39-
}
40-
41-
task sourcesJar(group: 'build', type: Jar, dependsOn: classes) {
42-
classifier = 'sources'
43-
from sourceSets.main.allJava
44-
}
45-
46-
task javadocJar(type: Jar, dependsOn: javadoc) {
47-
classifier = 'javadoc'
48-
from javadoc.destinationDir
49-
}
34+
task javadocJar(type: Jar, dependsOn: javadoc) {
35+
classifier = 'javadoc'
36+
from javadoc.destinationDir
37+
}
5038

51-
artifacts {
52-
archives sourcesJar
53-
archives javadocJar
5439
}
File renamed without changes.

dslink-java-v2-poc/build.gradle renamed to dslink-v2-poc/build.gradle

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'application'
33

44
sourceCompatibility = 1.6
55
targetCompatibility = 1.6
6-
group 'org.iot.dsa'
6+
group 'org.iot-dsa'
77
mainClassName = 'org.iot.dsa.dslink.DSLink'
88

99
applicationDefaultJvmArgs = [
@@ -12,15 +12,11 @@ applicationDefaultJvmArgs = [
1212
repositories {
1313
mavenLocal()
1414
mavenCentral()
15-
maven {
16-
url 'https://oss.sonatype.org/content/repositories/snapshots/'
17-
}
1815
}
1916

2017
dependencies {
21-
compile project(':dslink-core')
22-
compile project(':dslink-websocket-standalone')
23-
testCompile 'junit:junit:+'
18+
compile project(':dslink-v2')
19+
compile project(':dslink-v2-websocket')
2420
}
2521

2622
applicationDistribution.from(new File(project.projectDir, "/dslink.json"))
File renamed without changes.

dslink-websocket-standalone/build.gradle renamed to dslink-v2-websocket/build.gradle

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
apply from: '../build.gradle'
1+
apply plugin: 'nexus-workflow'
2+
apply plugin: 'signing'
3+
4+
artifacts {
5+
archives sourcesJar
6+
}
27

38
dependencies {
4-
compile project(':dslink-core')
5-
compile 'org.glassfish.tyrus.bundles:tyrus-standalone-client:[1.12,)'
9+
compile project(':dslink-v2')
10+
compile 'org.glassfish.tyrus.bundles:tyrus-standalone-client:[1.13.1,)'
611
}
712

813
signing {
@@ -24,9 +29,9 @@ uploadArchives {
2429
}
2530

2631
pom.project {
27-
name = 'DSLink SDK V2 Websocket Implementation'
28-
artifactId = 'dslink-websocket-standalone-v2'
29-
description = 'V2 Implementation of Websockets for IoT DSA protocol'
32+
name = 'V2 DSLink SDK Websockets'
33+
artifactId = 'dslink-v2-websocket'
34+
description = 'Default Implementation of Websockets for V2 DSLink SDK'
3035

3136
packaging = 'jar'
3237
url = 'http://iot-dsa.org'
@@ -43,14 +48,6 @@ uploadArchives {
4348
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
4449
}
4550
}
46-
47-
developers {
48-
developer {
49-
id = 'samrg472'
50-
name = 'Samuel Grenier'
51-
email = 'samrg472@gmail.com'
52-
}
53-
}
5451
}
5552
}
5653
}

0 commit comments

Comments
 (0)