Skip to content

Instantly share code, notes, and snippets.

View jacbeekers's full-sized avatar

Jac. jacbeekers

  • Amsterdam
View GitHub Profile
@jacbeekers
jacbeekers / airflow-from-scratch.txt
Created April 7, 2019 19:51
Apache Airflow from scratch on RedHat Linux 6.5 base install
Installed: Oracle Linux 6.5 Base system
=====================
Login as user root (or run the commands as user that has the privileges to create users)
=====================
1. As root, create the airflow user:
# useradd airflow
# passwd airflow
<type in a nice password><twice>
#-- ---------------------------------------------------------------------------------------------
#-- File:
#-- application.properties
#-- ---------------------------------------------------------------------------------------------
#-- Version | Changed | Changed by | Changes
#-- ---------------------------------------------------------------------------------------------
#-- 1.0 | 20-JUL-2012 | Jac. Beekers | initial version
#-- ---------------------------------------------------------------------------------------------
#-- Purpose:
#-- Store allowed database connections and fitnesse functionality for a given application
#-- File: wsh.properties
#-- Purpose:
#-- Parameter file for powercenter web services definitions in fitnesse
#-- --------------------------------------------------------------------------
#-- Pattern:
#-- <connectionname>: <WSDL URL>
#-- Where:
#-- <connectioname> = logical name of the web services hub
#-- <WSDL URL> = the entire URL as can be found in the wsh definitin
#-- Notes:
# directory.properties
#
# Logical to physical directory mappings
# Syntax:
# <logical_name> = <physical_name>
# in which
# <logical_name> is the name to be used on FitNesse test pages
# <physical_name> is the path (typically the full path) of the directory
# Example:
# base = /Users/Ik1/consag/fitnesse/FitNesseRoot/files/
# Fixture properties
# ==================
# Properties can be
# - not set --> default value in source code
# - set at fixture level --> overrules source code defaults
# - set at application level --> overrules fixture level setting and source code defaults
#
#-- ------------------------
#-- JobDefinition properties
#-- ------------------------
@jacbeekers
jacbeekers / stopWorkflowExample
Created November 20, 2016 20:22
Example FitNesse fixture StopWorkflow
!1 Example how to stop a workflow with various options
----
!define app {Demo}
!define folder {Demo_Sandbox_Jac}
!define wf {wf_FixtureTest01}
!3 Basic call
|stop workflow|basic_stopcall_wf |
|application |folder |workflow name|Report error if not running|workflow stopped?|
#--
#-- appwsh.properties
#-- For fitnesse
#-- Relation between application/environment and logical web service hub name
#--
#-- Environment:WSHNameDI:WSHNameMetaServices
#-- The environment name must match an environment listed in the powercenter.properties file.
#-- The WSHNameDI value must match a name in the wsh.properties file
#-- the WSHNameMetaServices value must match a name in the wsh.properties file
#--
@jacbeekers
jacbeekers / startWorkflowExample.txt
Last active November 11, 2016 10:00
Documentation startWorkflow fixture
!3 Invoke a workflow
The following workflow gets the customer data from the Oracle Sample schema SH and stores the data in a target table.
|start workflow run_technical_demo
|Application |Folder |Workflow name |log level|abort on error|workflow successful?|error?|get log filename?|
|Demo |SH_Demo|!-GetCustomers-!|INFO |No |Yes | | |
!note All content is provided as-is. No support. No liability. No responsibility.
!note But we WILL help: Check our blog on https://consagservices.net/blog
@jacbeekers
jacbeekers / makebootable.README
Created June 7, 2015 20:36
FitNesse Fixtures snippets
#-
#- The following makes the FitNesse installation bootable
#- Assumptions:
#- 1. You have the shell script 'procFitNesse' - you can get this from github
#- 2. Your user is allowed to sudo - if not, ask your sysadmin (root) to execute the commands
#-
#- copy procFitNesse as fitnesse under init.d
sudo cp -p procFitNesse /etc/init.d/fitnesse
#- root will run this