File tree Expand file tree Collapse file tree
main/java/com/labs64/netlicensing/domain
test/java/com/labs64/netlicensing/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >com.labs64.netlicensing</groupId >
88 <artifactId >netlicensing-client-parent</artifactId >
9- <version >2.4.0 -SNAPSHOT</version >
9+ <version >2.3.1 -SNAPSHOT</version >
1010 </parent >
1111
1212 <artifactId >netlicensing-client-demo</artifactId >
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >com.labs64.netlicensing</groupId >
88 <artifactId >netlicensing-client-parent</artifactId >
9- <version >2.4.0 -SNAPSHOT</version >
9+ <version >2.3.1 -SNAPSHOT</version >
1010 </parent >
1111
1212 <artifactId >netlicensing-client</artifactId >
Original file line number Diff line number Diff line change @@ -107,12 +107,18 @@ public static final class License {
107107 }
108108
109109 public static final class LicensingModel {
110+
111+ public static final String VALID = "valid" ;
112+
110113 public static final class TryAndBuy {
111114 public static final String NAME = "TryAndBuy" ;
112115 }
113116
114117 public static final class Rental {
115118 public static final String NAME = "Rental" ;
119+ /**
120+ * @deprecated please use com.labs64.netlicensing.domain.Constants.LicensingModel#VALID instead.
121+ */
116122 public static final String VALID = "valid" ;
117123 public static final String RED_THRESHOLD = "redThreshold" ;
118124 public static final String YELLOW_THRESHOLD = "yellowThreshold" ;
@@ -122,6 +128,14 @@ public static final class Rental {
122128 public static final class Subscription {
123129 public static final String NAME = "Subscription" ;
124130 }
131+
132+ public static final class Floating {
133+ public static final String NAME = "Floating" ;
134+ }
135+
136+ public static final class MultiFeature {
137+ public static final String NAME = "MultiFeature" ;
138+ }
125139 }
126140
127141 public static final class Transaction {
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ public void testValidate() throws Exception {
163163 assertEquals (
164164 "true" ,
165165 validation .getProperties ().get ("LIST1" ).getProperties ()
166- .get (Constants .LicensingModel .Rental . VALID ).getValue ());
166+ .get (Constants .LicensingModel .VALID ).getValue ());
167167 assertEquals (
168168 "green" ,
169169 validation .getProperties ().get ("LIST2" ).getProperties ()
Original file line number Diff line number Diff line change 55
66 <groupId >com.labs64.netlicensing</groupId >
77 <artifactId >netlicensing-client-parent</artifactId >
8- <version >2.4.0 -SNAPSHOT</version >
8+ <version >2.3.1 -SNAPSHOT</version >
99 <packaging >pom</packaging >
1010 <name >Labs64 :: NetLicensing :: Client :: Parent</name >
11- <url >http://www.labs64.com/ netlicensing</url >
11+ <url >http://netlicensing.io </url >
1212 <description >Java wrapper for Labs64 NetLicensing RESTful API</description >
1313 <inceptionYear >2014</inceptionYear >
1414
8888 <commons-collections4 .version>4.1</commons-collections4 .version>
8989 <commons-codec .version>1.10</commons-codec .version>
9090 <log4j .version>1.2.17</log4j .version>
91- <slf4j .version>1.7.18 </slf4j .version>
91+ <slf4j .version>1.7.20 </slf4j .version>
9292 <junit .version>4.12</junit .version>
9393 <jersey .version>2.21</jersey .version>
9494
You can’t perform that action at this time.
0 commit comments