• Stars
    star
    368
  • Rank 115,958 (Top 3 %)
  • Language
    Java
  • License
    Other
  • Created over 11 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RIPE Database whois code repository

RIPE Whois Database

License

This software is distributed under the BSD License. See: https://raw.github.com/RIPE-NCC/whois/master/LICENSE.md

License

Running Integration Tests for Development

It is preferable to write integration tests during development, and commit them along with any code changes. All dependencies apart from the database are mocked.

Running Whois Locally For Development

You can run a standalone Whois server locally. Dependencies must be configured in a local properties file.

More information here

Running within an IDE

See Running whois from within Intellij for instructions.

Running outside an IDE

Git

Configure pre-commit hooks

Pre-commit hook can be found in tools/precommitcheck. This can be optionally configured by running: ln -fsv tools/precommitcheck .git/hooks/pre-commit

Tests

Run a single integration test

mvn clean install -DfailIfNoTests=false -Pintegration -Dit.test=NrtmClientInvalidHostTestIntegration

Run all integration tests in a single module

mvn clean install -Pintegration -pl whois-query

Configure Ajc (AspectJ) Compiler

Whois uses AspectJ to perform compile-time aspect weaving of the code. This is needed for some functionality, e.g. the @RetryFor annotation.

Compile-time weaving works during a command-line Maven build, as the pom.xml uses aspectj-maven-plugin.

Any code that depends on AspectJ will fail if modified in IntelliJ without using the Ajc (AspectJ) compiler.

You can configure Ajc in the Preferences as follows:

  • First install the AspectJ plugin provided by JetBrains from the IDE plugin repository
  • Go to Build, Execution, Deployment -> Compiler -> Java Compiler
  • Choose "Use Compiler: Ajc"
  • Configure Path to aspectjtools.jar, e.g. ~/.m2/repository/org/aspectj/aspectjtools/1.9.8/aspectjtools-1.9.7.jar
  • Press "Test" to confirm it's working.

More Repositories

1

ripe-atlas-software-probe

Shell
239
star
2

hadoop-pcap

Hadoop library to read packet capture (PCAP) files
Java
207
star
3

ripe-atlas-tools

Official command-line client for RIPE Atlas
Python
181
star
4

ripe-atlas-cousteau

Python client for RIPE ATLAS API
Python
64
star
5

rpki-validator

Scala
64
star
6

rpki-validator-3

RIPE NCC RPKI Validator 3
Java
62
star
7

bgpdump

Utility and C Library for parsing MRT files
C
58
star
8

tracemon

TraceMON is a web application for visualising network topology generated by traceroutes reaching one or more targets in a network
JavaScript
55
star
9

ripe-atlas-sagan

A parsing library for RIPE Atlas measurement results
Python
47
star
10

ripe-atlas-probe-measurements

RIPE Atlas probe measurement source code
C
40
star
11

dnsmon

The RIPE NCC DNS Monitoring Service (DNSMON) provides a comprehensive, objective and up-to-date overview of the quality of the service offered by high-level Domain Name System (DNS) servers.
JavaScript
29
star
12

ripestat-text

Python
26
star
13

ripe-atlas-probe-doc

18
star
14

ipv6-security-lab

HTML
18
star
15

ipresource

Java
16
star
16

rpki-commons

Java
15
star
17

dnssec-labs

Shell
13
star
18

ripe-atlas-bigquery

JavaScript
13
star
19

atlas-dyndns

Dynamic DNS for RIPE Atlas
Python
11
star
20

peertools

Python
10
star
21

ipv6-workshop-tools

Python
9
star
22

rpki-core

RPKI back-end in RIPE NCC
Java
9
star
23

rpki-publication-server

Scala
8
star
24

bgp-security-lab

BGP Security network lab
HTML
8
star
25

rcdss

RIPE NCC CDS Scanner
Python
6
star
26

nro-delegated-stats

Scala
5
star
27

ripe-database-documentation

RIPE Database Documentation
4
star
28

nro-stats

NRO Stats
Java
3
star
29

rpki-irr-bgp-stats

Scala
3
star
30

rsyncit

RRDP -> rsync sync tool
Java
3
star
31

rpki-ta-0

Java
2
star
32

ris-docs

https://ris.ripe.net/docs/
2
star
33

rpki-validator-3-docker

Simple docker set-up for the RIPE NCC RPKI Validator 3 for use with docker hub
Dockerfile
1
star