coord.put(CONTENT_TYPE, type);
coord.put(HTTP_REQUEST, request);
coord.put(HTTP_RESPONSE, response);
Map output = new HashMap();
// TODO: MUST send account and app so that the router knows what cube to get.
ApplicationID appId = new ApplicationID(null, null, version);
NCube routingCube = NCubeManager.getCube(cubeName, appId);
if (routingCube == null)
{
throw new IllegalStateException("In order to use the n-cube CDN routing capabilities, " +
"a CdnRouter n-cube must already be loaded, and it's name passed in as CdnRouter.CUBE_NAME");