Skip to content

Instantly share code, notes, and snippets.

View jdob's full-sized avatar
👾

Jason Dobies jdob

👾
  • SUSE
  • New Jersey
View GitHub Profile
package main
import (
"errors"
"fmt"
"os"
"github.com/hashicorp/go-multierror"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
package main
import (
"errors"
"os"
)
// ===== Defines the custom error
type ValidationError struct {
2020-06-04 14:03:04.281 INFO 1 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@722c41f4: startup date [Thu Jun 04 14:03:04 UTC 2020]; root of context hierarchy
2020-06-04 14:03:05.073 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$90ec60ed] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.19.RELEASE)
---
- name: odo pre-reqs
gather_facts: false
hosts: localhost
tasks:
- name: Enable the API servers
command: "oc patch servicecatalogapiservers cluster --type=merge -p='{\"spec\": {\"managementState\": \"Managed\"}}'"
- name: Enable the controller managers
---
- name: odo pre-reqs
gather_facts: false
hosts: localhost
tasks:
- name: Enable the API servers
command: "oc patch servicecatalogapiservers cluster --type=merge -p='{\"spec\": {\"managementState\": \"Managed\"}}'"
- name: Enable the controller managers
apiVersion: v1
kind: Pod
metadata:
name: hydra
spec:
volumes:
- name: shared-data
emptyDir: {}
containers:
- name: hydra1
FROM centos/python-36-centos7:latest
EXPOSE 8888
# User setup for OpenShift
USER root
ENV HOME=/jupyter
RUN mkdir -p ${HOME}/notebooks && \
useradd -u 9000 -r -g 0 -d ${HOME} -s /sbin/nologin \
-c "Jupyter User" jupyter-user
public void start(Future<Void> done) {
Single<DataGridClient> single = DataGridClient.create(vertx, new DataGridConfiguration()
.setHost("eventstore-dg-hotrod")
.setPort(11333));
single.flatMap(client -> client.<String, String>getCache("users"))
.flatMap(cache -> cache.clear().andThen(Single.just(cache)))
.subscribe(
cache -> {
this.cache = cache;
+ . /opt/app-root/src/jupyterhub_config.sh
++ CONFIGURATION_TYPE=learning-portal
++ '[' -f /opt/app-root/src/configs/learning-portal.sh ']'
++ . /opt/app-root/src/configs/learning-portal.sh
++ '[' -f /opt/app-root/configs/jupyterhub_config.sh ']'
++ . /opt/app-root/configs/jupyterhub_config.sh
+ trap 'kill -TERM $PID' TERM INT
+ PID=21
+ wait 21
+ jupyterhub -f /opt/app-root/src/jupyterhub_config.py
+ . /opt/app-root/src/jupyterhub_config.sh
++ CONFIGURATION_TYPE=learning-portal
++ '[' -f /opt/app-root/src/configs/learning-portal.sh ']'
++ . /opt/app-root/src/configs/learning-portal.sh
++ '[' -f /opt/app-root/configs/jupyterhub_config.sh ']'
++ . /opt/app-root/configs/jupyterhub_config.sh
+ trap 'kill -TERM $PID' TERM INT
+ PID=21
+ wait 21
+ jupyterhub -f /opt/app-root/src/jupyterhub_config.py