Commit feaceb80 authored by Komal Makkar's avatar Komal Makkar
Browse files

intermediate changes

parent fa961b53
Pipeline #30611 failed with stages
in 2 minutes and 27 seconds
......@@ -71,6 +71,9 @@ public class SubscriptionRepository implements ISubscriptionRepository {
@Autowired
private PushSubscription pushSubscription;
@Autowired
private TopicsRepositoryImpl topicsRepository;
/**
* @param input Subscription Object
* @return Subscription Object
......@@ -315,7 +318,7 @@ public class SubscriptionRepository implements ISubscriptionRepository {
}
/*return new Subscription(doc.getId(), doc.getName(),doc.getDescription(), topicsHelper.extractDisplayName(doc.getTopic()), doc.getPushEndpoint(),
doc.getCreatedBy(), doc.getCreatedOnEpoch(), doc.getNotificationId(), secret);*/
return new Subscription(doc.getId(), doc.getName(),doc.getDescription(), partitionHelper.getFullyQualifiedTopicName(doc.getTopic()), doc.getPushEndpoint(),
return new Subscription(doc.getId(), doc.getName(),doc.getDescription(), topicsRepository.getTopicAliasFromFullyQualifiedTopicName(doc.getTopic()), doc.getPushEndpoint(),
doc.getCreatedBy(), doc.getCreatedOnEpoch(), doc.getNotificationId(), secret);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment