Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoIP API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
APIs
GeoIP API
Merge requests
!35
feat: Increase code quality
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: Increase code quality
zacharysabourin/geoip-rest-api:zacharysabourin/master/28
into
master
Overview
1
Commits
3
Changes
23
Merged
Zachary Sabourin
requested to merge
zacharysabourin/geoip-rest-api:zacharysabourin/master/28
into
master
1 year ago
Overview
1
Commits
3
Changes
23
Expand
feat: Standardize configurations
Relates to
#27 (closed)
Relates to
#28 (closed)
0
0
Merge request reports
Compare
master
version 2
d349cfce
1 year ago
version 1
44d48e46
1 year ago
master (base)
and
latest version
latest version
45ba4318
3 commits,
1 year ago
version 2
d349cfce
2 commits,
1 year ago
version 1
44d48e46
1 commit,
1 year ago
23 files
+
302
−
321
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
23
Search (e.g. *.vue) (Ctrl+P)
src/main/java/org/eclipsefoundation/geoip/client/config/EclipseMaxmindSubnetConfig.java
0 → 100644
+
32
−
0
Options
/*********************************************************************
* Copyright (c) 2023 Eclipse Foundation.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Author: Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package
org.eclipsefoundation.geoip.client.config
;
import
io.smallrye.config.ConfigMapping
;
import
io.smallrye.config.WithDefault
;
/**
* Config mapper for eclipse maxmind file locations. Contains filepaths for
* ipv4, ipv6, and countries files.
*/
@ConfigMapping
(
prefix
=
"eclipse.maxmind.subnet"
)
public
interface
EclipseMaxmindSubnetConfig
{
@WithDefault
(
value
=
"/tmp/maxmind/db/GeoLite2-Country-Blocks-IPv4.csv"
)
String
ipv4FilePath
();
@WithDefault
(
value
=
"/tmp/maxmind/db/GeoLite2-Country-Blocks-IPv6.csv"
)
String
ipv6FilePath
();
@WithDefault
(
value
=
"/tmp/maxmind/db/GeoLite2-Country-Locations-en.csv"
)
String
countriesFilePath
();
}
Loading