Skip to content

Claude/verify all tests g2 mnu#12

Merged
jonathan-kosgei merged 6 commits intomasterfrom
claude/verify-all-tests-G2MNU
Feb 23, 2026
Merged

Claude/verify all tests g2 mnu#12
jonathan-kosgei merged 6 commits intomasterfrom
claude/verify-all-tests-G2MNU

Conversation

@jonathan-kosgei
Copy link
Copy Markdown
Collaborator

No description provided.

- Add Company model (name, domain, network, type) for API company object
- Add regionType field to IpdataModel for API region_type
- Add company field to IpdataModel for API company object
- Add icloudRelay and datacenter fields to ThreatModel for API
  is_icloud_relay and is_datacenter threat indicators
- Fix IpdataField.THREAT type from TimeZone to ThreatModel (bug)
- Fix getCallingCode endpoint from /asn to /calling_code (bug)
- Add missing IpdataField constants: REGION_CODE, REGION_TYPE,
  CONTINENT_NAME, COMPANY
- Update test fixture with new API fields
- Update Lombok to 1.18.34 and compiler target to Java 8

https://claude.ai/code/session_01L8wfDZ1ZCuFLzAgaecvLr1
Add region_type, company, is_icloud_relay, and is_datacenter to the
example JSON output. Document how to use the EU endpoint
(eu-api.ipdata.co) for GDPR compliance.

https://claude.ai/code/session_01L8wfDZ1ZCuFLzAgaecvLr1
Replace live API calls with a local MockIpdataServer using JDK's
HttpServer. Tests now use fixture JSON data instead of requiring
an IPDATACO_KEY env var and network access to api.ipdata.co.

- Add MockIpdataServer with fixture-based HTTP responses
- Add JSON fixture files for all IPs used in tests
- Update all 7 integration test classes to use mock server
- Disable nexus-staging-maven-plugin extension (deploy-only)

https://claude.ai/code/session_01KxvyXRVVZaLrgTZshvsZY6
Dependencies:
- OpenFeign: 9.7.0 → 11.10 (last Java 8-compatible line)
- Guava: 20.0 → 33.4.8-jre
- SLF4J: 1.7.30 → 1.7.36
- Lombok: 1.18.34 → 1.18.38
- JUnit: 4.13 → 4.13.2
- json-unit: 2.17.0 → 2.40.1

Build plugins:
- JaCoCo: 0.8.4 → 0.8.13
- Sonar: 3.7.0.1746 → 5.1.0.4751
- Surefire: 3.0.0-M3 → 3.5.4
- Resources: 2.6 → 3.4.0
- Source: 3.2.1 → 3.4.0
- Javadoc: 3.1.1 → 3.12.0
- Nexus Staging: 1.6.7 → 1.7.0
- GPG: 1.6 → 3.2.8

https://claude.ai/code/session_01KxvyXRVVZaLrgTZshvsZY6
- maven-resources-plugin: 3.4.0 → 3.3.1 (3.4.0 requires Maven 4 + Java 17)
- maven-source-plugin: 3.4.0 → 3.3.1 (3.4.0 requires Maven 4)
- sonar-maven-plugin: 5.1.0.4751 → 3.11.0.3922 (5.x requires Java 11+)
- jacoco-maven-plugin: 0.8.13 → 0.8.14 (latest patch)
- maven-surefire-plugin: 3.5.4 → 3.5.5 (latest patch)

https://claude.ai/code/session_01KxvyXRVVZaLrgTZshvsZY6
Java 8 reached end of public updates in 2019. Java 11 is the lowest
currently relevant LTS and unlocks newer dependency versions while
maintaining broad compatibility for library consumers.

https://claude.ai/code/session_01KxvyXRVVZaLrgTZshvsZY6
@jonathan-kosgei jonathan-kosgei merged commit 90595d7 into master Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants