Skip to content

Instantly share code, notes, and snippets.

View agoncal's full-sized avatar

Antonio Goncalves agoncal

View GitHub Profile
version: '2'
services:
keycloak:
image: jboss/keycloak:4.5.0.Final
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- DB_VENDOR=postgres
- DB_ADDR=postgres
- DB_PORT=5432
@startuml
actor :Anonymous: as actorAnonym
usecase (Browse CD catalog) as ucBrowseCD
usecase (Browse Book catalog) as ucBrowseBook
usecase (Browse DVD catalog) as ucBrowseDVD
actorAnonym --> ucBrowseCD
actorAnonym ---> ucBrowseBook
#!/bin/sh
# check for where the latest version of IDEA is installed
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1`
wd=`pwd`
# were we given a directory?
if [ -d "$1" ]; then
# echo "checking for things in the working dir given"
wd=`ls -1d "$1" | head -n1`
addon-install-from-git --url https://github.com/forge/as-forge-addon
***INFO*** Installing Addon from Git:Removing previous addon installation (org.jboss.forge.addon:as-parent,2.0.0-SNAPSHOT) [3/4] ...
***INFO*** Installing Addon from Git:Installing addon (org.jboss.forge.addon:as-parent,2.0.0-SNAPSHOT) [4/4] ...
***ERROR*** Error while executing 'addon-install-from-git'
***INFO*** (type "export VERBOSE=true" to enable stack traces)
***ERROR*** Addon org.jboss.forge.addon:as-parent,2.0.0-SNAPSHOT could not be installed: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jboss.forge.addon:as-parent:jar:forge-addon:2.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2)
* 02a7c5e 2015-08-11 | FORGE-2419: Getting rid of @Deployement (HEAD -> jsf_refactoring) [Antonio Goncalves]
* b2968b1 2015-08-11 | FORGE-2419: Refactoring FacesOperations [Antonio Goncalves]
* 47a63f6 2015-08-11 | FORGE-2419: Getting rid of templates [Antonio Goncalves]
* 53e5d0a 2015-08-11 | FORGE-2419: Refactoring the JSF Operations [Antonio Goncalves]
* fc5d8c7 2015-08-10 | FORGE-2419: adding test classes [Antonio Goncalves]
* 9a648a7 2015-08-10 | FORGE-2419: Refactoring the JSF hiserarchy on three Add commands [Antonio Goncalves]
* e81b92e 2015-08-10 | Update pom.xml [George Gastaldi]
* 679b7ed 2015-08-08 | FORGE-2419: Refactoring the JSF Commands Adding a first test class [Antonio Goncalves]
*
* 86302dc 2015-08-11 | FORGE-2419: Getting rid of @Deployement (HEAD -> FORGE-2419, origin/FORGE-2419) [Antonio Goncalves]
* 4eda5e1 2015-08-11 | FORGE-2419: Refactoring FacesOperations [Antonio Goncalves]
* f1408f7 2015-08-11 | FORGE-2419: Getting rid of templates [Antonio Goncalves]
* 4d45eea 2015-08-11 | FORGE-2419: Refactoring the JSF Operations [Antonio Goncalves]
* 64069bd 2015-08-10 | FORGE-2419: adding test classes [Antonio Goncalves]
* 0547404 2015-08-10 | Merge branch 'FORGE-2419' of https://github.com/agoncal/core into FORGE-2419 [Antonio Goncalves]
|\
| * 7b0b481 2015-08-10 | FORGE-2419: Refactoring the JSF hiserarchy on three Add commands [Antonio Goncalves]
| * 537447a 2015-08-10 | Merge branch 'master' of https://github.com/forge/core into FORGE-2419 [Antonio Goncalves]
| |\
commit 855aa74f0ead92b6e5939fee4f9fb446e759fd74
Author: Antonio Goncalves <[email protected]>
Date: Fri Jun 12 19:19:46 2015 +0200
Fix issue-6 : adding attributes to the setup command
commit 339d3820412f43453024047cbbbef9def0cd8669
Author: George Gastaldi <[email protected]>
Date: Fri Jun 12 12:22:44 2015 -0300
@Override
public Result execute(UIExecutionContext context) throws Exception
{
Project project = getSelectedProject(context);
WildflySwarmConfigurationBuilder builder = WildflySwarmConfigurationBuilder.create();
builder.contextPath(contextPath.getValue()).httpPort(httpPort.getValue()).portOffset(portOffset.getValue());
facet.setConfiguration(builder);
facetFactory.install(project, facet);
return Results.success("Wildfly Swarm is now set up! Enjoy!");
}
$ git reflog
986ce7b HEAD@{0}: rebase -i (start): checkout 986ce7b
4f87b1c HEAD@{1}: commit: Fixes issue-6: adding more tests
2ad60de HEAD@{2}: pull: Merge made by the 'recursive' strategy.
3e16384 HEAD@{3}: pull: Merge made by the 'recursive' strategy.
4efb0c9 HEAD@{4}: commit: Fixes issue-6: adding attributes to the setup command
d8d4520 HEAD@{5}: reset: moving to HEAD~6
e5fff8d HEAD@{6}: rebase -i (finish): returning to refs/heads/issue-6
e5fff8d HEAD@{7}: rebase -i (start): checkout d8d4520
e5fff8d HEAD@{8}: commit: issue-6: configuration uses strings
[quickdemo]$ addon-update --named org.quickaddon:quickaddon
***ERROR*** Error while executing 'addon-update'
java.lang.IllegalArgumentException: No compatible addon API version found for org.quickaddon:quickaddon for API 2.16.1.Final
at org.jboss.forge.addon.manager.impl.utils.CoordinateUtils.resolveCoordinate(CoordinateUtils.java:63)
at org.jboss.forge.addon.manager.impl.ui.AddonUpdateCommand.execute(AddonUpdateCommand.java:118)
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)