Skip to content

Commit

Permalink
[OPENENGSB-848] ProM report connector
Browse files Browse the repository at this point in the history
  • Loading branch information
SoFabian committed Apr 13, 2011
1 parent 9c43fe5 commit 903fa4f
Show file tree
Hide file tree
Showing 37 changed files with 2,627 additions and 0 deletions.
113 changes: 113 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
#
# Copyright 2010 OpenEngSB Division, Vienna University of Technology
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#=================
#eclipse-workspace
#=================
eclipse-workspace

#=================
#eclipse-project
#=================
*.project
*.classpath
*.settings
*bin
*.springBeans
*.checkstyle
.checkstyleCheckerConfig

#=================
#intellij-project
#=================
*.iml
*.ipr
*.iws
*classes

#=================
#netbeans-project
#=================
core/workflow/data
nb-configuration.xml
nbactions.xml

#=================
#maven-files
#=================
*target

#================
#log files
#================
*engsb.log*
*velocity.log*

#================
#runtime productions
#================
*activemq-data
core/config/ui/data
engsb-edb-core/dump
package/embedded/*.log
package/embedded/data/

#================
#Mac OS X hidden files/folders
#================
.DS_Store

#================
#WinXP hidden files/folders
#================
*Thumbs.db

#================
#Documentation artifacts
#================
*.dia~

#================
#Assembly artifacts
#================
*.zip

#================
#Easy2Find
#================
easy2find

#================
#pver ignores
#================
pconf.pyc

#================
#pax-provision
#================
*runner

#================
#wicket generated files
#================
*.tmp_*
velocity.log*

#================
#vi tmp files
#================
*.swp

22 changes: 22 additions & 0 deletions osgi.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# Copyright 2010 OpenEngSB Division, Vienna University of Technology
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

Import-Package: org.springframework.osgi.service.importer,\
org.aopalliance.aop,\
org.aopalliance.intercept,\
org.springframework.aop,\
org.springframework.aop.framework,\
*
83 changes: 83 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010 OpenEngSB Division, Vienna University of Technology
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<parent>
<groupId>org.openengsb.connector</groupId>
<artifactId>openengsb-connector-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
</parent>


<properties>
<bundle.symbolicName>org.openengsb.connector.promreport</bundle.symbolicName>
<bundle.namespace>org.openengsb.connector.promreport</bundle.namespace>
</properties>

<modelVersion>4.0.0</modelVersion>
<groupId>org.openengsb.connector</groupId>
<artifactId>openengsb-connector-promreport</artifactId>
<version>1.2.0-SNAPSHOT</version>

<name>OpenEngSB :: Connector :: ProM Report</name>

<packaging>bundle</packaging>

<description>ProM Report Connector implements the Report Domain and generates files in MXML format, which can be analyzed with the ProM framework.</description>
<url>http://www.openengsb.org</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:git://github.com/openengsb/openengsb.git</connection>
<developerConnection>scm:git:git@github.com:openengsb/openengsb.git</developerConnection>
<url>http://github.com/openengsb/openengsb</url>
</scm>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
</build>

<dependencies>
<dependency>
<groupId>org.openengsb.core</groupId>
<artifactId>openengsb-core-common</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openengsb.domain</groupId>
<artifactId>openengsb-domain-report</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openengsb.core</groupId>
<artifactId>openengsb-core-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/**
* Copyright 2010 OpenEngSB Division, Vienna University of Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.openengsb.connector.promreport;

import org.openengsb.connector.promreport.internal.PromReportFactory;
import org.openengsb.connector.promreport.internal.PromReportService;
import org.openengsb.core.common.AbstractServiceManager;
import org.openengsb.domain.report.ReportDomain;

public class PromReportServiceManager extends AbstractServiceManager<ReportDomain, PromReportService> {

public PromReportServiceManager(PromReportFactory plaintextReportBuilder) {
super(plaintextReportBuilder);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/**
* Copyright 2010 OpenEngSB Division, Vienna University of Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openengsb.connector.promreport.internal;

import org.openengsb.connector.promreport.internal.mxml.AuditTrailEntry;
import org.openengsb.core.common.Event;

public interface EventTransformator {

/**
* Extract a processId from the event
*/
Long getProcessId(Event e);

/**
* Transform an event to an AuditTrailEntry in the Mxml format
*/
AuditTrailEntry transform(Event e);

}
Loading

0 comments on commit 903fa4f

Please sign in to comment.