Skip to content

Commit bd0488c

Browse files
feat(centralnic reseller java sdk): Introducing CNR java-sdk apiconnector
BREAKING CHANGE: deprecatig the support for Hexonet java-sdk apiconnector
1 parent 70aeb6d commit bd0488c

File tree

146 files changed

+12037
-3180
lines changed

Some content is hidden

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

146 files changed

+12037
-3180
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ on:
77

88
jobs:
99
tests:
10-
uses: centralnicgroup-opensource/rtldev-middleware-shareable-workflows/.github/workflows/java-sdk-test.yml@main
10+
uses: centralnicgroup-opensource/rtldev-middleware-shareable-workflows/.github/workflows/java-sdk-test.yml@RSRMID-2020-java-sdk-for-cnr
1111
secrets: inherit

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ settings.xml
3636
.settings
3737
.sts4-cache
3838
node_modules
39+
src/main/java/com/centralnicreseller/apiconnector/App.java

.releaserc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"replacements": [
1616
{
1717
"files": [
18-
"src/main/java/net/hexonet/apiconnector/APIClient.java"
18+
"src/main/java/net/hexonet/apiconnector/APIClient.java",
19+
"src/main/java/net/cnr/apiconnector/APIClient.java"
1920
],
2021
"from": "\"\\d+\\.\\d+\\.\\d+\"",
2122
"to": "\"${nextRelease.version}\"",
@@ -39,6 +40,7 @@
3940
"package?(-lock).json",
4041
"pom.xml",
4142
"src/main/java/net/hexonet/apiconnector/APIClient.java",
43+
"src/main/java/net/cnr/apiconnector/APIClient.java",
4244
"target/apidocs",
4345
"target/site"
4446
]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This module is a connector library for the insanely fast HEXONET Backend API. Fo
1818
## Authors
1919

2020
* **Kai Schwarz** - *lead development* - [KaiSchwarz-cnic](https://github.com/kaischwarz-cnic)
21+
* **Asif Nawaz** - *developer* - [AsifNawaz-cnic](https://github.com/AsifNawaz-cnic)
2122

2223
## License
2324

maven-settings.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<!-- This file provides passwords and key details to the Maven plugins that sign our artifacts
2-
and deploy them to the OSSRH repository. The secret information is passed in with
3-
Travis CI secure environment variables. -->
4-
<settings>
2+
and deploy them to the Central Repository. The secret information is passed in with
3+
secure environment variables. -->
4+
<settings>
55
<servers>
66
<server>
7-
<id>ossrh</id>
8-
<username>${env.OSSRH_JIRA_USERNAME}</username>
9-
<password>${env.OSSRH_JIRA_PASSWORD}</password>
7+
<id>central</id>
8+
<username>${env.CENTRAL_USERNAME}</username>
9+
<password>${env.CENTRAL_PASSWORD}</password>
1010
</server>
1111
</servers>
1212
<profiles>
1313
<profile>
14-
<id>ossrh</id>
14+
<id>central</id>
1515
<activation>
1616
<activeByDefault>true</activeByDefault>
1717
</activation>
@@ -22,4 +22,4 @@
2222
</properties>
2323
</profile>
2424
</profiles>
25-
</settings>
25+
</settings>

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "java-sdk",
3-
"description": "JAVA SDK for the insanely fast HEXONET API",
3+
"description": "JAVA SDK for the insanely fast HEXONET and CNR API",
44
"version": "0.0.0-development",
55
"private": true,
66
"author": {
77
"name": "Kai Schwarz",
8-
"email": "kschwarz@hexonet.net"
8+
"email": "kai.schwarz@centralnic.com"
99
},
1010
"license": "MIT",
1111
"engines": {
@@ -17,7 +17,11 @@
1717
"maintainers": [
1818
{
1919
"name": "Kai Schwarz",
20-
"email": "kschwarz@hexonet.net"
20+
"email": "kai.schwarz@centralnic.com"
21+
},
22+
{
23+
"name": "Asif Nawaz",
24+
"email": "asif.nawaz@centralnic.com"
2125
}
2226
],
2327
"keywords": [

0 commit comments

Comments
 (0)