[jira] [Commented] (BROOKLYN-575) GSOC: New Brooklyn UI

2018-02-23 Thread Menuka Warushavithana (JIRA)

[ 
https://issues.apache.org/jira/browse/BROOKLYN-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375376#comment-16375376
 ] 

Menuka Warushavithana commented on BROOKLYN-575:


Thank you, Thomas. I'll go through them.

> GSOC: New Brooklyn UI
> -
>
> Key: BROOKLYN-575
> URL: https://issues.apache.org/jira/browse/BROOKLYN-575
> Project: Brooklyn
>  Issue Type: Improvement
>Affects Versions: 1.0.0
>Reporter: Thomas Bouron
>Priority: Major
>  Labels: cloud, gsoc2018, javascript, rest, ui
>
> This is an idea for [Google Summer of 
> Code|https://summerofcode.withgoogle.com/] (GSOC).
> h1. Background
> Apache Brooklyn is a tool for running stuff in "the cloud", such as Amazon 
> EC2. In more detail, it's a tool for describing applications and their 
> components, deploying these applications to the cloud, and managing the 
> ongoing health and responsiveness. Brooklyn does this using blueprints - 
> human readable documents which describe in detail an application component, 
> or a whole application. Blueprints are stored in a catalog, essentially a 
> built-in database of components and applications. An application blueprint 
> can call on component blueprints from the catalog, therefore allowing complex 
> applications to be built from simple pieces.
> h1. Issue
> The currently Brooklyn UI is getting old and lagging behind the newest 
> changes made into the REST API. It would need an overhaul to refresh it and 
> more importantly, use the newest technologies out there in terms of front-end 
> dev.
> h1. Proposal
> Rewrite the Brooklyn UI and take advantage of the novelties introduced 
> recently on the REST API. The goal is to improve the overall user experience, 
> especially when:
>  # deploying an application
>  # viewing and managing deployed applications
>  # viewing and managing the catalog
> At least, feature parity with the current UI should be achieved. The only 
> requirement is to use the Brooklyn colour palette.
> This project for green-field development of a new web based UI will involve:
>  * selecting a modern Javascript web and CSS framework
>  * working with REST APIs
>  * a nice UI/UX
>  * writing unit tests
> _Note: The server side API is written in Java but an understanding of Java 
> *is NOT required*._
> Prospective GSOC mentor: tbou...@apache.org



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: brooklyn-master-build-docker #242

2018-02-23 Thread Apache Jenkins Server
See 


--
[...truncated 10.01 MB...]
[INFO]   
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.isUp (java.lang.Boolean)
[INFO]   
enricher.transformation[ConfigKey:com.google.common.base.Function] = 
if[{Predicates.not(Predicates.isNull())=forPredicate(Predicates.equalTo(0)(sizeFunction(keys)))}]-else[UNCHANGED]
[INFO]   ComputeServiceState{uniqueTag=service.state.actual, 
running=true, entity=TestSensorImpl{id=mnbfftlgvj}, id=xfpd8h1r3l}
[INFO] 2018-02-23 23:25:30,954 INFO  - TESTNG PASSED: "Surefire test" - 
com.acme.sample.brooklyn.MySampleYamlTest.testUsingTestFramework() finished in 
1790 ms
[INFO] 2018-02-23 23:25:30,955 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire 
test" - @AfterMethod 
org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
[INFO] 2018-02-23 23:25:30,973 INFO  FFD9Vcqs-[o0ttvxg5ez] Stopping application 
BasicApplicationImpl{id=o0ttvxg5ez}
[INFO] 2018-02-23 23:25:30,997 INFO  tDfoxax8-[o0ttvxg5ez,dr0uspo9ay] 
MySampleImpl.stop()
[INFO] 2018-02-23 23:25:31,110 INFO  FFD9Vcqs-[o0ttvxg5ez] Stopped application 
BasicApplicationImpl{id=o0ttvxg5ez}
[INFO] 2018-02-23 23:25:31,155 INFO  - TESTNG PASSED CONFIGURATION: "Surefire 
test" - @AfterMethod 
org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown() finished in 200 ms
[INFO] 2018-02-23 23:25:31,198 INFO  - TESTNG 
[INFO] ===
[INFO] Surefire test
[INFO] Tests run: 3, Failures: 1, Skips: 0
[INFO] ===
[INFO] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 39.958 
sec <<< FAILURE! - in TestSuite
[INFO] testEntity(com.acme.sample.brooklyn.MySampleTest)  Time elapsed: 30.671 
sec  <<< FAILURE!
[INFO] java.lang.AssertionError: failed succeeds-eventually, 74 attempts, 
30001ms elapsed: AssertionError: entity=MySampleImpl{id=dw82lvzxzj}; 
attribute=Sensor: service.isUp (java.lang.Boolean) expected [false] but found 
[true]
[INFO]  at org.apache.brooklyn.test.Asserts.fail(Asserts.java:755)
[INFO]  at org.apache.brooklyn.test.Asserts.failNotEquals(Asserts.java:145)
[INFO]  at org.apache.brooklyn.test.Asserts.assertEquals(Asserts.java:467)
[INFO]  at 
org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEquals(EntityAsserts.java:58)
[INFO]  at 
org.apache.brooklyn.core.entity.EntityAsserts$1.run(EntityAsserts.java:74)
[INFO]  at 
org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1363)
[INFO]  at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:970)
[INFO]  at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:892)
[INFO]  at 
org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEqualsEventually(EntityAsserts.java:71)
[INFO]  at 
org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEqualsEventually(EntityAsserts.java:66)
[INFO]  at 
com.acme.sample.brooklyn.MySampleTest.testEntity(MySampleTest.java:33)
[INFO] 
[INFO] 
[INFO] Results :
[INFO] 
[INFO] Failed tests: 
[INFO]   MySampleTest.testEntity:33 failed succeeds-eventually, 74 attempts, 
30001ms elapsed: AssertionError: entity=MySampleImpl{id=dw82lvzxzj}; 
attribute=Sensor: service.isUp (java.lang.Boolean) expected [false] but found 
[true]
[INFO] 
[INFO] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] [INFO] 

[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] 

[INFO] [INFO] Total time: 01:05 min
[INFO] [INFO] Finished at: 2018-02-23T23:25:31Z
[INFO] [INFO] Final Memory: 41M/586M
[INFO] [INFO] 

[INFO] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project brooklyn-sample: There are test failures.
[INFO] [ERROR] 
[INFO] [ERROR] Please refer to 
/usr/build/brooklyn-dist/archetypes/quickstart/target/test-classes/projects/integration-test-1/project/brooklyn-sample/target/surefire-reports
 for the individual test results.
[INFO] [ERROR] -> [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test 
(default-test) on project brooklyn-sample: There are test failures.
[INFO] 
[INFO] Please refer to 
/usr/build/brooklyn-dist/archetypes/quickstart/target/test-classes/projects/integration-test-1/project/brooklyn-sample/target/surefire-reports
 for the individual test results.
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:213)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
[INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoEx

[jira] [Commented] (BROOKLYN-584) Support jclouds ContextLinking

2018-02-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/BROOKLYN-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374157#comment-16374157
 ] 

ASF GitHub Bot commented on BROOKLYN-584:
-

GitHub user andreaturli opened a pull request:

https://github.com/apache/brooklyn-server/pull/952

[BROOKLYN-584] Add support for recent jclouds's ContextLinking

- add support for user-defined Guice modules
- add support for ContextLinking
- simplify feature.xml to use pre-defined jclouds-karaf features

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

$ git pull https://github.com/andreaturli/brooklyn-server 
feature/linkContext

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

https://github.com/apache/brooklyn-server/pull/952.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 #952


commit c3214e9f1eb4904a427a68afc3ccb4f8a4a1e387
Author: andreaturli 
Date:   2017-12-12T16:48:07Z

[BROOKLYN-584] Add support for recent jclouds's ContextLinking

- add support for user-defined Guice modules
- add support for ContextLinking
- simplify feature.xml to use pre-defined jclouds-karaf features




> Support jclouds ContextLinking
> --
>
> Key: BROOKLYN-584
> URL: https://issues.apache.org/jira/browse/BROOKLYN-584
> Project: Brooklyn
>  Issue Type: Improvement
>Reporter: Andrea Turli
>Priority: Major
> Fix For: 1.0.0
>
>
> * Some cloud providers like OpenStack require to link a jclouds context to 
> another context (i.e. Neutron to Nova). jclouds already supports that and 
> brooklyn could add it
>  * in addition add support for user-defined Guice modules would be useful



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] brooklyn-server pull request #952: [BROOKLYN-584] Add support for recent jcl...

2018-02-23 Thread andreaturli
GitHub user andreaturli opened a pull request:

https://github.com/apache/brooklyn-server/pull/952

[BROOKLYN-584] Add support for recent jclouds's ContextLinking

- add support for user-defined Guice modules
- add support for ContextLinking
- simplify feature.xml to use pre-defined jclouds-karaf features

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

$ git pull https://github.com/andreaturli/brooklyn-server 
feature/linkContext

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

https://github.com/apache/brooklyn-server/pull/952.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 #952


commit c3214e9f1eb4904a427a68afc3ccb4f8a4a1e387
Author: andreaturli 
Date:   2017-12-12T16:48:07Z

[BROOKLYN-584] Add support for recent jclouds's ContextLinking

- add support for user-defined Guice modules
- add support for ContextLinking
- simplify feature.xml to use pre-defined jclouds-karaf features




---


[jira] [Created] (BROOKLYN-584) Support jclouds ContextLinking

2018-02-23 Thread Andrea Turli (JIRA)
Andrea Turli created BROOKLYN-584:
-

 Summary: Support jclouds ContextLinking
 Key: BROOKLYN-584
 URL: https://issues.apache.org/jira/browse/BROOKLYN-584
 Project: Brooklyn
  Issue Type: Improvement
Reporter: Andrea Turli
 Fix For: 1.0.0


* Some cloud providers like OpenStack require to link a jclouds context to 
another context (i.e. Neutron to Nova). jclouds already supports that and 
brooklyn could add it
 * in addition add support for user-defined Guice modules would be useful



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Jenkins build is back to normal : brooklyn-master-build-docker #241

2018-02-23 Thread Apache Jenkins Server
See