Skip to content

Instantly share code, notes, and snippets.

View pentaho-nbaker's full-sized avatar

Nick Baker pentaho-nbaker

  • Pentaho Corp.
  • Orlando, FL
View GitHub Profile
[log;-0500 2017.03.02 09:46:15:171;WARNING;org.eclipse.ecf.osgi.services.remoteserviceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=2;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:doImportService:getRemoteServiceReferences return null for targetID=StringID[XUUn7XdW6pdmj8bNk0bEjv947A8=],idFilter=[Lorg.eclipse.ecf.core.identity.ID;@305ad383,intf=org.pentaho.di.engine.api.remote.ExecutionManager,rsFilter=(&(ecf.rsvc.id=3)) on rsContainerID=StringID[ecftcp://nbaker-ThinkPad-P50:35745/server];severity2;exception=null;children=[]]]
[log;-0500 2017.03.02 09:46:15:173;ERROR;org.eclipse.ecf.osgi.services.remoteserviceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:importService:selectRemoteServiceReference returned null for rsRefs=[],targetID=StringID[XUUn7XdW6pdmj8bNk0bEjv947A8=],idFilter=[Lorg.eclipse.ecf.co
import scala.util.{Failure, Success}
import scala.concurrent.duration._
import akka.actor.ActorSystem
import akka.pattern.ask
import akka.event.Logging
import akka.io.IO
import spray.json.{DefaultJsonProtocol, JsonFormat}
import spray.can.Http
import spray.httpx.SprayJsonSupport
import spray.client.pipelining._
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" name="pentaho-kettle-assembly">
<repository>mvn:org.apache.camel.karaf/apache-camel/2.16.1/xml/features</repository>
<repository>mvn:pentaho/pentaho-karaf-features/${project.version}/xml/standard</repository>
<repository>mvn:pentaho/pentaho-karaf-features/${project.version}/xml/enterprise</repository>
<repository>mvn:org.apache.activemq/activemq-karaf/5.13.0/xml/features</repository>
<feature name="pentaho-kettle-feature-base" description="Pentaho Community Edition Project: pentaho-kettle-assembly" version="6.1.0.SNAPSHOT">
<details>a Pentaho open source project</details>
@pentaho-nbaker
pentaho-nbaker / pom.xml
Last active April 25, 2016 15:52
Using new Maven plugin to build feature.xml
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>pentaho</groupId>
<artifactId>pentaho-kettle-karaf</artifactId>
<version>6.1-SNAPSHOT</version>
<relativePath>../</relativePath>
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
* or from the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
* or from the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
package org.pentaho.platform.engine.core.system.objfac;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.Constants;
import org.osgi.framework.InvalidSyntaxException;
import org.osgi.framework.ServiceFactory;
import org.osgi.framework.ServiceReference;
import org.osgi.framework.ServiceRegistration;
import org.pentaho.platform.api.engine.IPentahoInitializer;
@pentaho-nbaker
pentaho-nbaker / gist:32de4896e5f39aae951f
Created August 20, 2015 12:29
ivy-settings.xml with Local Maven support
<?xmlversion="1.0"encoding="UTF-8"?>
<ivysettings>
<propertiesenvironment="env"/>
<propertyname="ivy.local.default.root"value="${ivy.default.ivy.user.dir}/local"override="true"/>
<propertyname="ivy.local.default.artifact.pattern"value="[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]"
override="false"/>
<!-- Repository for Pentaho-hosted artifacts -->
<propertyname="pentaho.resolve.repo"value="http://ivy-nexus.pentaho.org/content/groups/omni"override="false"/>
<!-- Repository for External-hosted artifacts (Optional. Defaults to Pentaho-hosted.) -->
@pentaho-nbaker
pentaho-nbaker / PentahoOSGIActivator.java
Created August 18, 2015 19:46
Setting BundleContext
package org.pentaho.platform.osgi;
import org.osgi.framework.BundleContext;
import org.pentaho.platform.engine.core.system.PentahoSystem;
import org.pentaho.platform.engine.core.system.objfac.OSGIObjectFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletContext;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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