Project

General

Profile

Task #1349

Story #1341: Fix blockers to demo functionality

Task #1342: CN needs Google Maps API key

Update googlekey.js in mercury source

Added by Dave Vieglais about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Robert Waltz
Category:
d1_mercury
Target version:
Start date:
2011-02-14
Due date:
% Done:

100%

Milestone:
CCI-0.5
Product Version:
*
Story Points:
Sprint:

Description

The file /var/lib/tomcat6/webapps/mercury3/scripts/googlekey.js needs to be updated with the keys for the CNs:

Edit googlekey.js and towards the end of the file add the following:

...

else if(curlocation.indexOf("http://cn-ucsb-1.dataone.org") < 10)
{
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hR3ud-BIj7E0PLxOb5nKvE6iYKfchRZSstsTbW5r5h83q7b8WThhfo86A";
}
else if(curlocation.indexOf("http://cn-unm-1.dataone.org") < 10)
{
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hSS04c4NbGTDqdmpwFWLo7aT0wv0xQUqNfrRjXMkW4z87Wn38Zpy4KIVg";
}
else if(curlocation.indexOf("http://cn-orc-1.dataone.org") < 10)
{
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hSSDrPAcYjZlkF6Tkq3u_Fyu3mCCxSQYYUlOrQcODgjecV1RvXjMXhfAQ";
}
else
{
//gkey = "ABQIAAAAMunL2PF_-ibJlwJr-tMA8RTkFTU-bOiazHtZ0nNnypynHqSO4hRZnPrnn0_VUhIEMt-cWpvnGi2-Kg";
//default key is for "http://cn.dataone.org"
gkey = "ABQIAAAAuYWC81lXHUzQz1QJga3l8hQeSVgniQmrIwOXFpLeToaRJdxWixSppZ3XA2lcOViCzbkUYKuLuhXaWg";
}

History

#1 Updated by Robert Waltz about 13 years ago

  • Status changed from New to Closed
  • Milestone set to CCI-0.5

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)