Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Update class to use Subscriber class
Browse files Browse the repository at this point in the history
  • Loading branch information
davetobin committed Nov 29, 2016
1 parent 4389a45 commit 9ef09f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import com.ibm.commons.util.io.json.JsonJavaObject;
import com.ibm.sbt.provisioning.sample.app.model.Rest;
import com.ibm.sbt.provisioning.sample.app.services.GRTESubscriber;
import com.ibm.sbt.provisioning.sample.app.services.Subscriber;
import com.ibm.sbt.provisioning.sample.app.task.BSSProvisioning;
import com.ibm.sbt.provisioning.sample.app.util.BSSEndpoints;
import com.ibm.sbt.provisioning.sample.app.weightedBSSCall.WeightedBSSCall;
Expand All @@ -45,7 +45,7 @@ protected String doCall() throws Exception {
String subscriberId = null ;
try {
logger.fine("triggering call : " + this.getUrl() + " " + getMethod());
JsonJavaObject subscriber = GRTESubscriber.getInstance().getService().addSubscriberSuppressEmail(this.subscriberJson);
JsonJavaObject subscriber = Subscriber.getInstance().getService().addSubscriberSuppressEmail(this.subscriberJson);
subscriberId = String.valueOf(subscriber.getAsLong("Long"));
BSSProvisioning.getStateTransitionReport().get(email)[1] =
new SimpleDateFormat(BSSProvisioning.DATE_FORMAT).format(new Date());
Expand Down

0 comments on commit 9ef09f7

Please sign in to comment.