Skip to content

Commit 03aa68f

Browse files
feat(centralnic reseller java sdk): Introducing CentralNic Reseller Java SDK API Connector
BREAKING CHANGE: This release deprecates the Hexonet Java SDK and introduces the CentralNic Reseller Java SDK. - Note: To continue using the Hexonet SDK, please install version 4.0.26 or earlier.
1 parent 055a1f5 commit 03aa68f

File tree

143 files changed

+6794
-5679
lines changed

Some content is hidden

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

143 files changed

+6794
-5679
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
},
1212
"extensions": [
1313
"vscjava.vscode-java-pack",
14-
"eamodio.gitlens"
14+
"eamodio.gitlens",
15+
"GitHub.copilot"
1516
]
1617
}
1718
},

.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"replacements": [
1616
{
1717
"files": [
18-
"src/main/java/net/hexonet/apiconnector/APIClient.java"
18+
"src/main/java/com/centralnicreseller/apiconnector/APIClient.java"
1919
],
2020
"from": "\"\\d+\\.\\d+\\.\\d+\"",
2121
"to": "\"${nextRelease.version}\"",
@@ -38,7 +38,7 @@
3838
"HISTORY.md",
3939
"package?(-lock).json",
4040
"pom.xml",
41-
"src/main/java/net/hexonet/apiconnector/APIClient.java",
41+
"src/main/java/com/centralnicreseller/apiconnector/APIClient.java",
4242
"target/apidocs",
4343
"target/site"
4444
]

README.md

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,51 @@
22

33
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
44
[![Build Status](https://travis-ci.com/centralnicgroup-opensource/rtldev-middleware-java-sdk.svg?branch=master)](https://travis-ci.com/centralnicgroup-opensource/rtldev-middleware-java-sdk)
5-
![Maven metadata URI](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/net/hexonet/apiconnector/java-sdk/maven-metadata.xml.svg)
5+
![Maven metadata URI](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/net/centralnicgroup-opensource/apiconnector/java-sdk/maven-metadata.xml.svg)
66
[![Release](https://jitpack.io/v/centralnicgroup-opensource/rtldev-middleware-java-sdk.svg)](https://jitpack.io/#centralnicgroup-opensource/rtldev-middleware-java-sdk)
77
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
88
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/centralnicgroup-opensource/rtldev-middleware-java-sdk/blob/master/CONTRIBUTING.md)
99

10-
This module is a connector library for the insanely fast HEXONET Backend API. For further informations visit our [homepage](http://hexonet.net) and do not hesitate to [contact us](https://www.hexonet.net/contact).
10+
This module is a connector library for the insanely fast CentralNic Reseller Backend API. For further informations visit our [homepage](https://www.centralnicreseller.com) and do not hesitate to [contact us](https://www.centralnicreseller.com/contact).
11+
12+
## Deprecation Notice: Hexonet Java SDK
13+
14+
This SDK succeeds the deprecated Hexonet Java SDK. It is an enhanced version that builds upon the foundation laid by the Hexonet SDK, offering improved features and performance. Hexonet is migrating to CentralNic Reseller, ensuring continued support and development under the new branding.
1115

1216
## Resources
1317

14-
* Documentation:
15-
* [HEXONET](https://www.hexonet.support/hc/en-gb/articles/13652014163357-Self-Development-Kit-for-Java)
16-
* [Release Notes](https://github.com/centralnicgroup-opensource/rtldev-middleware-java-sdk/releases)
18+
- [Documentation](https://support.centralnicreseller.com/hc/en-gb/articles/5714403954333-Self-Development-Kit-for-Java)
19+
20+
## Release Notes
21+
22+
For detailed release notes, please visit the [Release Notes](https://github.com/centralnicgroup-opensource/rtldev-middleware-java-sdk/releases) page.
23+
24+
## Running the Demo Application
25+
26+
To run the demo application, follow these steps:
27+
28+
1. **Set Your Credentials**: Ensure your credentials are available. You can either:
29+
- Replace them directly in the application file.
30+
- Set the environment variables `CNR_TEST_USER` and `CNR_TEST_PASSWORD` in your terminal.
31+
32+
2. **Execute the Demo**: Once your credentials are set, run the following command in the terminal:
33+
34+
```sh
35+
npm run test-demo
36+
```
37+
38+
3. **Update Demo Contents**: If you need to update the contents of the demo file, you can find it at:
39+
40+
```plaintext
41+
src/test/java/com/centralnicreseller/apiconnector/App.java
42+
```
43+
44+
By following these steps, you can successfully run and update the demo application.
1745

1846
## Authors
1947

20-
* **Kai Schwarz** - *lead development* - [KaiSchwarz-cnic](https://github.com/kaischwarz-cnic)
48+
* **Kai Schwarz** - *Team lead* - [KaiSchwarz-cnic](https://github.com/kaischwarz-cnic)
49+
* **Asif Nawaz** - *developer* - [AsifNawaz-cnic](https://github.com/AsifNawaz-cnic)
2150

2251
## License
2352

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.MAVEN_CENTRAL_USERNAME}</username>
9+
<password>${env.MAVEN_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: 14 additions & 7 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 CentralNic Reseller (fka RRPProxy) API",
44
"version": "0.0.0-development",
55
"private": true,
66
"author": {
77
"name": "Kai Schwarz",
8-
"email": "[email protected]"
8+
"email": "[email protected]"
99
},
1010
"license": "MIT",
1111
"engines": {
@@ -17,16 +17,23 @@
1717
"maintainers": [
1818
{
1919
"name": "Kai Schwarz",
20-
"email": "[email protected]"
20+
"email": "[email protected]"
21+
},
22+
{
23+
"name": "Asif Nawaz",
24+
"email": "[email protected]"
2125
}
2226
],
27+
"scripts": {
28+
"test-demo": "mvn test-compile exec:java -Dexec.mainClass=\"com.centralnicreseller.apiconnector.App\" -Dexec.classpathScope=test"
29+
},
2330
"keywords": [
24-
"hexonet",
31+
"centralnicreseller",
2532
"domain",
2633
"api",
2734
"connector",
28-
"isp",
29-
"ispapi",
35+
"cnr",
36+
"cnic",
3037
"ssl",
3138
"cert",
3239
"dns",
@@ -49,4 +56,4 @@
4956
"semantic-release-replace-plugin": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin",
5057
"semantic-release-teams-notify-plugin": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-notify-plugin"
5158
}
52-
}
59+
}

0 commit comments

Comments
 (0)