Skip to content

Commit

Permalink
Remove unused api response.
Browse files Browse the repository at this point in the history
  • Loading branch information
wonlay committed Dec 5, 2011
1 parent 097a5fe commit 241f0d6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app/content_store/views.py
Expand Up @@ -60,8 +60,6 @@ def openStore(request,store_name):

resp.update({
'ok' : True,
'kafkaHost' : settings.KAFKA_HOST,
'kafkaPort' : settings.KAFKA_PORT,
})
return HttpResponse(json.dumps(resp, ensure_ascii=False, cls=DateTimeAwareJSONEncoder))

Expand Down Expand Up @@ -105,8 +103,6 @@ def newStore(request,store_name):
resp = store.to_map(True)
resp.update({
'ok' : True,
'kafkaHost' : settings.KAFKA_HOST,
'kafkaPort' : settings.KAFKA_PORT,
})
return HttpResponse(json.dumps(resp, ensure_ascii=False, cls=DateTimeAwareJSONEncoder))

Expand Down
2 changes: 0 additions & 2 deletions app/templates/documentation.html
Expand Up @@ -62,9 +62,7 @@ <h2>Create a New Store:</h2>
status: 0
ok: true
description: ""
kafkaHost: "localhost"
config: "{"table": {"src-data-store": "src_data", "compress-src-data": true, "columns": [{"index": "ANALYZED", "multi": false, "from": "", "name": "contents", "termvector": "NO", "type": "text", "store": "NO"}], "delete-field": "", "uid": "id"}, "facets": []}"
kafkaPort: 9092
created: "2011-07-14 16:25:50"
broker_host: "jwang-md.local"
status_display: "New"
Expand Down
2 changes: 0 additions & 2 deletions client/python/sin/sin_client.py
Expand Up @@ -303,8 +303,6 @@ def openStore(self, name, api_key):
#storeConfig = jsonObj.get('config')
#storeCreated = jsonObj['created']
#storeStatus = jsonObj['status']
#kafkaHost = jsonObj['kafkaHost']
#kafkaPort = jsonObj['kafkaPort']
#description = jsonObj.get('description',None)
#status = jsonObj['status_display']

Expand Down

0 comments on commit 241f0d6

Please sign in to comment.