Skip to content

Commit

Permalink
Change header name to "Hawkular-Tenant"
Browse files Browse the repository at this point in the history
  • Loading branch information
tsegismont committed May 15, 2015
1 parent 2327fbf commit a81e043
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/
@Provider
public class TenantFilter implements ContainerRequestFilter {
public static final String TENANT_HEADER_NAME = "tenantId";
public static final String TENANT_HEADER_NAME = "Hawkular-Tenant";

private static final String TENANT_QUERY_PARAM_NAME = "tenantId";
private static final String MISSING_TENANT_MSG;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
public class RestForwardingHandler extends ChannelInboundHandlerAdapter {
private static final Logger LOG = LoggerFactory.getLogger(RestForwardingHandler.class);

public static final String TENANT_HEADER_NAME = "tenantId";
public static final String TENANT_HEADER_NAME = "Hawkular-Tenant";

private final String restHost;
private final int restPort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RESTTest {
static final double DELTA = 0.001
static final String TENANT_PREFIX = UUID.randomUUID().toString()
static final AtomicInteger TENANT_ID_COUNTER = new AtomicInteger(0)
static String tenantHeaderName = "tenantId";
static String tenantHeaderName = "Hawkular-Tenant";
static RESTClient hawkularMetrics
static defaultFailureHandler

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @author Jeeva Kandasamy
*/
public class RESTTest {
static final String TENANT_HEADER_NAME = "tenantId";
static final String TENANT_HEADER_NAME = "Hawkular-Tenant";

static String baseURI = System.getProperty("hawkular-metrics.base-uri", "127.0.0.1:8080/hawkular/metrics");
static ResteasyClient restClient = null;
Expand Down

0 comments on commit a81e043

Please sign in to comment.