You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2015/11/24 16:11:36 UTC

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

GitHub user aledsage opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/1064

    Adds docs: security-guidelines and blueprinting-tips

    And removes guide/dev/rest/, because that is covered by docs/guide/ops/rest.md.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aledsage/incubator-brooklyn docs/20151124

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/1064.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1064
    
----
commit ed2ad81b81f975f12375a6a6aa303a157fef82e4
Author: Aled Sage <al...@gmail.com>
Date:   2015-11-23T13:57:22Z

    Docs: remove guide/dev/rest/
    
    This is covered by docs/guide/ops/rest.md

commit f87b2bf56e1f9d0d7ed18da14c759750e21be5cd
Author: Aled Sage <al...@gmail.com>
Date:   2015-11-23T13:57:53Z

    Docs: adds blueprinting-tips

commit 4e0a82a0086a6f2279311515b2fa03a49dbd3e5e
Author: Aled Sage <al...@gmail.com>
Date:   2015-11-23T13:58:14Z

    Docs: adds security-guidelines

----


---
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.
---

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

Posted by sjcorbett <gi...@git.apache.org>.
Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1064#discussion_r45751322
  
    --- Diff: docs/guide/yaml/blueprinting-tips.md ---
    @@ -0,0 +1,105 @@
    +---
    +title: Blueprinting Tips
    +layout: website-normal
    +---
    +
    +## YAML Recommended
    +
    +The recommended way to write a blueprint is as a YAML file. This is true both for building
    +an application out of existing blueprints, and for building new integrations.
    +
    +The use of Java is reserved for those use-cases where the provisioning or configuration logic 
    +is very complicated.
    +
    +
    +## Faster Dev-Test
    +
    +Writing a blueprint is most efficient and simple when testing is fast, and when testing is
    +done incrementally as features of the blueprint are written.
    +
    +The slowest stages of deploying a blueprint are usually VM provisioning and downloading/installing
    +of artifacts (e.g. RPMs, zip files, etc).
    +
    +Options for speeding up provisioning include those below.
    +
    +### Deploying to the "localhost" location
    +
    +This is fast and simple, but has some obvious downsides:
    +
    +* Artifacts are installed directly on your desktop/server.
    +
    +* The artifacts installed during previous runs can interfere with subsequent runs.
    +
    +* Some entities require `sudo` rights, which must be granted to the user running Brooklyn.
    +
    +
    +### Deploying to Bring Your Own Nodes (BYON)
    +
    +A BYON location can be defined, which avoids the time required to provision VMs. This is fast,
    +but has the downside that artifacts installed during a previous run can interfere with subsequent 
    +runs.
    +
    +A variant of this is to use Vagrant (e.g. with VirtualBox) to create VMs on your local machine,
    --- End diff --
    
    Could reference the jclouds-vagrant provider written by @neykov.


---
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.
---

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1064#issuecomment-159545920
  
    useful doc improvements.  good to merge, although addressing the comments or sticking a `TODO` in the docs might be wise first!


---
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.
---

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

Posted by sjcorbett <gi...@git.apache.org>.
Github user sjcorbett commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1064#issuecomment-159309621
  
    Looks good. A "see also" section at the end linking to docs on entitlements and external configuration (assuming we have them) might be useful too.


---
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.
---

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1064#discussion_r45844194
  
    --- Diff: docs/guide/yaml/blueprinting-tips.md ---
    @@ -0,0 +1,105 @@
    +---
    +title: Blueprinting Tips
    +layout: website-normal
    +---
    +
    +## YAML Recommended
    +
    +The recommended way to write a blueprint is as a YAML file. This is true both for building
    +an application out of existing blueprints, and for building new integrations.
    +
    +The use of Java is reserved for those use-cases where the provisioning or configuration logic 
    +is very complicated.
    +
    +
    +## Faster Dev-Test
    +
    +Writing a blueprint is most efficient and simple when testing is fast, and when testing is
    +done incrementally as features of the blueprint are written.
    +
    +The slowest stages of deploying a blueprint are usually VM provisioning and downloading/installing
    +of artifacts (e.g. RPMs, zip files, etc).
    +
    +Options for speeding up provisioning include those below.
    +
    +### Deploying to the "localhost" location
    +
    +This is fast and simple, but has some obvious downsides:
    +
    +* Artifacts are installed directly on your desktop/server.
    +
    +* The artifacts installed during previous runs can interfere with subsequent runs.
    +
    +* Some entities require `sudo` rights, which must be granted to the user running Brooklyn.
    +
    +
    +### Deploying to Bring Your Own Nodes (BYON)
    +
    +A BYON location can be defined, which avoids the time required to provision VMs. This is fast,
    +but has the downside that artifacts installed during a previous run can interfere with subsequent 
    +runs.
    +
    +A variant of this is to use Vagrant (e.g. with VirtualBox) to create VMs on your local machine,
    --- End diff --
    
    In fact we should reference the Getting Started Guide improvements @johnmccabe on joining which uses this, i believe?


---
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.
---

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

Posted by hzbarcea <gi...@git.apache.org>.
Github user hzbarcea commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1064#issuecomment-161423568
  
    I created [BROOKLYN-198](https://issues.apache.org/jira/browse/BROOKLYN-198) as a placeholder for comments that should be addressed. I assume it's good enough to have only one (or a few) such placeholders for a release. Once comments to a PR have been addressed in a follow-up commit we could edit the issue and cross over the PR addressed.
    
    That said, tested, merging...


---
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.
---

[GitHub] incubator-brooklyn pull request: Adds docs: security-guidelines an...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-brooklyn/pull/1064


---
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.
---