[JBoss JIRA] (FORGE-1345) Unable to use --strategy ROOT_AND_NESTED_DTO for rest endpoint generation
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1345?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1345.
----------------------------------
Fix Version/s: (was: 2.x Future)
Resolution: Out of Date
Unable to reproduce on Forge 2
> Unable to use --strategy ROOT_AND_NESTED_DTO for rest endpoint generation
> -------------------------------------------------------------------------
>
> Key: FORGE-1345
> URL: https://issues.jboss.org/browse/FORGE-1345
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scaffold
> Environment: JBDS 7.1.0.CR1
> Reporter: Pete Muir
>
> Using this script - https://github.com/jboss-jdf/jdf-collateral/blob/master/scripts/forge_htm... - but with the new strategy suggested by Vineet, I get this error:
> {code}
> [rhsessions] rhsessions $ rest endpoint-from-entity --contentType application/json com.redhat.sessions.model.* --strategy ROOT_AND_NESTED_DTO
> ? An action has requested to install the following facets into your project [interface org.jboss.forge.spec.javaee.JTAFacet, interface org.jboss.forge.spec.javaee.EJBFacet, interface org.jboss.forge.spec.javaee.PersistenceFacet] continue? [Y/n]
> ***SUCCESS*** Installed [forge.spec.jta] successfully.
> ***SUCCESS*** Installed [forge.spec.ejb] successfully.
> ***SUCCESS*** Generated REST endpoint for [com.redhat.sessions.model.Attendee]
> Wrote /Users/pmuir/workspace-demos/rhsessions/pom.xml
> Wrote /Users/pmuir/workspace-demos/rhsessions/src/main/java/com/redhat/sessions/rest/dto/AttendeeDTO.java
> Wrote /Users/pmuir/workspace-demos/rhsessions/src/main/java/com/redhat/sessions/rest/AttendeeEndpoint.java
> Wrote /Users/pmuir/workspace-demos/rhsessions/src/main/java/com/redhat/sessions/rest/dto/NestedAttendeeDTO.java
> ***ERROR*** Exception encountered: Attempted to import the illegal type [null] (type "set VERBOSE true" to enable stack traces)
> [rhsessions] rhsessions $
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
9 years, 11 months
[JBoss JIRA] (FORGE-1699) High CPU consumption on Windows and Linux
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1699?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1699.
----------------------------------
Fix Version/s: 2.7.0.Final
(was: 2.x Future)
Resolution: Done
Seems it's fixed. Please reopen if problem still occurs
> High CPU consumption on Windows and Linux
> -----------------------------------------
>
> Key: FORGE-1699
> URL: https://issues.jboss.org/browse/FORGE-1699
> Project: Forge
> Issue Type: Quality Risk
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.3.0.Final
> Environment: Windows 7 32 bits 4 GB RAM
> Linux Fedora 19 64bits 4 GB RAM
> Reporter: Esteve Aviles
> Assignee: Lincoln Baxter III
> Fix For: 2.7.0.Final
>
> Attachments: forgecommand.png, image.jpg, windows.jpg
>
>
> CPU usage is very high when executing a command in Forge Shell.
> I attach an image of CPU consumption.
> Tried both Windows (at work) and Linux with the same result.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
9 years, 11 months
[JBoss JIRA] (FORGE-1630) The path is not right
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1630?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1630.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.7.1.Final
(was: 2.x Future)
Resolution: Done
> The path is not right
> ---------------------
>
> Key: FORGE-1630
> URL: https://issues.jboss.org/browse/FORGE-1630
> Project: Forge
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.1.1.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.7.1.Final
>
>
> Let's say I have a simple script which just creates a project :
> {code}
> project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> {code}
> When I execute this script, it creates the project {{testrun}} but it goes back to the root path. So, when I create a new entity, it doesn't create it at the right place :
> {code}
> [Forge]$ run proj.fsh
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ ***SUCCESS*** Project named 'testrun' has been created.
> [Forge]$ jpa-new-entity --named MyEntity
> ***SUCCESS*** Entity MyEntity created
> [MyEntity.java]$ pwd
> /Users/antoniombp/Documents/Code/temp/Forge/MyEntity.java
> [MyEntity.java]$ exit
> ~/Documents/Code/temp/Forge$ ll
> -rw-r--r-- 1 antoniombp staff 1.5K Mar 4 19:34 MyEntity.java
> -rw-r--r--@ 1 antoniombp staff 89B Mar 4 19:33 proj.fsh
> drwxr-xr-x 4 antoniombp staff 136B Mar 4 19:33 testrun/
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
9 years, 11 months
[JBoss JIRA] (FORGE-1415) Target Unreachable, 'entityName' returned null after Bean Validation failure
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1415?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1415.
----------------------------------
Fix Version/s: (was: 2.x Future)
Resolution: Cannot Reproduce Bug
Cannot reproduce this bug on Forge 2.7.0
> Target Unreachable, 'entityName' returned null after Bean Validation failure
> ----------------------------------------------------------------------------
>
> Key: FORGE-1415
> URL: https://issues.jboss.org/browse/FORGE-1415
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.4.3.Final
> Environment: JBossAS7.1
> Reporter: Esteve Aviles
>
> Hi,
> When you want to persist a new entity through create.xhtml page and the information produces a server side error then the error is show and when you fix it and try to summit again an Exception occurs:
> {noformat}
> /view/operacio/inventariMobilePos/create.xhtml @50,58 value="#{inventariMobilePosBean.inventariMobilePos.codiTmb}": Target Unreachable, 'inventariMobilePos' returned null
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
9 years, 11 months
[JBoss JIRA] (FORGE-812) Create Hamcrest Matchers for use in the Forge Test Harness
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-812?page=com.atlassian.jira.plugin.... ]
George Gastaldi closed FORGE-812.
---------------------------------
Fix Version/s: (was: 2.x Future)
Resolution: Won't Fix
Although the idea might seem good, in practice the current matchers already support most of the needed features
Closing it as "Won't Fix" for now.
> Create Hamcrest Matchers for use in the Forge Test Harness
> ----------------------------------------------------------
>
> Key: FORGE-812
> URL: https://issues.jboss.org/browse/FORGE-812
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Test Harness
> Reporter: Vineet Reynolds
>
> We could use specialized Hamcrest matchers for use in the test harness. For example, comparing expected and actual file contents of the generated scaffold could benefit from a matcher that can pinpoint mismatches, instead of relying on String comparisons.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
9 years, 11 months