diff --git a/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/org/wso2/carbon/governance/notifications/ui/i18n/Resources.properties b/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/org/wso2/carbon/governance/notifications/ui/i18n/Resources.properties
index 31b8250f1..8cdbe39c8 100644
--- a/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/org/wso2/carbon/governance/notifications/ui/i18n/Resources.properties
+++ b/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/org/wso2/carbon/governance/notifications/ui/i18n/Resources.properties
@@ -86,3 +86,10 @@ work.list.add.new.notifications=Add Request To Work List
work.list.hide=Hide
work.list.create=Create
work.list.cancel=Cancel
+
+publisher.checklist.checked=Publisher Checklist Check
+publisher.checklist.unchecked=Publisher Checklist Uncheck
+publisher.lifecycle.state.changed=Publisher Lifecycle Change
+publisher.update=Publisher Update
+store.lifecycle.state.changed=Store Lifecycle Change
+store.update=Store Update
diff --git a/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/web/notifications/registrysubscription-ajaxprocessor.jsp b/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/web/notifications/registrysubscription-ajaxprocessor.jsp
index 60665ccd0..baa3b5ab7 100644
--- a/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/web/notifications/registrysubscription-ajaxprocessor.jsp
+++ b/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/resources/web/notifications/registrysubscription-ajaxprocessor.jsp
@@ -35,6 +35,7 @@
String[] events = null;
String[] resourceEventNames = null;
String[] collectionEventNames = null;
+ boolean[] isEventVisible = null;
boolean isResource = true;
boolean canSubscribeOthers = false;
boolean canSubscribeOtherRoles = false;
@@ -63,11 +64,17 @@
events = new String[eventTypes.length];
resourceEventNames = new String[eventTypes.length];
collectionEventNames = new String[eventTypes.length];
+ isEventVisible = new boolean[eventTypes.length];
for (int i = 0; i < eventTypes.length; i++) {
if (eventTypes[i] != null) {
events[i] = eventTypes[i].getId();
resourceEventNames[i] = eventTypes[i].getResourceEvent();
collectionEventNames[i] = eventTypes[i].getCollectionEvent();
+ if (eventTypes[i].getId().startsWith("publisher") || eventTypes[i].getId().startsWith("store")){
+ isEventVisible[i] = false;
+ } else{
+ isEventVisible[i] = true;
+ }
}
}
if (request.getParameter("path") != null) {
@@ -97,7 +104,7 @@
<%
for (int i = 0; i < events.length; i++) {
if (isResource) {
- if (resourceEventNames[i] != null) {
+ if (resourceEventNames[i] != null && isEventVisible[i]) {
%>
<%
}
- } else if (collectionEventNames[i] != null) {
+ } else if (collectionEventNames[i] != null && isEventVisible[i]) {
%>