diff --git a/.classpath b/.classpath
index f619a53..a673149 100644
--- a/.classpath
+++ b/.classpath
@@ -20,6 +20,7 @@
+
diff --git a/src/main/java/org/gcube/accounting/datamodel/RawUsageRecord.java b/src/main/java/org/gcube/accounting/datamodel/RawUsageRecord.java
index 24c5bb5..4fa1a77 100644
--- a/src/main/java/org/gcube/accounting/datamodel/RawUsageRecord.java
+++ b/src/main/java/org/gcube/accounting/datamodel/RawUsageRecord.java
@@ -319,8 +319,13 @@ public class RawUsageRecord extends BasicUsageRecord {
* @return a Map containing the properties
*/
@Deprecated
- public Map getResourceSpecificProperties() {
- return getResourceProperties();
+ public Map getResourceSpecificProperties() {
+ Map ret = new HashMap();
+ for(String key : this.resourceProperties.keySet()){
+ String value = this.resourceProperties.get(key).toString();
+ ret.put(key, value);
+ }
+ return ret;
}
/**
@@ -339,8 +344,8 @@ public class RawUsageRecord extends BasicUsageRecord {
* @return the value of the given resource property
*/
@Deprecated
- public Serializable getResourceSpecificProperty(String key) {
- return getResourceProperty(key);
+ public String getResourceSpecificProperty(String key) {
+ return getResourceProperty(key).toString();
}
/**
diff --git a/src/main/java/org/gcube/accounting/messaging/QueueCouple.java b/src/main/java/org/gcube/accounting/messaging/QueueCouple.java
new file mode 100644
index 0000000..e0057bb
--- /dev/null
+++ b/src/main/java/org/gcube/accounting/messaging/QueueCouple.java
@@ -0,0 +1,40 @@
+package org.gcube.accounting.messaging;
+
+@Deprecated
+public class QueueCouple {
+
+ private String broker;
+ private String scope;
+
+ @Deprecated
+ public QueueCouple(String broker, String scope) {
+ super();
+ this.broker = broker;
+ this.scope = scope;
+ }
+
+ @Deprecated
+ public String getBroker() {
+ return broker;
+ }
+
+ @Deprecated
+ public void setBroker(String broker) {
+ this.broker = broker;
+ }
+
+ @Deprecated
+ public String getScope() {
+ return scope;
+ }
+
+ @Deprecated
+ public void setScope(String scope) {
+ this.scope = scope;
+ }
+
+
+
+
+
+}