Skip to content

Commit 34ca466

Browse files
Merge pull request #32 from IPGeolocation/release/v3.0.0
release: prepare v3.0.0
2 parents 7f2db6f + e4b45e8 commit 34ca466

File tree

283 files changed

+6015
-37858
lines changed

Some content is hidden

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

283 files changed

+6015
-37858
lines changed

CONTRIBUTING.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Contributing Guide
2+
3+
This repository contains the public Java SDK package for the IP Geolocation API.
4+
5+
## Prerequisites
6+
- Java 21+
7+
- Maven 3.8+
8+
9+
## Setup
10+
```bash
11+
mvn clean compile
12+
```
13+
14+
## Run Tests
15+
16+
Run full public test suite:
17+
```bash
18+
mvn clean verify
19+
```
20+
21+
Run all tests without cleaning:
22+
```bash
23+
mvn test
24+
```
25+
26+
Run one test class:
27+
```bash
28+
mvn -Dtest=IpGeolocationClientRequestBuildingTest test
29+
```
30+
31+
Run one test method:
32+
```bash
33+
mvn -Dtest=IpGeolocationClientRequestBuildingTest#lookupBuildsExpectedQueryAndHeaders test
34+
```
35+
36+
## Live API Tests (Optional)
37+
38+
Live tests consume API credits and are disabled by default.
39+
40+
```bash
41+
IPGEO_RUN_LIVE_TESTS=true IPGEO_FREE_KEY=... IPGEO_PAID_KEY=... mvn -Dtest=IpGeolocationLiveIntegrationTest test
42+
```
43+
44+
## Coding and PR Notes
45+
- Keep changes focused and include tests for behavior changes.
46+
- Do not commit real API keys, tokens, or secrets.
47+
- Use clear commit messages, for example:
48+
- `feat: add bulk xml raw response support`
49+
- `fix: validate connect timeout does not exceed read timeout`
50+
- `test: add error mapping coverage for 499`

README.md

100755100644
Lines changed: 547 additions & 1698 deletions
Large diffs are not rendered by default.

docs/ASNConnection.md

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

docs/ASNDetails.md

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

docs/ASNLookupAPI.md

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

docs/ASNResponse.md

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

docs/Abuse.md

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

docs/AbuseContactAPI.md

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

docs/AbuseResponse.md

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

docs/Astronomy.md

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

0 commit comments

Comments
 (0)