Skip to content

Instantly share code, notes, and snippets.

View maleck13's full-sized avatar

Craig Brookes maleck13

View GitHub Profile
@maleck13
maleck13 / config.json
Created February 1, 2018 13:57
kc config
{
"version":"1",
"cluster_name":"https://192.168.64.24:8443",
"namespace":"atesta",
"client_id":"mine-android",
"services":[
{
"id":"",
"name":"keycloak",
"type":"",
make integration
errcheck
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:25:25: expected type, found '=' (and 1 more errors)
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:97:38: undeclared name: All
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:103:9: invalid operation: cannot call non-function c.Validator (variable of type ValidationFunction)
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:102:2: output declared but not used
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:102:10: err declared but not used
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:107:34: undeclared name: SuccessValidation
/Users/kelly/projects/src/github.com/aerogear/mobile-cli/integration/validatedCommandUtils.go:6:2: "regexp" imported but not used
error: fa
type configParams map[string]interface{}
type GenericClientConfig struct {
*configParams
Headers map[string]string `json:"headers"`
}
type ServiceConfig struct {
Config *GenericClientConfig `json:"config"`
Name string `json:"name"`
Authentication required
<!--
You are authenticated as: anonymous
Groups that you are in:
Permission you need to have (but didn't): hudson.model.Hudson.Read
... which is implied by: hudson.security.Permission.GenericRead
... which is implied by: hudson.model.Hudson.Administer
-->
@maleck13
maleck13 / core config
Created September 1, 2017 14:25
core config json
{
"host":"127.0.0.1:9000",
"appID":android-1504262499""
"apiKey":d0ee59c8-7ef0-41c9-9872-c61d89073432
}
@maleck13
maleck13 / config-response.json
Last active August 29, 2017 19:28
config api response /sdk/mobileapp/test/config
{
"fh-sync-server":{
"config":{
"name":"fh-sync-server",
"uri":"https://fh-sync-server-project.192.168.37.1.nip.io"
},
"name":"fh-sync-server"
},
"keycloak":{
"config":{
{
"apiVersion": "servicecatalog.k8s.io/v1alpha1",
"kind": "Broker",
"metadata": {
"name": "template-broker"
},
"spec": {
"url": "https://kubernetes.default.svc:443/brokers/template.openshift.io"
}
}
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "mobile.k8s.io/v1alpha1",
"resources": [
{
"name": "mobileapps",
"singularName": "",
"namespaced": true,
"kind": "MobileApp",
Namespace: mobile
Verb: list
Resource: mobileapps.mobile.k8s.io
Users: system:admin
system:kube-controller-manager
system:serviceaccount:default:pvinstaller
system:serviceaccount:kube-system:generic-garbage-collector
system:serviceaccount:kube-system:namespace-controller
system:serviceaccount:kube-system:resourcequota-controller
@maleck13
maleck13 / roles.yaml
Created July 20, 2017 08:25
roles for custom api
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: ClusterRole
metadata:
name: mobile-api-caller
rules:
- apiGroups:
- mobile.k8s.io