- Cluster Quota
oc create clusterquota env-qa \
--project-label-selector environment=qa \
--hard pods=10,services=5
oc create clusterquota user-qa \
SELECT * FROM PLANE;
CriteriaBuilder cb = em.getCriteriaBuilder();
CriteriaQuery<Plane> criteria = cb.createQuery(Plane.class);
Root<Plane> plane = criteria.from(Plane.class);
criteria.select(plane);
List<Plane> planes = em.createQuery(criteria).getResultList();
Manually create business application In case you can’t use jBPM online service to generate the application you can manually create individual projects. jBPM provides maven archetypes that can be easily used to generate the application. In fact jBPM online service uses these archetypes behind the scenes to generate business application.
org.kie:kie-kjar-archetype:7.46.0.Final
from("timer://scheduler?period=30s") | |
.log("get access token") | |
.to("direct:authService"); | |
from("direct:authService").tracing() | |
.setHeader(Exchange.HTTP_PATH) | |
.simple("<auth service context>/oauth2/token") | |
.setHeader("CamelHttpMethod") | |
.simple("POST") | |
.setHeader("Content-Type") |
you need
jq
installed confirm the path forpodman.sock
withpodman system connection list --format=json
podman-sock='rm -f /tmp/podman.sock && ssh -i ~/.ssh/podman-machine -p $(podman system connection list --format=json | jq ''.[0].URI'' | sed -E ''s|.+://.+@.+:([[:digit:]]+)/.+|\1|'') -L''/tmp/podman.sock:/run/user/501/podman/podman.sock'' -N core@localhost'
podman
#!/bin/bash | |
#for DevSpaces | |
#Go to https://github.com/settings/applications/new | |
#Enter the 'Red Hat DevSpaces Workshop' as the Application Name | |
#Enter the Homepage URL as 'https://devspaces.apps.YOUR-cluster-domain/' | |
#Enter the Authorization callback URL as 'https://devspaces.apps.YOUR-cluster-domain/api/oauth/callback' | |
#Remember to copy the Client Id and the Client Secret values | |
DEV_SPACES_NAMESPACE='openshift-devspaces' |
First you have to ensure the Java JRE is installed on your system. | |
Remember the java plugin will only work on Firefox. If you prefer to install from fedora/rhel repos: | |
sudo dnf (yum) install java-1.8.0-openjdk icedtea-web | |
download the snx script installer from the Checkpoint VPN page: | |
https://<your company vpn ip addr>/sslvpn/SNX/INSTALL/snx_install.sh | |
run int as root to install | |
- 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 |