Skip to content
Snippets Groups Projects
Commit 9f649d56 authored by Komal Makkar's avatar Komal Makkar
Browse files

minor changes

parent 758740a3
No related branches found
No related tags found
1 merge request!15Integration tests Refactored
Pipeline #7405 failed
...@@ -56,7 +56,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor { ...@@ -56,7 +56,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor {
} }
@Override @Override
public Map<String,String> getOsduTenantHeaders(){ public Map<String,String> getOsduTenantHeaders() {
Map<String, String> headers = new HashMap<>(); Map<String, String> headers = new HashMap<>();
headers.put("Aeg-Subscription-Name", arg()); headers.put("Aeg-Subscription-Name", arg());
headers.put("data-partition-id", Config.Instance().OsduTenant); headers.put("data-partition-id", Config.Instance().OsduTenant);
......
...@@ -53,7 +53,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor { ...@@ -53,7 +53,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor {
@Override @Override
public Map<String,String> getOsduTenantHeaders(){ public Map<String,String> getOsduTenantHeaders(){
Map<String, String> headers = new HashMap<>(); Map<String, String> headers = new HashMap<>();
headers.put("data-partition-id", Config.Instance().ClientTenant); headers.put("data-partition-id", Config.Instance().OsduTenant);
return headers; return headers;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment