Skip to content

Instantly share code, notes, and snippets.

View sherl0cks's full-sized avatar

Justin Holmes sherl0cks

  • Denver
View GitHub Profile
- name: Copy Black Duck Script
copy: src=file/script.sh dest=/some/path/to/script.sh
- name: Install Black Duck with their shell script
shell: ./some/path/to/script/sh {{ var_1 }} {{var_2}} {{var_3}}
// demployment id, user, pass omitted for brevity
RuntimeEngine runtimeEngine = RemoteRuntimeEngineFactory.newRestBuilder().buildFactory().newRuntimeEngine();
Long yourProcessInstanceId = 1l;
List<VariableInstanceLog> variables =(List<VariableInstanceLog>) getRuntimeEngine().getAuditService().findVariableInstances(1l);
String deploymentId = (String) ctx.getData("deploymentId");
RuntimeManager runtimeManager = RuntimeManagerRegistry.get().getManager(deploymentId);
if (runtimeManager == null) {
throw new IllegalStateException("There is no runtime manager for deployment " + deploymentId);
}
RuntimeEngine engine = runtimeManager.getRuntimeEngine(ProcessInstanceIdContext.get());
KieSession ksession = engine.getKieSession();
PLAY [bpms-design] ************************************************************
GATHERING FACTS ***************************************************************
ok: [10.3.12.20]
TASK: [java | Install OpenJDK - yum] ******************************************
changed: [10.3.12.20]
TASK: [java | Install OpenJDK - dnf] ******************************************
skipping: [10.3.12.20]
<kie-container container-id="enablement">
<release-id>
<group-id>example</group-id>
<artifact-id>enablement</artifact-id>
<version>1.0</version>
</release-id>
</kie-container>
<table border="0" cellpadding="5" >
<tr>
<td id="chart1"></td>
<td id="chart2"></td>
</tr>
<tr>
<td id="chart3"></td>
<td id="chart4"></td>
</tr>
</table>
<script type="text/javascript">
</script>
Click <a href="#" onclick="embedCharts(); return false;">here</a> to reset the current filter criteria.
<script type="text/javascript">
function embedCharts() {
dashbuilder_embed_chart('chart1', '/dashbuilder', 'kpi_30301353506280659', 600, 350);
dashbuilder_embed_chart('chart2', '/dashbuilder', 'kpi_30041353504912610', 600, 350);
dashbuilder_embed_chart('chart3', '/dashbuilder', 'kpi_30441353507392054', 600, 350);
dashbuilder_embed_chart('chart4', '/dashbuilder', 'kpi_30251353675275870', 600, 350);
Starting the Java application using /opt/run-java/run-java.sh ...
exec java -javaagent:/opt/jolokia/jolokia.jar=host=0.0.0.0,user=jolokia,password=088nlMhdRlInw9gWHVtcrTa0HvsCOL,useSslClientAuthentication=true,extraClientCheck=true,protocol=https,caCert=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt,clientPrincipal=cn=system:master-proxy -cp . -jar /deployments/automation-api-0.3.0.jar
I> No access restrictor found, access to any MBean is allowed
Jolokia: Agent started with URL https://172.17.0.7:8778/jolokia/
04:44:59.839 [main] DEBUG io.fabric8.kubernetes.client.Config - Trying to configure client from Kubernetes config...
04:44:59.863 [main] DEBUG io.fabric8.kubernetes.client.Config - Did not find Kubernetes config at: [/.kube/config]. Ignoring.
04:44:59.863 [main] DEBUG io.fabric8.kubernetes.client.Config - Trying to configure client from service account...
04:44:59.864 [main] DEBUG io.fabric8.kubernetes.client.Config - Found service account ca cert at: [/var/run/secrets/kubernetes.io/serviceaccount
{
"openshift_clusters": [
{
"openshift_host_env": "10.1.2.2:8443",
"openshift_resources": {
"projects": [
{
"name": "pipeline-dev",
"display_name": "Pipeline - Dev",
"environment_type": "build",
{
"id": 1,
"name": null,
"start_date": null,
"end_date": null,
"openshift_clusters": [
{
"id": 1,
"labels": {},
"openshift_resources": {