Revision 6976
Added by Matt Jones almost 13 years ago
src/edu/ucsb/nceas/metacat/admin/upgrade/GenerateGlobalIdentifiers.java | ||
---|---|---|
66 | 66 |
private String url = null; |
67 | 67 |
private String user = null; |
68 | 68 |
private String password = null; |
69 |
private String eziduser = null; |
|
70 |
private String ezidPassword = null; |
|
69 |
// private String eziduser = null;
|
|
70 |
// private String ezidPassword = null;
|
|
71 | 71 |
|
72 | 72 |
/** |
73 | 73 |
* The main upgrade() procedure, which first upgrades identifiers in the database, |
... | ... | |
84 | 84 |
if (shouldUpgrade) { |
85 | 85 |
log.debug("Upgrading identifiers to DOIs"); |
86 | 86 |
|
87 |
success = updateIdentifierReferences(); |
|
88 |
|
|
89 |
// TODO: Query for local GUID identifiers & metadata, and for each |
|
90 |
// register with EZID; in a separate thread; including relevant metadata |
|
87 |
success = updateIdentifierReferences(); |
|
91 | 88 |
} |
92 | 89 |
|
93 | 90 |
} catch (PropertyNotFoundException e) { |
... | ... | |
116 | 113 |
url = PropertyService.getProperty("database.connectionURI"); |
117 | 114 |
user = PropertyService.getProperty("database.user"); |
118 | 115 |
password = PropertyService.getProperty("database.password"); |
119 |
eziduser = PropertyService.getProperty("guid.ezid.username"); |
|
120 |
ezidPassword = PropertyService.getProperty("guid.ezid.password"); |
|
116 |
// eziduser = PropertyService.getProperty("guid.ezid.username");
|
|
117 |
// ezidPassword = PropertyService.getProperty("guid.ezid.password");
|
|
121 | 118 |
|
122 | 119 |
} catch (PropertyNotFoundException e) { |
123 | 120 |
String msg = "PropertyNotFound while trying to convert identifiers: " + e.getMessage(); |
Also available in: Unified diff
Commenting out the parts of the upgrade script that started to refer to EXID. At this point, the registration of EZID identifiers will be done out-of-band with respect to the upgrade.