killbill-uncached

Details

diff --git a/api/src/main/java/com/ning/billing/invoice/api/InvoiceItemType.java b/api/src/main/java/com/ning/billing/invoice/api/InvoiceItemType.java
new file mode 100644
index 0000000..ce066a4
--- /dev/null
+++ b/api/src/main/java/com/ning/billing/invoice/api/InvoiceItemType.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2010-2011 Ning, Inc.
+ *
+ * Ning licenses this file to you under the Apache License, version 2.0
+ * (the "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at:
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package com.ning.billing.invoice.api;
+
+public enum InvoiceItemType {
+    FIXED,
+    RECURRING,
+    REVERSAL,
+    MIGRATION,
+    REFUND,
+    CHARGE_BACK,
+    ADD_CREDIT,
+    USE_CREDIT
+}
diff --git a/api/src/main/java/com/ning/billing/util/entity/ExtendedEntity.java b/api/src/main/java/com/ning/billing/util/entity/ExtendedEntity.java
index 48d26d5..b64e9c3 100644
--- a/api/src/main/java/com/ning/billing/util/entity/ExtendedEntity.java
+++ b/api/src/main/java/com/ning/billing/util/entity/ExtendedEntity.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 Ning, Inc.
+ *
+ * Ning licenses this file to you under the Apache License, version 2.0
+ * (the "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at:
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
 package com.ning.billing.util.entity;
 
 import com.ning.billing.util.customfield.Customizable;
diff --git a/util/src/test/java/com/ning/billing/util/tag/TestTagStore.java b/util/src/test/java/com/ning/billing/util/tag/TestTagStore.java
index 8138bbe..f742709 100644
--- a/util/src/test/java/com/ning/billing/util/tag/TestTagStore.java
+++ b/util/src/test/java/com/ning/billing/util/tag/TestTagStore.java
@@ -90,10 +90,10 @@ public class TestTagStore {
 
             helper.startMysql();
             helper.initDb(utilDdl);
+            tagSqlDao = dbi.onDemand(TagSqlDao.class);
             tagSqlDao.test();
 
             context = new DefaultCallContextFactory(clock).createCallContext("Tag store test", CallOrigin.TEST, UserType.TEST);
-            tagSqlDao = dbi.onDemand(TagSqlDao.class);
 
             cleanupTags();
             tag1 = tagDefinitionDao.create("tag1", "First tag", context);