pm4knime-core

This repository includes the latest release version of pm4knime.

https://github.com/pm4knime/pm4knime-core

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

This repository includes the latest release version of pm4knime.

Basic Info
  • Host: GitHub
  • Owner: pm4knime
  • License: apache-2.0
  • Language: Java
  • Default Branch: release
  • Homepage:
  • Size: 317 MB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • Open Issues: 3
  • Releases: 0
Created over 6 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog License Citation Zenodo

README.md

KNIME node skeleton with sample code as described here.

Build Status SonarCloud Gate SonarCloud Coverage

This project uses Eclipse Tycho to perform build steps.

Installation

Requirements:

  • KNIME, https://www.knime.org, version 4.0 or higher

Steps to get the Dummy KNIME node inside KNIME:

  1. Goto Help > Install new software ... menu
  2. Press add button
  3. Fill text fields with url of update site which contains this node.
  4. Select --all sites-- in work with pulldown
  5. Select the node
  6. Install software
  7. Restart KNIME

Usage

  1. Create a new KNIME workflow.
  2. Find node in Node navigator panel.
  3. Drag node to workflow canvas.

Build

To build the node extension and verify the tests run with the following command: mvn verify

Make sure all code is commited as the snapshot version is determined by git commit timestamp.

An Eclipse update site will be made in p2/target/repository directory. The update site can be used to perform a local installation.

Continuous Integration

Configuration files to run Continuous Integration builds on Linux (Travis-CI), OS X (Travis-CI) and Windows (AppVeyor) are present.

See ./.travis.yml file how to trigger a Travis-CI build for every push or pull request. Also see ./.travis.yml file how to perform a SonarCloud analysis and code coverage.

See ./appveyor.yml file how to run on https://www.appveyor.com .

To cite the KNIME node, a DOI can be generated when a GitHub release is made. To enable, the GitHub repository must be connected on https://zenodo.org/account/settings/github/ . The connection must be made before creating a GitHub release. To cite the software a human and computer readable file called CITATION.cff is included.

Development

Steps to get development environment setup based on https://github.com/knime/knime-sdk-setup#sdk-setup:

  1. Install Java 8
  2. Install Eclipse for RCP and RAP developers
  3. Configure Java 8 inside Eclipse Window > Preferences > Java > Installed JREs
  4. Import this repo as an Existing Maven project
  5. Activate target platform by going to Window > Preferences > Plug-in Development > Target Platform and check the KNIME Analytics Platform (4.0) - pm4knime.targetplatform/KNIME-AP-4.0.target target definition.
  6. A KNIME Analytics Platform instance can be started by right clicking on the targetplatform/KNIME\ Analytics\ Platform.launch file and selecting Run As → KNIME Analytics Platform. The KNIME instance will contain the target platform together with all extensions defined in the workspace.

During import the Tycho Eclipse providers must be installed.

Tests

Tests for the node are in tests/src directory. Tests can be executed with mvn verify, they will be run in a separate KNIME environment. Test results will be written to test/target/surefire-reports directory. Code coverage reports (html+xml) can be found in the tests/target/jacoco/report/ directory.

The tests can be run against a different KNIME version using mvn verify -Dtarget.file=KNIME-AP-4.1 where 4.1 is the major.minor version of KNIME and KNIME-AP-4.1 is a target platform definition file called targetplatform/KNIME-AP-4.1.target.

Unit tests

Unit tests written in Junit4 format can be put in tests/src/java.

Workflow tests

See https://github.com/3D-e-Chem/knime-testflow#3-add-test-workflow

Speed up builds

Running mvn commands can take a long time as Tycho fetches indices of all p2 update sites. This can be skipped by running maven offline using mvn -o.

New release

  1. Update versions in pom files with mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version>-SNAPSHOT command.
  2. Create package with mvn package, will create update site in p2/target/repository
  3. Run tests with mvn verify
  4. Optionally, test node by installing it in KNIME from a local update site
  5. Append new release to an update site
    1. Make clone of an update site repo
    2. Append release to the update site with mvn install -Dtarget.update.site=<path to update site>
  6. Commit and push changes in this repo and update site repo.
  7. Create a Github release
  8. Update Zenodo entry
    1. Correct authors
    2. Correct license

Attributes

The https://github.com/3D-e-Chem/tycho-knime-node-archetype was used as as archetype for this repository.

Owner

  • Name: PM4KNIME
  • Login: pm4knime
  • Kind: organization
  • Email: pm4knime@fit.fraunhofer.de

pm4knime is developed as one community extension in KNIME, in order to bring process mining to KNIME community.

Citation (CITATION.cff)

# YAML 1.2
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
cff-version: 1.0.3
message: If you use this software, please cite it as below.
title: pm4knime-maven
authors: Kefang Ding
## Uncomment and replace `<changeme>` with actual author names
#- given-names: <changeme>
#  family-names: <changeme>
#  affiliation: <changeme>
#  orcid: https://orcid.org/<changeme>
repository-code: https://github.com/KFDing/pm4knime-maven
license: Apache-2.0
version: 0.0.2-SNAPSHOT

GitHub Events

Total
Last Year

Dependencies

prom-wrapper/ivy.xml maven
  • javax.xml.bind:jaxb-api 2.4.0-b180830.0359
  • prom:AlphaMiner latest
  • prom:DirectlyFollowsModelMiner latest
  • prom:ETConformance latest
  • prom:ExtendedHybridMiner latest
  • prom:HeuristicsMiner latest
  • prom:HybridILPMiner latest
  • prom:IncorporateNegativeInformation latest
  • prom:InductiveMiner latest
  • prom:LogEnhancement latest
  • prom:LogProjection latest
  • prom:PNetAlignmentAnalysis latest
  • prom:PNetReplayer latest
  • prom:Performance latest
  • prom:XESStandard latest
  • prom:XESStandardConnector latest
prom-wrapper/pom.xml maven
  • org.apache.ivy:ivy 2.5.0
feature/pom.xml maven
p2/pom.xml maven
plugin/pom.xml maven
pom.xml maven
targetplatform/pom.xml maven
tests/pom.xml maven