This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fabric8.launcher.core.api.projectiles; | |
import javax.annotation.Nullable; | |
import io.fabric8.launcher.booster.catalog.rhoar.RhoarBooster; | |
import io.fabric8.launcher.core.api.Projectile; | |
import org.immutables.value.Value; | |
/** | |
* @author <a href="mailto:[email protected]">George Gastaldi</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#your github token | |
TOKEN=xxxx | |
echo The following repositories will be deleted: | |
http https://api.github.com/user/repos "Authorization:token $TOKEN" per_page==100 type==owner | jq '.[].full_name' | |
read -p "Continue (y/n)?" CONT | |
if [ "$CONT" = "y" ]; then | |
echo Deleting repositories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.thorntail.condition.annotation; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Repeatable; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
/** | |
* Annotation which may be placed upon a CDI component to conditionally veto it if a class is not present. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fabric8.launcher.base.http; | |
import java.io.IOException; | |
import java.util.Optional; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.ExecutorService; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import javax.annotation.Nullable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fabric8.launcher.web.endpoints; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import javax.annotation.PostConstruct; | |
import javax.enterprise.context.RequestScoped; | |
import javax.enterprise.event.Observes; | |
import javax.inject.Inject; | |
import javax.json.Json; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fabric8.launcher.core.impl; | |
import java.io.File; | |
import javax.enterprise.event.Observes; | |
import javax.enterprise.inject.Any; | |
import javax.inject.Inject; | |
import javax.inject.Singleton; | |
import io.fabric8.launcher.core.api.CreateProjectile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subject: "Weekly Status : <Name> : <Date>" | |
Blockers/Risks/Asks For Others | |
* What is keeping you from getting work done (note: status report is not a valid entry) :-) | |
* What risks are you seeing coming up, what might keep from getting work done | |
* Specific items that you need from your manager or others on the team | |
Accomplishments, And Key Updates: | |
* What did you complete this week? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend: oc process -f openshift/openshift/obsidian-generator-backend.app.yaml | oc apply -f - | |
frontend: oc process -f openshift/openshift/obsidian-generator-backend.app.yaml BACKEND_URI=generator-backend-YOUR_PROJECT.YOUR_CLUSTER_URL | oc apply -f - | |
Useful commands: | |
To get the IP: `minishift ip` | |
To deploy backend again: oc deploy generator-backend --latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jboss/wildfly:10.1.0.Final | |
MAINTAINER George Gastaldi<[email protected]> | |
# Set the CATAPULT_VERSION env variable | |
ENV CATAPULT_VERSION 1.0.0-SNAPSHOT | |
ADD https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=snapshots&g=org.kontinuity.catapult&a=catapult-web&v=$CATAPULT_VERSION&e=war /opt/jboss/wildfly/standalone/deployments/catapult.war | |
USER root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2017 Red Hat, Inc. and/or its affiliates. | |
* | |
* Licensed under the Eclipse Public License version 1.0, available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
*/ | |
package org.jboss.forge.addon.swarm.config; | |
import java.io.IOException; |