Given an encoded (base64
) JWT (access_token
).
For example, see this sample OAuth2 response generated by JBoss APIMan/Keycloak
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: application/json
Date: Tue, 25 Aug 2015 19:25:12 GMT
- name: Tests playbook | |
hosts: localhost | |
gather_facts: no | |
vars: | |
num_users: 10 | |
infra_template_object: | |
- name: infra | |
autoscale: false | |
total_replicas: 3 | |
total_replicas_min: 3 |
Given an encoded (base64
) JWT (access_token
).
For example, see this sample OAuth2 response generated by JBoss APIMan/Keycloak
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: application/json
Date: Tue, 25 Aug 2015 19:25:12 GMT
apiVersion: v1 | |
kind: List | |
items: | |
- apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: hyperfoil-auth | |
data: | |
password: b3BlbnNoaWZ0 | |
type: Opaque |
- name: Add new users playbook | |
hosts: localhost | |
gather_facts: false | |
vars: | |
users: | |
- user1 | |
- user2 | |
- user3 | |
- user4 | |
- user5 |
#!/bin/bash | |
guid=`hostname|cut -f2 -d-|cut -f1 -d.` | |
yum -y install bind bind-utils | |
systemctl enable named | |
systemctl stop named | |
### firewalld was being a bit problematic | |
### Since we turn it off later anyway, I've skipped this step. | |
#firewall-cmd --permanent --zone=public --add-service=dns |
subscription-manager list --available
For each available subscription, this command displays its name, unique identifier, expiration date, and other details related to it. The pool ID is listed on a line beginning with Pool Id
subscription-manager subscribe --pool=pool_id
./jboss-cli.sh --connect --controller=10.25.236.195:9999 --user <admin user> --password <admin pwd>
/host=136-slave/server-config=srv-163:start(blocking=true)
/host=136-slave/server-config=srv-163:stop(blocking=true)
./jboss-cli.sh --connect --controller=10.25.236.195:9999 --command='/host=136-slave/server-config=srv-163:stop(blocking=true)'
{
def version, mvnCmd = "mvn -s configuration/cicd-settings-nexus3.xml" | |
pipeline { | |
agent { | |
label 'maven' | |
} | |
stages { | |
stage('Build App') { | |
steps { | |
// if your Git server uses an TLS self signed cetificate ... |
apiVersion: broker.amq.io/v1beta1 | |
kind: ActiveMQArtemis | |
metadata: | |
name: artemis-broker-amqp | |
spec: | |
adminUser: admin | |
adminPassword: $secret$ | |
acceptors: | |
- name: amqp | |
expose: true |