[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 updated FORGE-2506:
-----------------------------------
Summary: Trigger follow-up actions to other commands (was: Trigger follow-up actions to other facets)
> 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 facets
by Sanne Grinovero (JIRA)
Sanne Grinovero created FORGE-2506:
--------------------------------------
Summary: Trigger follow-up actions to other facets
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] (FORGEPLUGINS-213) as-setup doesn't work with Forge 2.20.Final
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-213?page=com.atlassian.jira.... ]
George Gastaldi closed FORGEPLUGINS-213.
----------------------------------------
Resolution: Done
> as-setup doesn't work with Forge 2.20.Final
> -------------------------------------------
>
> Key: FORGEPLUGINS-213
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-213
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: JBoss AS Addon
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Priority: Blocker
>
> No matter which version of Wildfly I try to setup, I get an exception with Forge 2.20.Final. For example :
> {code}
> as-setup --server wildfly8 --version 8.2.0.Final
> {code}
> Tries to install WildFly 8.2.0.Final and, even if it's in my local repository, tries to download it, and gets :
> {code}
> [QuickEntityEndpoint.java]$ as-setup --server wildfly8 --version 8.2.0.Final
> ***ERROR*** Error while executing 'AS: Setup'
> org.jboss.forge.furnace.manager.maven.MavenOperationException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:208)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.resolveArtifact(MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.java)
> at org.jboss.forge.addon.as.jboss.common.JBossProvider.install(JBossProvider.java:107)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.as.jboss.wf8.WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.install(WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.java)
> at org.jboss.forge.addon.as.ui.ASSetupWizardImpl.execute(ASSetupWizardImpl.java:119)
> at org.jboss.forge.addon.as.ui.AbstractASWizardImpl.execute(AbstractASWizardImpl.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.as.ui.ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.execute(ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:155)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
> at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:90)
> at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
> at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
> at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:192)
> ... 36 more
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
> ... 40 more
> ***ERROR*** org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> [QuickEntityEndpoint.java]$
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGEPLUGINS-213) as-setup doesn't work with Forge 2.20.Final
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-213?page=com.atlassian.jira.... ]
Antonio Goncalves commented on FORGEPLUGINS-213:
------------------------------------------------
Working fine now.
> as-setup doesn't work with Forge 2.20.Final
> -------------------------------------------
>
> Key: FORGEPLUGINS-213
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-213
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: JBoss AS Addon
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Priority: Blocker
>
> No matter which version of Wildfly I try to setup, I get an exception with Forge 2.20.Final. For example :
> {code}
> as-setup --server wildfly8 --version 8.2.0.Final
> {code}
> Tries to install WildFly 8.2.0.Final and, even if it's in my local repository, tries to download it, and gets :
> {code}
> [QuickEntityEndpoint.java]$ as-setup --server wildfly8 --version 8.2.0.Final
> ***ERROR*** Error while executing 'AS: Setup'
> org.jboss.forge.furnace.manager.maven.MavenOperationException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:208)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.resolveArtifact(MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.java)
> at org.jboss.forge.addon.as.jboss.common.JBossProvider.install(JBossProvider.java:107)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.as.jboss.wf8.WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.install(WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.java)
> at org.jboss.forge.addon.as.ui.ASSetupWizardImpl.execute(ASSetupWizardImpl.java:119)
> at org.jboss.forge.addon.as.ui.AbstractASWizardImpl.execute(AbstractASWizardImpl.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> at org.jboss.forge.addon.as.ui.ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.execute(ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:155)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
> at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:90)
> at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
> at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
> at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
> at org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:192)
> ... 36 more
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
> ... 40 more
> ***ERROR*** org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (http://repo1.maven.org/maven2)
> [QuickEntityEndpoint.java]$
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2505) JsonResource should return a populated JsonArrayBuilder or JsonObjectBuilder
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2505:
--------------------------------------
Summary: JsonResource should return a populated JsonArrayBuilder or JsonObjectBuilder
Key: FORGE-2505
URL: https://issues.jboss.org/browse/FORGE-2505
Project: Forge
Issue Type: Enhancement
Components: Parsers / File Manipulation
Affects Versions: 2.20.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 3.0.0.Alpha1
Since {{JsonStructure}} objects are immutable, {{JsonResource}} should return instances of {{JsonObjectBuilder}} or {{JsonArrayBuilder}} pre-populated with the underlying resource JSON representation
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month