aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-09-10 11:10:43 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-09-10 11:10:43 +0200
commit077054b6e3016e4cfeb6bae501eb52fc62f58208 (patch)
tree590055aecb8c6d7528d7f52da3aa07a17acebac1 /id/server/idserverlib/src/main
parente9bcc578b0501bc171fe1b6795c57249e9107ae1 (diff)
downloadmoa-id-spss-077054b6e3016e4cfeb6bae501eb52fc62f58208.tar.gz
moa-id-spss-077054b6e3016e4cfeb6bae501eb52fc62f58208.tar.bz2
moa-id-spss-077054b6e3016e4cfeb6bae501eb52fc62f58208.zip
add metadata provider info message if not online-application is found
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/metadata/MOAMetadataProvider.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/metadata/MOAMetadataProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/metadata/MOAMetadataProvider.java
index a57fb5717..cba64e080 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/metadata/MOAMetadataProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/metadata/MOAMetadataProvider.java
@@ -261,6 +261,10 @@ public class MOAMetadataProvider implements MetadataProvider {
List<OnlineApplication> oaList = ConfigurationDBRead
.getAllActiveOnlineApplications();
+
+ if (oaList.size() == 0)
+ Logger.info("No Online-Application configuration found. PVP 2.1 metadata provider initialization failed!");
+
Iterator<OnlineApplication> oaIt = oaList.iterator();
while (oaIt.hasNext()) {
HTTPMetadataProvider httpProvider = null;