Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2F417200B36 for ; Wed, 6 Jul 2016 14:04:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2DF3F160A73; Wed, 6 Jul 2016 12:04:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 779AF160A36 for ; Wed, 6 Jul 2016 14:04:40 +0200 (CEST) Received: (qmail 42525 invoked by uid 500); 6 Jul 2016 12:04:39 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 42509 invoked by uid 99); 6 Jul 2016 12:04:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 12:04:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 17B14E0B66; Wed, 6 Jul 2016 12:04:39 +0000 (UTC) From: neykov To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-server pull request #233: Karaf fixes - class loading Content-Type: text/plain Message-Id: <20160706120439.17B14E0B66@git1-us-west.apache.org> Date: Wed, 6 Jul 2016 12:04:39 +0000 (UTC) archived-at: Wed, 06 Jul 2016 12:04:41 -0000 Github user neykov commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/233#discussion_r69717726 --- Diff: karaf/apache-brooklyn/src/main/resources/etc/default.catalog.bom --- @@ -1,54 +1,366 @@ -# 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 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. +# this catalog bom is an illustration supplying a few useful sample items +# and templates to get started using Brooklyn brooklyn.catalog: - version: 0.10.0-SNAPSHOT # BROOKLYN_VERSION - items: - - id: server-template - itemType: template - name: "Template: Server" - description: | - Sample YAML to provision a server in a cloud with illustrative VM properties - item: - name: Server (Brooklyn Example) - - # this basic example shows how Brooklyn can provision a single raw VM - # in the cloud or location of your choice - - services: - - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess - name: My VM - - # location can be e.g. `softlayer` or `jclouds:openstack-nova:https://9.9.9.9:9999/v2.0/`, - # or `localhost` or `byon:(hosts="10.9.1.1,10.9.1.2,produser2@10.9.2.{10,11,20-29}")` - location: - jclouds:aws-ec2: - # edit these to use your credential (or delete if credentials specified in brooklyn.properties) - identity: - credential: - - region: eu-central-1 - - # we want Ubuntu, with a lot of RAM - osFamily: ubuntu - minRam: 8gb - - # set up this user and password (default is to authorize a public key) - user: sample - password: s4mpl3 + version: 0.10.0-SNAPSHOT # BROOKLYN_VERSION + items: + - brooklyn.libraries: + - name: org.apache.brooklyn.karaf-init + version: 0.10.0.SNAPSHOT # BROOKLYN_VERSION + include: classpath://catalog-classes.bom + - id: server + description: | --- End diff -- Seems I've used a stale `default.catalog.bom` to copy from. Will update. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---