[JBoss JIRA] (FORGE-2506) Trigger follow-up actions to other commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2506?page=com.atlassian.jira.plugin... ]
George Gastaldi edited comment on FORGE-2506 at 10/21/15 1:59 PM:
------------------------------------------------------------------
Introduced {{NavigationResultTransformer}}
Docs: https://github.com/forge/core/tree/3.x/ui#navigationresulttransformer-fea...
was (Author: gastaldi):
Introduced {{NavigationResultTransformer}}
> Trigger follow-up actions to other commands
> -------------------------------------------
>
> Key: FORGE-2506
> URL: https://issues.jboss.org/browse/FORGE-2506
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Reporter: Sanne Grinovero
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> It would be great to have a way to suggest a "follow-up" action after a certain command was run.
> Example:
> I run the JPA setup command to enable JPA, and I'm using a graphical UI such as the Eclipse wizard.
> After selecting Hibernate as JPA provider and having picked the versions, the next page should ask "do you want to add Hibernate Search as well?" and show the relevant input questions from the Hibernate Search Forge plugin.
> The complexity is that the Hibernate Search Forge plugin should ideally be maintained as a separate plugin from the JPA one.
> Also when running the "Hibernate Search: Setup" command the cancel button should only avoid adding Search, but when run as triggered by the JPA command it should allow to skip the step without cancelling all of the JPA setup operations.
> We have many more extension points which would benefit from such a model.
> The important aspect is that we should _present_ the option - at least to GUI users - rather than expecting them to know what to type next: the meta goal is to make sure that projects which qualify for something (i.e. you're using Hibernate) might not know of our other extension points and we need to encourage people to try them out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2506) Trigger follow-up actions to other commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2506?page=com.atlassian.jira.plugin... ]
George Gastaldi reopened FORGE-2506:
------------------------------------
> Trigger follow-up actions to other commands
> -------------------------------------------
>
> Key: FORGE-2506
> URL: https://issues.jboss.org/browse/FORGE-2506
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Reporter: Sanne Grinovero
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> It would be great to have a way to suggest a "follow-up" action after a certain command was run.
> Example:
> I run the JPA setup command to enable JPA, and I'm using a graphical UI such as the Eclipse wizard.
> After selecting Hibernate as JPA provider and having picked the versions, the next page should ask "do you want to add Hibernate Search as well?" and show the relevant input questions from the Hibernate Search Forge plugin.
> The complexity is that the Hibernate Search Forge plugin should ideally be maintained as a separate plugin from the JPA one.
> Also when running the "Hibernate Search: Setup" command the cancel button should only avoid adding Search, but when run as triggered by the JPA command it should allow to skip the step without cancelling all of the JPA setup operations.
> We have many more extension points which would benefit from such a model.
> The important aspect is that we should _present_ the option - at least to GUI users - rather than expecting them to know what to type next: the meta goal is to make sure that projects which qualify for something (i.e. you're using Hibernate) might not know of our other extension points and we need to encourage people to try them out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2506) Trigger follow-up actions to other commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2506?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2506.
----------------------------------
Resolution: Done
> Trigger follow-up actions to other commands
> -------------------------------------------
>
> Key: FORGE-2506
> URL: https://issues.jboss.org/browse/FORGE-2506
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Reporter: Sanne Grinovero
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> It would be great to have a way to suggest a "follow-up" action after a certain command was run.
> Example:
> I run the JPA setup command to enable JPA, and I'm using a graphical UI such as the Eclipse wizard.
> After selecting Hibernate as JPA provider and having picked the versions, the next page should ask "do you want to add Hibernate Search as well?" and show the relevant input questions from the Hibernate Search Forge plugin.
> The complexity is that the Hibernate Search Forge plugin should ideally be maintained as a separate plugin from the JPA one.
> Also when running the "Hibernate Search: Setup" command the cancel button should only avoid adding Search, but when run as triggered by the JPA command it should allow to skip the step without cancelling all of the JPA setup operations.
> We have many more extension points which would benefit from such a model.
> The important aspect is that we should _present_ the option - at least to GUI users - rather than expecting them to know what to type next: the meta goal is to make sure that projects which qualify for something (i.e. you're using Hibernate) might not know of our other extension points and we need to encourage people to try them out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2506) Trigger follow-up actions to other commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2506?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2506:
----------------------------------------
Introduced {{NavigationResultTransformer}}
> Trigger follow-up actions to other commands
> -------------------------------------------
>
> Key: FORGE-2506
> URL: https://issues.jboss.org/browse/FORGE-2506
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Reporter: Sanne Grinovero
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> It would be great to have a way to suggest a "follow-up" action after a certain command was run.
> Example:
> I run the JPA setup command to enable JPA, and I'm using a graphical UI such as the Eclipse wizard.
> After selecting Hibernate as JPA provider and having picked the versions, the next page should ask "do you want to add Hibernate Search as well?" and show the relevant input questions from the Hibernate Search Forge plugin.
> The complexity is that the Hibernate Search Forge plugin should ideally be maintained as a separate plugin from the JPA one.
> Also when running the "Hibernate Search: Setup" command the cancel button should only avoid adding Search, but when run as triggered by the JPA command it should allow to skip the step without cancelling all of the JPA setup operations.
> We have many more extension points which would benefit from such a model.
> The important aspect is that we should _present_ the option - at least to GUI users - rather than expecting them to know what to type next: the meta goal is to make sure that projects which qualify for something (i.e. you're using Hibernate) might not know of our other extension points and we need to encourage people to try them out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2506) Trigger follow-up actions to other commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2506?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2506:
----------------------------------------
Here is a gist of a possible implementation: https://gist.github.com/gastaldi/7f3958146e8872d6db46
> Trigger follow-up actions to other commands
> -------------------------------------------
>
> Key: FORGE-2506
> URL: https://issues.jboss.org/browse/FORGE-2506
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Reporter: Sanne Grinovero
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> It would be great to have a way to suggest a "follow-up" action after a certain command was run.
> Example:
> I run the JPA setup command to enable JPA, and I'm using a graphical UI such as the Eclipse wizard.
> After selecting Hibernate as JPA provider and having picked the versions, the next page should ask "do you want to add Hibernate Search as well?" and show the relevant input questions from the Hibernate Search Forge plugin.
> The complexity is that the Hibernate Search Forge plugin should ideally be maintained as a separate plugin from the JPA one.
> Also when running the "Hibernate Search: Setup" command the cancel button should only avoid adding Search, but when run as triggered by the JPA command it should allow to skip the step without cancelling all of the JPA setup operations.
> We have many more extension points which would benefit from such a model.
> The important aspect is that we should _present_ the option - at least to GUI users - rather than expecting them to know what to type next: the meta goal is to make sure that projects which qualify for something (i.e. you're using Hibernate) might not know of our other extension points and we need to encourage people to try them out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-45) furnace maven plugin doens't use the maven settings and mirror and refuses to use the addon that have already been downloaded
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-45?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FURNACE-45:
-----------------------------------
Fix Version/s: 2.x Future
3.x Future
> furnace maven plugin doens't use the maven settings and mirror and refuses to use the addon that have already been downloaded
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: FURNACE-45
> URL: https://issues.jboss.org/browse/FURNACE-45
> Project: Forge: Furnace
> Issue Type: Feature Request
> Reporter: James Strachan
> Fix For: 2.x Future, 3.x Future
>
>
> we've been using the furnace maven plugin for a while. We're trying to use a 'canary' style CD system where we build a bunch of projects internally on a nexus; test everything; then promote. However our Forge project is barfing now as its failing to download the camel forge addons which have been build and deployed to nexus.
> here's the trimmed output of the build
> {code}
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/fabric8-forge-web/2.2...
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/camel/2.2.0-3/camel-2...
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/utils/2.2.0-3/utils-2...
> ...
> 13:57:28 [INFO] Downloaded: http://nexus/content/groups/public/org/jboss/forge/addon/projects-api/2.1... (27 KB at 10.8 KB/sec)
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fabric8-forge ---
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ fabric8-forge ---
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ fabric8-forge ---
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fabric8-forge ---
> 13:57:28 [INFO] Using 'UTF-8' encoding to copy filtered resources.
> 13:57:28 [INFO] Copying 1 resource
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fabric8-forge ---
> 13:57:28 [INFO] No sources to compile
> 13:57:29 [INFO]
> 13:57:29 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fabric8-forge ---
> 13:57:29 [INFO] Using 'UTF-8' encoding to copy filtered resources.
> 13:57:29 [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/quickstarts/apps/fabric8-forge/src/test/resources
> 13:57:29 [INFO]
> 13:57:29 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fabric8-forge ---
> 13:57:29 [INFO] No sources to compile
> 13:57:29 [INFO]
> 13:57:29 [INFO] --- furnace-maven-plugin:2.17.0.Final:addon-install (deploy-addons) @ fabric8-forge ---
> 13:57:29 [INFO] Downloading: http://nexus/content/groups/public/org/jboss/forge/furnace/furnace/2.17.0...
> ...
> 13:57:30 [INFO] Downloaded: http://nexus/content/groups/public/net/sf/jgrapht/jgrapht/0.8.3/jgrapht-0... (240 KB at 571.6 KB/sec)
> 13:57:30 [INFO] Downloaded: http://nexus/content/groups/public/org/jboss/forge/furnace/furnace-manage... (39 KB at 53.4 KB/sec)
> 13:57:30 Downloading: http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-...
> 13:57:31
> [INFO] Installation request for [io.fabric8.forge:camel,2.2.0-3] will:
> 13:57:31 Deploy: [io.fabric8.forge:camel,2.2.0-3]
> 13:57:31
> 13:57:31 Downloading: http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-...
> 13:57:42
> 13:57:43 [ERROR] Failed to execute goal org.jboss.forge.furnace:furnace-maven-plugin:2.17.0.Final:addon-install (deploy-addons) on project fabric8-forge: Execution deploy-addons of goal org.jboss.forge.furnace:furnace-maven-plugin:2.17.0.Final:addon-install failed: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact io.fabric8.forge:camel:jar:forge-addon:2.2.0-3 in central (http://repo1.maven.org/maven2) -> [Help 1]
> 13:57:43 [ERROR]
> {code}
> Notice that its downloaded tons of stuff from the proxy - including the camel/2.2.0-3/camel-2.2.0-3-forge-addon.jar - then the furnace plugin decides to try again - but this time with maven central (even though its already downloaded)
> here's the maven settings
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <settings>
> <!--This sends everything else to /public -->
> <mirrors>
> <mirror>
> <id>nexus</id>
> <mirrorOf>external:*</mirrorOf>
> <url>http://nexus/content/groups/public</url>
> </mirror>
> </mirrors>
> <servers>
> <server>
> <id>nexus</id>
> <username>${env.NEXUS_USERNAME}</username>
> <password>${env.NEXUS_PASSWORD}</password>
> </server>
> <server>
> <id>local-nexus</id>
> <username>${env.NEXUS_USERNAME}</username>
> <password>${env.NEXUS_PASSWORD}</password>
> </server>
> </servers>
> </settings>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-45) furnace maven plugin doesn't use the maven settings and mirror and refuses to use the addon that have already been downloaded
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-45?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FURNACE-45:
-----------------------------------
Summary: furnace maven plugin doesn't use the maven settings and mirror and refuses to use the addon that have already been downloaded (was: furnace maven plugin doens't use the maven settings and mirror and refuses to use the addon that have already been downloaded)
> furnace maven plugin doesn't use the maven settings and mirror and refuses to use the addon that have already been downloaded
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: FURNACE-45
> URL: https://issues.jboss.org/browse/FURNACE-45
> Project: Forge: Furnace
> Issue Type: Feature Request
> Reporter: James Strachan
> Fix For: 2.x Future, 3.x Future
>
>
> we've been using the furnace maven plugin for a while. We're trying to use a 'canary' style CD system where we build a bunch of projects internally on a nexus; test everything; then promote. However our Forge project is barfing now as its failing to download the camel forge addons which have been build and deployed to nexus.
> here's the trimmed output of the build
> {code}
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/fabric8-forge-web/2.2...
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/camel/2.2.0-3/camel-2...
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/utils/2.2.0-3/utils-2...
> ...
> 13:57:28 [INFO] Downloaded: http://nexus/content/groups/public/org/jboss/forge/addon/projects-api/2.1... (27 KB at 10.8 KB/sec)
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fabric8-forge ---
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ fabric8-forge ---
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ fabric8-forge ---
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fabric8-forge ---
> 13:57:28 [INFO] Using 'UTF-8' encoding to copy filtered resources.
> 13:57:28 [INFO] Copying 1 resource
> 13:57:28 [INFO]
> 13:57:28 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fabric8-forge ---
> 13:57:28 [INFO] No sources to compile
> 13:57:29 [INFO]
> 13:57:29 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fabric8-forge ---
> 13:57:29 [INFO] Using 'UTF-8' encoding to copy filtered resources.
> 13:57:29 [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/quickstarts/apps/fabric8-forge/src/test/resources
> 13:57:29 [INFO]
> 13:57:29 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fabric8-forge ---
> 13:57:29 [INFO] No sources to compile
> 13:57:29 [INFO]
> 13:57:29 [INFO] --- furnace-maven-plugin:2.17.0.Final:addon-install (deploy-addons) @ fabric8-forge ---
> 13:57:29 [INFO] Downloading: http://nexus/content/groups/public/org/jboss/forge/furnace/furnace/2.17.0...
> ...
> 13:57:30 [INFO] Downloaded: http://nexus/content/groups/public/net/sf/jgrapht/jgrapht/0.8.3/jgrapht-0... (240 KB at 571.6 KB/sec)
> 13:57:30 [INFO] Downloaded: http://nexus/content/groups/public/org/jboss/forge/furnace/furnace-manage... (39 KB at 53.4 KB/sec)
> 13:57:30 Downloading: http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-...
> 13:57:31
> [INFO] Installation request for [io.fabric8.forge:camel,2.2.0-3] will:
> 13:57:31 Deploy: [io.fabric8.forge:camel,2.2.0-3]
> 13:57:31
> 13:57:31 Downloading: http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-...
> 13:57:42
> 13:57:43 [ERROR] Failed to execute goal org.jboss.forge.furnace:furnace-maven-plugin:2.17.0.Final:addon-install (deploy-addons) on project fabric8-forge: Execution deploy-addons of goal org.jboss.forge.furnace:furnace-maven-plugin:2.17.0.Final:addon-install failed: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact io.fabric8.forge:camel:jar:forge-addon:2.2.0-3 in central (http://repo1.maven.org/maven2) -> [Help 1]
> 13:57:43 [ERROR]
> {code}
> Notice that its downloaded tons of stuff from the proxy - including the camel/2.2.0-3/camel-2.2.0-3-forge-addon.jar - then the furnace plugin decides to try again - but this time with maven central (even though its already downloaded)
> here's the maven settings
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <settings>
> <!--This sends everything else to /public -->
> <mirrors>
> <mirror>
> <id>nexus</id>
> <mirrorOf>external:*</mirrorOf>
> <url>http://nexus/content/groups/public</url>
> </mirror>
> </mirrors>
> <servers>
> <server>
> <id>nexus</id>
> <username>${env.NEXUS_USERNAME}</username>
> <password>${env.NEXUS_PASSWORD}</password>
> </server>
> <server>
> <id>local-nexus</id>
> <username>${env.NEXUS_USERNAME}</username>
> <password>${env.NEXUS_PASSWORD}</password>
> </server>
> </servers>
> </settings>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month