add extra hosts for assets.cortext.* needed by w2vexplorer
this MR solves the error below when running w2v-explorer on docker with cortextlib
dataclu /srv/cortext/cortext-assets/server/app/../documents/08b2/08b2cdd4ab94a7c8747cf9e0bbc5927f/68/data/W2Vsample15_content_5_False_100_100_100_False_False_2_False_False_5_999999_1000_W2V_10.csv
hashstring 08b2cdd4ab94a7c8747cf9e0bbc5927f
url http://assets.cortext.local:8080/docs/08b2cdd4ab94a7c8747cf9e0bbc5927f/meta
Traceback (most recent call last):
File "/srv/cortext/cortext-methods/../cortext-methods-transition/w2v-explorer/w2vexplorer.py", line 807, in <module>
datajson=json.loads(urllib2.urlopen(url).read())['files']
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1235, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1205, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
Issue: w2v-explorer#1 (closed)
Edited by Joenio Marques da Costa