Comments (4)
How about this, if the RDAP Server finds 2 implementations of the data access API, the default implementation and a new one, the Server will automatically give preference to the later one. This way, you don’t have to remove the default implementation of the classpath or configure anything.
Now the question here is what happens if the Server finds 3 or more implementations? Should the Server throw the exception and shut itself down?
from rdap-server.
How about this, if the RDAP Server finds 2 implementations of the data access API, the default implementation and a new one, the Server will automatically give preference to the later one.
Fair enough.
what happens if the Server finds 3 or more implementations?
Why not use the file?
I think of your idea as a reasonable fallback strategy in case some ambiguity can be worked around, but I don't see how preventing the user from keeping many implementations in the classpath (with a simple swap switch) helps anyone.
from rdap-server.
All right then, let’s keep the fallback strategy, and use a configuration parameter to allow the user to select from multiple implementations. I’m still think is a little odd that someone might need multiple custom implementations in the classpath, but then again this solution is easy to implement and gives the user more options.
from rdap-server.
How about this, if the RDAP Server finds 2 implementations of the data access API, the default implementation and a new one, the Server will automatically give preference to the later one. This way, you don’t have to remove the default implementation of the classpath or configure anything.
Just to clarify: The default implementation depends on the data access API (which is where the implementation loader sits right now), not the other way around, so the implementation loader is incapable of recognizing the default implementation among several candidates. After an off-thread discussion, we decided not to implement this feature.
from rdap-server.
Related Issues (20)
- SLF4J in war File HOT 3
- Compatibility issue between Tomcat and Jetty HOT 5
- IDNs in the zone table HOT 6
- fk_entity_remarks_remark1 constraint HOT 2
- proxyName / proxyPort Connector properties HOT 3
- IDN Domain names where the Unicode contains letters not in the Latin character set HOT 2
- about the automatically generated ("rel":"self") links HOT 4
- Database schema changelog - v1.4.1 to v1.4.2 HOT 2
- Unnecessary constraint public_id_pid_id_UNIQUE in domain_public_ids table? HOT 7
- Documentation inaccessible due to IPv6-address certificate problems HOT 3
- Database access HOT 8
- SEVERE: Exception sending context initialized event to listener instance of class mx.nic.rdap.server.listener.RdapInitializer HOT 2
- I can't run demo server on my windows machine. java.lang.IllegalArgumentException: java.lang.NullPointerException
- "last update of RDAP database" event is not created for nameservers/domains/entities searches when is_db_data_live is true HOT 2
- "is_country_code_released" configuration doesn't apply to vcards into an entity into a nameserver into a domain
- country code and contact-uri privacy cannot be configured
- "last update of RDAP database" event's date is not updated when it is included in a nested object HOT 1
- rdapConformance - Default Value HOT 2
- Redaction of Contacts and the contact handle HOT 8
- Can anyone share a schema (.sql) file with sample data inserted? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdap-server.