Skip to content

Instantly share code, notes, and snippets.

services:
- type: org.apache.brooklyn.entity.stock.BasicApplication
id: app
brooklyn.config:
cluster.initial.size: 2
brooklyn.children:
- type: org.apache.brooklyn.entity.group.DynamicCluster
id: cluster
brooklyn.config:
memberSpec:
services:
- type: org.apache.brooklyn.entity.group.DynamicCluster
id: cluster
brooklyn.config:
initialSize: 2
memberSpec:
$brooklyn:entitySpec:
type: org.apache.brooklyn.entity.stock.BasicStartable
firstMemberSpec:
$brooklyn:entitySpec:
/*
* 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
services:
- type: org.apache.brooklyn.entity.group.DynamicCluster
brooklyn.config:
initialSize: 2
memberSpec:
$brooklyn:entitySpec:
type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
enableAvailabilityZones: true
availabilityZoneNames:
- us-east-1a
@sjcorbett
sjcorbett / prs-since-date.py
Created December 1, 2016 11:41
Writes brooklyn-server PRs merged since a date to a file
#!/usr/bin/env python
from datetime import date
from github import Github
# Date of last release.
not_before = date(2016, 4, 8)
# Set vim's foldmethod to marker
add_fold_markers = True
brooklyn.catalog:
version: 1.0
items:
- id: ...
name: ...
services:
- type: brooklyn.entity.basic.VanillaSoftwareProcess
id: netcat-server
name: Simple Netcat Server
2016-01-22 17:32:42,902 ERROR alien4cloud.dao.ESIndexMapper [brooklyn-execmanager-JGwCF365-0]: Error when calling <alien4cloud.dao.IGenericIdDAO> <findById>
org.elasticsearch.action.NoShardAvailableActionException: [csar][1] null
at org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction$AsyncSingleAction.perform(TransportShardSingleOperationAction.java:175) ~[elasticsearch-1.7.0.jar:na]
at org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction$AsyncSingleAction.start(TransportShardSingleOperationAction.java:155) ~[elasticsearch-1.7.0.jar:na]
at org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction.doExecute(TransportShardSingleOperationAction.java:89) ~[elasticsearch-1.7.0.jar:na]
at org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction.doExecute(TransportShardSingleOperationAction.java:55) ~[elasticsearch-1.7.0.jar:na]
at org.elasticsearch.action.support.Transp
monterey-example/src/main/resources/booking-mvc.war
commit 9d1ae638590552e3af870b351bc40ddb55ba90a8
Author: Andrew Donald Kennedy <grkvlt@apache.org>
Date: Fri Sep 23 14:34:45 2011 +0100
Moved integration and examples for Monterey to new repository
commit f606447655f514c65146837e97ccdbd94680d3f1
Author: Andrew Donald Kennedy <grkvlt@apache.org>
--
-- 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
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>scratch</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Working space</name>