Hello Alon Bar-Lev,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/27145
to review the following change.
Change subject: packaging: doc: extract AuditLogMessages.properties as doc for
notifier
......................................................................
packaging: doc: extract AuditLogMessages.properties as doc for notifier
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1084138
Change-Id: Ifb6d56511011e76aebd3b0dc558d8c2f9c94d2d1
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M Makefile
M ovirt-engine.spec.in
M packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
3 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/45/27145/1
diff --git a/Makefile b/Makefile
index 4c25a20..463d884 100644
--- a/Makefile
+++ b/Makefile
@@ -328,6 +328,13 @@
install -dm 0755 "$(DESTDIR)$(PKG_EAR_DIR)"
find "$(MAVEN_OUTPUT_DIR)" -name '*.ear' -type f | grep -v tmp.repos |
xargs -n 1 unzip -q -o -d "$(DESTDIR)$(PKG_EAR_DIR)"
+ # extract embedded artifacts as doc
+ # no need to relay on source tree for these
+ install -d -m 755 "$(DESTDIR)$(PKG_DOC_DIR)"
+ unzip -q -c
"$(DESTDIR)$(PKG_JBOSS_MODULES)/org/ovirt/engine/core/dal/main/dal.jar"
bundles/AuditLogMessages.properties > \
+ "$(DESTDIR)$(PKG_DOC_DIR)/AuditLogMessages.properties"
+ chmod 0644 "$(DESTDIR)$(PKG_DOC_DIR)/AuditLogMessages.properties"
+
install_poms:
install -dm 755 "$(DESTDIR)$(MAVENPOM_DIR)"
install -m 644 backend/manager/modules/bll/pom.xml
"$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-bll.pom"
diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index b650917..0938960 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -818,6 +818,7 @@
%{engine_data}/conf/osinfo-defaults.properties
%{engine_data}/conf/sysprep/
%{engine_data}/files/
+%{engine_doc}/AuditLogMessages.properties
%{engine_ear}/META-INF
%{engine_ear}/bll.jar
%{engine_ear}/docs.war/
diff --git
a/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
b/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
index 35f0995..1cdbe24 100644
--- a/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
+++ b/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
@@ -87,6 +87,9 @@
# * = all messages/all subscribers.
# * as a subscriber should be used only for exclude.
#
+# Message constants can be found at:
+# @ENGINE_DOC@/AuditLogMessages.properties
+#
# examples:
# FILTER="include:VDC_START(smtp:[email protected]) ${FILTER}"
# FILTER="exclude:VDC_START include:*(smtp:[email protected]) ${FILTER}"
--
To view, visit http://gerrit.ovirt.org/27145
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb6d56511011e76aebd3b0dc558d8c2f9c94d2d1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: mooli tayer <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches