- https://cloud.google.com/anthos/gke/docs/on-prem/reference/cheatsheet
- https://medium.com/flant-com/kubectl-commands-and-tips-7b33de0c5476
- https://prefetch.net/blog/2019/10/16/the-beginners-guide-to-creating-kubernetes-manifests/
- https://kubernetes.io/docs/user-guide/kubectl-cheatsheet/
- https://learnk8s.io/blog/kubectl-productivity/
- https://medium.com/faun/kubectl-commands-cheatsheet-43ce8f13adfb
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
kubectl get services # List all services | |
kubectl get pods # List all pods | |
kubectl get nodes -w # Watch nodes continuously | |
kubectl version # Get version information | |
kubectl cluster-info # Get cluster information | |
kubectl config view # Get the configuration | |
kubectl describe node <node> # Output information about a node | |
kubectl get pods # List the current pods | |
kubectl describe pod <name> # Describe pod <name> | |
kubectl get rc # List the replication controllers |
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
PASSWORD | |
changethis | |
SERVER KEYSTORE - used by the server to establish a secure connection (HTTPS) | |
c:\eclipse\jdk1.7.0_05\jre\bin\keytool.exe -genkey -keyalg RSA -alias localhost -keystore localhost.jks -validity 365 -keysize 2048 | |
CLIENT KEYSTORE - used to generate ".cer" file that wil be used in the server's trustore and in the browser to identify the client with the server | |
c:\eclipse\jdk1.7.0_05\jre\bin\keytool.exe -genkey -keyalg RSA -alias jonwelzel -keystore jonwelzel.jks -validity 365 -keysize 2048 |
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
# This script must be executed in WLST OFFLINE mode. Restart the ADMIN SERVER | |
# post script execution for the changes to take effect. | |
#------------------------------------------------------------------------------- | |
# Purpose: Python Script to configure SOA TLogs to use JDBC Persistent Store | |
# | |
# Usage : config-soa-tlogs-jdbcstore.py <soa_domain_homepath> | |
#----------------------------------------------------------------------------- | |
import sys |
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
# | |
# The script must be executed in WLST offline mode. Restart the ADMIN SERVER | |
# post script execution for the changes to take effect. | |
# | |
#------------------------------------------------------------------------------- | |
# Purpose: Sample Python Script to rewire SOA Suite 11g PS6 JDBC data sources | |
# to use Active GridLink for RAC | |
# | |
# Usage : soa-agl-ds-rewire.py <domain_path> |
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 my https://github.com/joshlong/a-walking-tour-of-all-of-springdom project | |
import org.apache.commons.logging.*; | |
import org.springframework.batch.core.*; | |
import org.springframework.batch.core.configuration.annotation.*; | |
import org.springframework.batch.core.step.builder.StepBuilder; | |
import org.springframework.batch.item.*; | |
import org.springframework.batch.item.database.*; | |
import org.springframework.batch.item.file.FlatFileItemReader; | |
import org.springframework.batch.item.file.mapping.*; |
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
/** | |
* <p>This will be picked up in a Servlet 3 environment like Apache Tomcat 7. | |
* | |
* <p>This replaces <code>web.xml</code>. | |
* | |
*/ | |
public class MvcRestApplicationInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { | |
@Override protected Class<?> [] getRootConfigClasses() { |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<project default="wsdl2java"> | |
<path id="classpath.libraries" description=" 3rd party and Axis libs"> | |
<fileset dir="C:/java/axis2-1.6.0/lib"> | |
<include name="**/*.jar"/> | |
</fileset> | |
</path> | |
<target name="wsdl2java"> |
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
private String wlsserver = "HumanWorkFlow"; | |
private String soaserver = null; | |
private String wsurl = null; | |
private String t3url = null; | |
private String contextFactory = "weblogic.jndi.WLInitialContextFactory"; | |
private String identityDomain = "jazn.com"; | |
private String identityUsername = null; | |
private String identityPassword = null; | |
private IWorkflowContext context = null; |
NewerOlder