Skip to content

Commit ac29a70

Browse files
committed
Add some notes to geni-fetch-aggmon for testing
Note the development server URL and add a few TODO's to support future debugging and testing efforts.
1 parent abed715 commit ac29a70

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Changes
66

7-
* None
7+
* Add some notes to geni-fetch-aggmon for testing
88

99
## Installation Notes
1010

sbin/geni-fetch-aggmon.in

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
# Monitoring API: http://groups.geni.net/geni/wiki/GENIMonitoring/API
44

5+
# ----------------------------------------------------------------------
6+
# TO DO:
7+
# * Add a command option to override the BASE_URL so that the
8+
# development server, for instance, could be used without changes
9+
# * Add a command line option to allow verbose output to enable
10+
# debugging
11+
# ----------------------------------------------------------------------
12+
513
import urllib
614
import urllib2
715
import json
@@ -11,6 +19,11 @@ import pprint
1119
import sys
1220
import argparse
1321

22+
# --------------------------------------------------
23+
# For testing use the development server BASE_URL:
24+
# http://genimondev.uky.edu/API'
25+
# --------------------------------------------------
26+
1427
BASE_URL = 'http://genimon.uky.edu/API'
1528
INFO_URL = '%s/info/' % (BASE_URL)
1629
DATA_URL = '%s/data/' % (BASE_URL)

0 commit comments

Comments
 (0)