[JBoss JIRA] (SRAMP-486) s-ramp.sh should not require JAVA_HOME to be set
by Brett Meyer (JIRA)
Brett Meyer created SRAMP-486:
---------------------------------
Summary: s-ramp.sh should not require JAVA_HOME to be set
Key: SRAMP-486
URL: https://issues.jboss.org/browse/SRAMP-486
Project: S-RAMP
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Brett Meyer
Assignee: Brett Meyer
Fix For: 0.5.0
s-ramp.sh is the only FSW script that requires JAVA_HOME to be set. As RHEL installations by default do not set it, the requirement should be relaxed.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (SRAMP-453) Exception if using Backspace on CLI password prompt
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-453?page=com.atlassian.jira.plugin.... ]
Brett Meyer resolved SRAMP-453.
-------------------------------
Resolution: Done
> Exception if using Backspace on CLI password prompt
> ---------------------------------------------------
>
> Key: SRAMP-453
> URL: https://issues.jboss.org/browse/SRAMP-453
> Project: S-RAMP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 0.5.0
>
>
> If you mistype a password in the CLI prompt and hit Backspace 1 too many times, boom.
> {code}
> S-RAMP Password: java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at java.lang.AbstractStringBuilder.insert(AbstractStringBuilder.java:1152)
> at java.lang.StringBuilder.insert(StringBuilder.java:336)
> at org.jboss.aesh.console.Buffer.write(Buffer.java:319)
> at org.jboss.aesh.console.Console.writeChar(Console.java:837)
> at org.jboss.aesh.console.Console.writeChars(Console.java:832)
> at org.jboss.aesh.console.Console.parseOperation(Console.java:515)
> at org.jboss.aesh.console.Console.read(Console.java:452)
> at org.overlord.sramp.shell.InteractiveShellCommandReader.promptForPassword(InteractiveShellCommandReader.java:161)
> at org.overlord.sramp.shell.ShellContextImpl.promptForPassword(ShellContextImpl.java:172)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.promptForPassword(ConnectCommand.java:107)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.execute(ConnectCommand.java:67)
> at org.overlord.sramp.shell.SrampShell.run(SrampShell.java:102)
> at org.overlord.sramp.shell.SrampShell.main(SrampShell.java:67)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
> at java.lang.Thread.run(Thread.java:744)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (SRAMP-453) Exception if using Backspace on CLI password prompt
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-453?page=com.atlassian.jira.plugin.... ]
Work on SRAMP-453 started by Brett Meyer.
> Exception if using Backspace on CLI password prompt
> ---------------------------------------------------
>
> Key: SRAMP-453
> URL: https://issues.jboss.org/browse/SRAMP-453
> Project: S-RAMP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 0.5.0
>
>
> If you mistype a password in the CLI prompt and hit Backspace 1 too many times, boom.
> {code}
> S-RAMP Password: java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at java.lang.AbstractStringBuilder.insert(AbstractStringBuilder.java:1152)
> at java.lang.StringBuilder.insert(StringBuilder.java:336)
> at org.jboss.aesh.console.Buffer.write(Buffer.java:319)
> at org.jboss.aesh.console.Console.writeChar(Console.java:837)
> at org.jboss.aesh.console.Console.writeChars(Console.java:832)
> at org.jboss.aesh.console.Console.parseOperation(Console.java:515)
> at org.jboss.aesh.console.Console.read(Console.java:452)
> at org.overlord.sramp.shell.InteractiveShellCommandReader.promptForPassword(InteractiveShellCommandReader.java:161)
> at org.overlord.sramp.shell.ShellContextImpl.promptForPassword(ShellContextImpl.java:172)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.promptForPassword(ConnectCommand.java:107)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.execute(ConnectCommand.java:67)
> at org.overlord.sramp.shell.SrampShell.run(SrampShell.java:102)
> at org.overlord.sramp.shell.SrampShell.main(SrampShell.java:67)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
> at java.lang.Thread.run(Thread.java:744)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (SRAMP-453) Exception if using Backspace on CLI password prompt
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-453?page=com.atlassian.jira.plugin.... ]
Brett Meyer reassigned SRAMP-453:
---------------------------------
Assignee: Brett Meyer (was: David virgil naranjo)
> Exception if using Backspace on CLI password prompt
> ---------------------------------------------------
>
> Key: SRAMP-453
> URL: https://issues.jboss.org/browse/SRAMP-453
> Project: S-RAMP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 0.5.0
>
>
> If you mistype a password in the CLI prompt and hit Backspace 1 too many times, boom.
> {code}
> S-RAMP Password: java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at java.lang.AbstractStringBuilder.insert(AbstractStringBuilder.java:1152)
> at java.lang.StringBuilder.insert(StringBuilder.java:336)
> at org.jboss.aesh.console.Buffer.write(Buffer.java:319)
> at org.jboss.aesh.console.Console.writeChar(Console.java:837)
> at org.jboss.aesh.console.Console.writeChars(Console.java:832)
> at org.jboss.aesh.console.Console.parseOperation(Console.java:515)
> at org.jboss.aesh.console.Console.read(Console.java:452)
> at org.overlord.sramp.shell.InteractiveShellCommandReader.promptForPassword(InteractiveShellCommandReader.java:161)
> at org.overlord.sramp.shell.ShellContextImpl.promptForPassword(ShellContextImpl.java:172)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.promptForPassword(ConnectCommand.java:107)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.execute(ConnectCommand.java:67)
> at org.overlord.sramp.shell.SrampShell.run(SrampShell.java:102)
> at org.overlord.sramp.shell.SrampShell.main(SrampShell.java:67)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
> at java.lang.Thread.run(Thread.java:744)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (RTGOV-508) Test RTGov REST services with typed args/return values
by Gary Brown (JIRA)
[ https://issues.jboss.org/browse/RTGOV-508?page=com.atlassian.jira.plugin.... ]
Gary Brown updated RTGOV-508:
-----------------------------
Git Pull Request: https://github.com/Governance/rtgov/pull/135
> Test RTGov REST services with typed args/return values
> ------------------------------------------------------
>
> Key: RTGOV-508
> URL: https://issues.jboss.org/browse/RTGOV-508
> Project: RTGov (Run Time Governance)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Gary Brown
> Assignee: Gary Brown
> Fix For: 2.0.0.Final
>
>
> When initially porting RTGov onto Karaf (RTGOV-373) we used the built in JAX-RS support provided by CXF. However the version of Karaf we needed to use, to support Fuse 6.1, had some issues with the typed signature.
> The solution was to untyped the methods and just pass strings, and handle json marshalling in the REST service.
> Now that REST API docs are being generated, this causes the problem that it does not document the true types being used.
> We are now using RESTEasy to provide the JAX-RS services, so we need to retest with typed signatures in Karaf/Fuse, to see whether they now work. This will allow better API documentation to be automatically produced.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (RTGOV-508) Test RTGov REST services with typed args/return values
by Gary Brown (JIRA)
[ https://issues.jboss.org/browse/RTGOV-508?page=com.atlassian.jira.plugin.... ]
Gary Brown resolved RTGOV-508.
------------------------------
Resolution: Done
> Test RTGov REST services with typed args/return values
> ------------------------------------------------------
>
> Key: RTGOV-508
> URL: https://issues.jboss.org/browse/RTGOV-508
> Project: RTGov (Run Time Governance)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Gary Brown
> Assignee: Gary Brown
> Fix For: 2.0.0.Final
>
>
> When initially porting RTGov onto Karaf (RTGOV-373) we used the built in JAX-RS support provided by CXF. However the version of Karaf we needed to use, to support Fuse 6.1, had some issues with the typed signature.
> The solution was to untyped the methods and just pass strings, and handle json marshalling in the REST service.
> Now that REST API docs are being generated, this causes the problem that it does not document the true types being used.
> We are now using RESTEasy to provide the JAX-RS services, so we need to retest with typed signatures in Karaf/Fuse, to see whether they now work. This will allow better API documentation to be automatically produced.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months