[NAS-1637] Plugin of Domain definition suggested Created: 14/Sep/07  Updated: 20/Sep/16  Resolved: 19/Aug/16

Status: Resolved
Project: NetarchiveSuite
Component/s: Harvester Controller Server
Affects Version/s: 3.2
Fix Version/s: 5.2

Type: New Feature Priority: Minor
Reporter: Kåre Fiedler Christiansen (Inactive) Assignee: Søren Vejrup Carlsen (Inactive)
Resolution: Duplicate  
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: NAS 5.2

 Description   

After fixing bug #915 we can define domains by any suffix like .co.uk or .dk by
inputting a list in settings.
However a much better solution would be to make the definition of domains
pluggable so any definition is possible. The plugin would encompass the two
methods from Domain: isValidDomainName and domainNameFromHostname
A better implementation of the plugin than the current is to use the list from
http://wiki.mozilla.org/Gecko:Effective_TLD_Service
NOTE: This bug is originally from Bugzilla bug_id=1072.
This bug was previously assigned to Unassigned.



 Comments   
Comment by Søren Vejrup Carlsen (Inactive) [ 19/Aug/16 ]

Duplicate of NAS-2519

Comment by Mikis Seth Sørensen (Inactive) [ 08/Jun/09 ]

##############
Gforge Tracker Field History
##############
kfc - 08/20/2008 11:20:13 - Module old value 'None'
kfc - 06/08/2009 10:40:23 - priority old value '3'
kfc - 08/20/2008 12:25:07 - assigned_to old value '100'
kfc - 11/19/2008 15:27:22 - priority old value '4'
svc - 09/28/2007 12:01:42 - assigned_to old value 'svc@kb.dk'
svc - 03/13/2009 14:08:30 - Status old value 'New'
svc - 09/28/2007 12:01:42 - keywords old value ' '
bja - 09/18/2007 08:07:17 - keywords old value ' '
bja - 09/18/2007 08:07:17 - priority old value 'P3'

Comment by Mikis Seth Sørensen (Inactive) [ 08/Jun/09 ]

##############
Gforge Tracker Followups
##############
###############
svc - svc.dk - 09/28/2007 12:01:42

  • Adding settings for the DomainDefinition plugin.
  • Creating the DomainDefinition interface.
  • Refactoring the existing methods Domain.isValidDomainName and
    domainNameFromHostname as a DomainDefinition plugin
    Estimated 2.0 MD
    ###############
    ###############
    svc - svc.dk - 09/28/2007 12:12:57
    The interface could look like this:
    public abstract class TldDomainDefinition extends
    SettingsFactory<TldDomainDefinition> {
    private static TldDomainDefinition instance;
    /** Get the singleton instance of the TldDomainDefinition implementation class
    *
  • @return An instance of TldDomainDefinition that implements
  • a certain way of defining a TLD
    */
    public static synchronized TldDomainDefinition getInstance()
    Unknown macro: { if (instance == null) { instance = getInstance(Settings.TLD_DOMAIN_DEFINITION_CLASS); } return instance; }

    public abstract boolean isValidDomainName();
    public abstract String domainNameFromHostname(String hostname);

###############

Comment by Mikis Seth Sørensen (Inactive) [ 08/Jun/09 ]

##############
Gforge Tracker Custom Fields
##############
#####
Module : Harvester
######
#####
Status : 587
######
#####
Version : 3.2
######

Generated at Thu Mar 28 13:03:44 CET 2024 using Jira 9.4.15#940015-sha1:bdaa9cbecfb6791ea579749728cab771f0dfe90b.