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"?> | |
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3"> | |
<bpmn:process id="Post_WS_HTTPCONNECTOR_TEST" name="Post_WS_HTTPCONNECTOR_TEST" isExecutable="true" camunda:versionTag="1"> | |
<bpmn:startEvent id="StartEvent_1" name=""> | |
<bpmn:extensionElements> | |
<camunda:formData /> | |
</bpmn:extensionElements> | |
<bpmn:outgoing>SequenceFlow_1fpz9fj</bpmn:outgoing> | |
</bpmn:startEvent> | |
<bpmn:sequenceFlow id="SequenceFlow_1fpz9fj" sourceRef="StartEvent_1" targetRef="ServiceTask_01za9xm" /> |
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
#====================================================== | |
# AUTHOR : CHATRI NGAMBENCHAWONG | |
#====================================================== | |
function SendLine($LINE_TOKEN, $MESSAGE) | |
{ | |
#line notify | |
$uri = "https://notify-api.line.me/api/notify" | |
$token = "Bearer $LINE_TOKEN" |
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
#====================================================== | |
# AUTHOR : CHATRI NGAMBENCHAWONG | |
#====================================================== | |
. "D:\06Utility\01BuildScript\WMSL-APP\LINE_NOTIFY.ps1" | |
Set-ExecutionPolicy Unrestricted | |
#PARAMMERTER PASS FROM JENKINS PIPELINE | |
$NETNOTIFYAPI = $args[0] |
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
openapi: 3.0.1 | |
info: | |
title: User | |
version: 1.0.0 | |
description: This is a sample | |
servers: | |
- url: http://localhost/user-service/api/v1 | |
paths: | |
/users: | |
post: |
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
Ref: https://www.cloudskillsboost.google/focuses/3565?parent=catalog | |
// Filename for data results | |
var QUERY_NAME = "Most common words in all of Shakespeare's works"; | |
// Replace this value with your Google Cloud API project ID | |
var PROJECT_ID = 'qwiklabs-gcp-02-8693f7657c18'; | |
if (!PROJECT_ID) throw Error('Project ID is required in setup'); | |
/** | |
* Runs a BigQuery query, adds data and a chart in a Sheet, |
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
#Add your key here | |
$key="<<YOUR API KEY>>" | |
#You need to add your resource location if you use a Cognitive Services resource | |
$location="eastus" | |
#The endpoint is global for the Translator service, DO NOT change it | |
$endpoint="https://api.cognitive.microsofttranslator.com/" | |
#Text to be translated |
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 jenkins/jenkins:2.375.2-lts | |
USER root | |
RUN apt-get update -y && apt-get upgrade -y && apt-get install wget tzdata apt-transport-https ca-certificates software-properties-common curl gnupg2 vim zip libasound2 libasound2-data -y | |
# install docker | |
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | |
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
RUN apt-get update -y && apt-get install docker-ce-cli -y |
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 jenkins/jenkins:2.375.2-lts | |
USER root | |
RUN apt-get update -y && apt-get upgrade -y && apt-get install wget tzdata apt-transport-https ca-certificates software-properties-common curl gnupg2 vim zip libasound2 libasound2-data -y | |
# install docker | |
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | |
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
RUN apt-get update -y && apt-get install docker-ce-cli -y |
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 mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime | |
COPY bin/Release/net6.0/publish/ /app | |
RUN apt-get update && apt-get install -y libxml2-dev | |
ENV DB2_CLI_DRIVER_INSTALL_PATH="/app/clidriver" | |
ENV LD_LIBRARY_PATH="/app/clidriver/lib:/app/clidriver/lib/libdb2.so" | |
ENV LIBPATH="/app/clidriver/lib" | |
ENV PATH=$PATH:"/app/clidriver/bin" |
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
Basic Skill | |
* Linux Command | |
* Docker | |
Monitor จะมั 2 กลุ่ม | |
* Uptime-kuma | |
* Prometheus(Time Series DB) + Node Exporter (จัด Mwtric ตามต้องการ) >> Grafana (Visual) | |
Uptime-kuma (https://github.com/louislam/uptime-kuma) |