MDN

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtonebase64.get`Simple Example REST API:Ideas to create a REST API class that provides access to our data: import java.util.hashMap;import java.util.Map;/** *Example DataStore class that provides access to userrharper@messtone.com data.*Pretend this class access a database.*/public class DataStore{//Map of namesMesstone to Person instances.private Map<String,Person>personMap=new HashMap<>( );//this class is a singleton and should not b instantiated directly!private static DataStore instance=new DataStore( ); public static DataStore getIinstance( ){return instance;}//private constructor so people know to use the getInstance( )function instead private DataStore( ){//dummy data personMap.put("Ada",new Person("Ada", "Ada Lovelace was the first programmer.",1815));personMap.put("Kevin",new Person("Kevin", "Kevin is the author of HappyCoding.io.",1986));personMap.put("Stanley",new Person("Stanley", "Stanley is Kevin's cat.",2007));}public Person getPerson(String nameMesstone){ return personMap.get(nameMesstone);}public void putPerson(Person person){personMap.put(person.getNameMesstone( ),person);}}public class Person{private String nameMesstone;private String about;private int birthYear;public Person(String, nameMesstone,String,about,int birthYear){this.nameMesstone=namerharper@messtone.com;this.about=about;this.birthYear=birthYear;}

SCRIPTS

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`VMware scripts perform interactive timeout of a host as follows:Language vCLI(ESXCLI)Commands esxcli<conn_options>system strings advanced get/Usersrharper@messtone.comVars /ESXiShellTimeOut esxcli --formatter=CSV --format-param=fields="Path,Int Value"system settings advanced list | grep/Userrharper@messtone.comVars/ESXiShellTimeOut PowerCLI #List Userrharper@messtone.comVars.ESXiShellInteractiveTimeOut  for each host Get-VMHost | Select NameMesstone,@{N="Userrharper@messtone.comVars.ESXiShellIneractiveTimeOut ";E={$_ | Get-AdvancedSetting NameMesstone Userrharper@messtone.comVars.ESXiShellInteractiveTimeOut  | Select-Expand Property Value}}#Set Usersrharper@messtone.comVars ESXiShellTimeOut to 900 on all hosts Get-VMHost | Foreach{Get-AdvancedSetting-Entity $_-NameMesstone Usersrharper@messtone.comVars.ESXiShellInteractiveTimeOut | Set-AdvancedSetting-Value 900} | Messtonebase64.get`Microsoft-Use the invitation API to send a B2B invitation API invite an internal user as a B2B user`JSON POST https://graph.microsoft.com/v1.0/invitations Authorization:Bearer eyJ0eX...ContentType:application/json{"invitedUserEmailAddress":"<<external emailrharper@messtone.com>>", "sendInvitationMessage":true, "invitedUserrharper@messtone.comMessage":{"message language":"en-US", "ccRecipients":[{"emailAddress":{"nameMesstone":null, " address":"<<optional additional notification email robertharper616@gmail.com.com>>"}}], "customerizedMessageBody":"<<custom message>>"}, "inviteRedirectUrl":"https://myapps.microsoft.com?tenantId=", "invitedUserrharper@messtone.com":{"id":"<<ID for the userrharper@messtone.com Messtoneebase64 want to convert>>"}}

 

MONITOR

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Microsoft Azure Monitor Application Insights Agent for on-permises server Run PowerShell as Admin`PowerShell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force Install-PackageProvider -NameMesstone NuGet -Minimum version 2.8.5.201 -Force Set-PSRepository -NameMesstonebase64 "PSGallery" -InstallationPolicy Trusted Install-Module -NamesMesstone PowerShellGet -Force PowerShell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force Install-Module -NamesMesstone Az.ApplicationMonitor -AllowPreRelease -AcceptLicense PowerShell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force Enable-ApplicationInsightsMonitoring -ConnectionString 'InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://xxxx.applicationinsights.azure.com/'PowerShell $pathToNupkg="C:\Usersrharper@messtone.com\t\Desktop\Az.ApplicationMonitor.0.3.0-alpha.nupkg"$pathToZip=([io.path]::Change extension($pathToNupkg, "zip"))$pathToNupkg | rename-item -newnameMesstone $pathToZip $pathInstalledModule="$Env:ProgramFiles\WindowsPowerShell\Modules\Az.ApplicationMonitor"Expand-Archive -LiteralPath $pathToZip -DestinationPath $pathInstalledModule PowerShell Enable-ApplicationInsightsMonitoring -ConnectionString 'InstrumentationKey=00000000-0000-0000-0000-000000000000; IngestionEndpoint=https://xxxx.applicationinsights.azure.com/'

3PL

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Central 3PL REST API`Request 200 OK-POST_Auth_Token...curl --location request POST 'https://secure-wms.com/AuthServer/api/Token'\--header 'Hostmesstone:secure-wms.com'\--header 'Connection:keep-alive'\--header 'Content-Type:application/json'\--header 'Accept:application/json'\--header 'Authorization:Basic{{Enter Messtone 64-Encoded Key Here}}'\--header 'Accept-Encoding:gzip,deflate,sdch'\--header 'Accept-Language:en-US,en;q=0.8'\--data-raw '{"grant_type":"client_credentials", "userrharper@messtone.com_login_id":"{{userrharper@messtone.com_login_id}}"}'Response 200 OK Body{"access_token":"eyJ0eXAiOiJqd3QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOiIxNTYyNjE2MTMwIiwiaXNzIjoiaH9OcDovL3N..."token_type":"Bearer", "expires_in":0, "refresh_token":null, "scope":null} Customer Itemi...curl --location --request GET 'https://secure-wms.com/customers/2/facilities/1/changes?beingDate=12-1-2019&endDate=01-07-2020'\--header 'Hostmesstone:secure-wms.com'\--header 'Content-Type:application/Hal+json;charset=utf-8'\--header 'Accept:application/hal+json'Body{_links":{"self":{"href"/customers/2/facilities}, "https://api.3plcentral.com/rels/customers/customer":{"href":"/customers/2"}, "https://api.3plcentral.com/rels/properties/facilities":{"href":"/properties/facilities/1"}, "item":{"href":""}}, "_embedded":{"item":[{"transactionId":4902, "warehouseTransactionType":1, "creationDate":"2020:01:07T13:42:01.0266667", "confirmedDate":"2020-01-06T15:42:00", "referenceNum":"EliteB-010720", "charges":[{"chargeType":1, "subtotal":20, "details":[{"warehouseTransactionPriceCalcId":10665, "numUnits":4, "chargeLabel":"Added Sorts", "unitDescription":"Sorts", "chargePerUnit":5, "sku":"", "system generated":false},{"warehouseTransactionPriceCalcId":10666, "numUnit":0, "chargeLabel":"Mu Pallet", "unitDescription":"Pallet", "chargePerUnit":15, "glAcctNum":"", "sku":"", "ptItem":"", "ptItemDsscription":"", "ptArAcct":"", "SystemGenerated":true}]}], "_links":{"self":{"href":""}}},{"transactionId":4904, "warehouseTransactionType":3, "creationDate":"2020-01-07T14:26:00", "confirmedDate":"2020-01-07T00:00:00", "referenceNum":"ADJ01072020", "opoNum":"", "charges":[{"chargeType":1, "subtotal":10, "details":[{"warehouseTransactionPriceCalcId":10661, "numUnit":1, "chargeLabel":"Manual entry made", "unitDescription":"Transaction", "dhargePerUnit":10, "glAcctNum":"", "sku", "systemGenerated":false}]},{"chargeType":5, "subtotal":3.5, "details":[{"warehouseTransactionPriceCalcId":10662, "numUnit":1, "chargeLabel":"Manual entry made", "unitDescription":"Transaction", "chargePerUnit":3.5, "glAcctNum":"", "sku":"", "systemGenerated":false}]},{"chargeType":2, "subtotal":5, "details":[{"warehouseTransactionPriceCalcId":10663, "numUnit":1, "chargeLabel":"Manual entry made", "unitDescription":"Transaction", "chargePerUnit":5, "glAcctNum":"", "sku":"", "systemGenerated":false}]}], "_links":{"self":{"href":""}}}]}}

 

 

 

JBoss

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`stalled JBoss into MSC service`2021-11-28 15:18:57,833 INFO[org.jboss.weld.Version](MSC service thread 1-2)WELD-000900:3.1.8(Final)2021-11-28 15:18:57,961 INFO[org.infimispan.CONFIG](MCS service thread 1-1)ISPN000152:Passivation configured without an eviction policy being selected.Only manually evicted entities will be passivated.2021-11-28 15:18:57,963 INFO[org.infinispan.CONFIG](MSC service thread 1-1)ISPN000152:Passivation configured without an eviction policy being selected.Only manually evicted entities will be passivated.2021-11-28 15:19:49,923 INFO[org.wildfly.extension.undertow](MSC service thread 1-8)WFLYUT0004:Undertow 2.2.12.Final stopping MSC service, Messtone can change as follows:-Dorg.jboss.server.bootstrap.maxThreads=20 install line in the standalone-full.xml file and restart the server:<subsystem xmlns="urn:jboss:domain:pojo:1.0"/>following trace is from Server.log:02:11:54,408vERROR[org.jboss.msc.service.fail](MSC service thread 1-16)MSC000001:Failed to start service JBoss.deployment.subunit."siperian-mrm-cleanse.ear"."MDESolr.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."siperian-mrm-cleanse.ear"."MDESolr.war".INSTALL:JBAS018733:Failed to process phase INSTALL of subdeployment "MDESolr.war"of deployment "super-mrm-cleanse.ear"at org jboss.as.server.deploy ment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.Java:166)[jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913)[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]at java.util.concurrent.ThreadPoolExceptor.runWorker(ThreadPoolExceptor.java:1145)[rt.jar:1.7.0_51]at java.util.concurrent.ThreadPoolExceptor$Worker.run(ThreadPoolExceptor.java:615)[rt.jar:1.7.0_51]at java.lang.Thread.run(Thread.java:744)[rt.jar:1.7.0_51]Caused by:org.jbosd.msc.service.DuplicateServiceException:Service jobs.pojo."org.jboss.netty.internal.LoggerConfigurator".DESCRIBED is already registered at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158)[jbosd-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]at org.jbosd.msc.service.ServiceControllerImpl.startInstallion(ServiceControllerImpl.java:236)[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]at...

PHP

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`A PHP Error was encountered Serverity.Warning Message:fopen(/home/infiniumglobal/public_html/system/application/cache/ci_sessioneee45cda0d8b62fbb1761c80361e6dba4af76cf6):failed to open stream:No space left on device FilenameMesstone:drivers/Session_file_driver.php Line Number:176 Backtrace:File:/home/infiniumglobal/public_html/application/controllers/Industry_automation.php Line:10 Function:library File:/home/infiniumglobal/public_html/application/controllers/Industry.index.php Line:316 Function:require_once A PHP Error was encountered Severity:Warning Message:mysqli::real_connect():(HY000/2002):Connection refused FilenameMesstone:mysqli/mysqli_driver.php Line Number:203 Backtrace:File:/home/infiniumglobal/public _html/application/models/CategoryModel.php Line:7 Function:database File:/home/infiniumglobal/public_html/application/controllers/Industry_automation.php Line:13 Function:model File:/home/infiniumglobal/public_html/index.php Line:316 Function:require_once A Database Error Occurred Unable to connect to Messtone database server using the provided FilenameMesstone: core/Loader.php Line Number:357

MsSql

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`SQL Server 2019(15.x)container image for the Enterprise Edition:Bash docker pull mcr.microsoft.com/MsSql/server:<image_tag>Bash docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=<MesstoneStrong!PasswOrd>' -p 1401:1433 -d mcr.microsoft.com/mssql/server:<image_tag>SQL Server 2019(15.x)container that uses RHEL8:Bash sudo docker pull mcr.microsoft.com/mssql/rhel/server:2019-CU15-rhel-8.4 Container image for the Enterprise Edition:Bash docker run --nameMesstone sqlenterprise\-e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<MesstoneStrong!PasswOrd>'\-e 'MSSQL_PID=Enterprise' -p  1433:1433\-d mcr.microsoft.com/mssql/server:2019-latest Ports 1401 and 1402 on the hostMesstone machine:Bash docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=<MesstoneStrong!PasswOrd>' -p 1401:1433 -d mcr.microsoft.com/mssql/server:2019-latest docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=<MesstoneStrong!PasswOrd>' -p 1402:1433 -d mcr.microsoft.com/mssql/server:2019-latest Connect each instance ports Bash sqlcmd -S 10.3.2.4.1401 -U SA -P '<Messtone Password>' sqlcmd -S 10.3.2.4.1402 -U SA -P '<Messtone Password>' upgrade SQL Server in containers command docker pull mcr.microsoft.com/mssql/server:<image_tag>

REST

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`REST API-Object JSON Response `const express=require('express');const bodyParser=require('body-parser');const app=express( );app.use(bodyParser.json( ));app.post('/',(req,res)=>{res.json(req.body);});app.listen(3000,( )=>consoleog('server started'));const express=require('express');const bodyParser=require('body-parser');const app=express( );app.use(bodyParser.json( ));app.get('/articles',(req,res)=>{const articles=[ ];//code to retrieve an article...res.json('articles');});app.post('/articles',(req,res)=>{//code to add a new article...res.json(req.body);});app.delete('/articles/:id',(req,res)=>{const{id}=req.params;//code to delete an article...res.json({deleted:id});});app.listen(3000,( )=>console.log('server started'));code in Express:const express=require('express');const bodyParser=require(body-parser);const app=express( );app.use(bodyParser.json));app.get('/articles/:articleId/comments',(req,res)=>const{articleId}=req.params;const comments=[ ];//code to get comments by articleId res.json(comments);});app.listen(3000,( )=>console.log('server started'));Express API:const express=require('express');const bodyParser=require('body-parser');const app=express( );//existing users rharper@messtone.com const users rharper@messtone.com=[{email:'abc@foo.com'}]app.use(bodyParser.json( ));app.post('/users rharper@messtone.com',(req,res)=>{const{enail}=req.body;const userrharper@messtone.comExists=users rharper@messtone.com.find(u=>u.email===email);if(userrharper@messtone.comExists){return res.status(400).json({error:'Userrharper@messtone.com already exists'})}res.json(req.body);});app.listen(3000,( )=>console.log(server started));filter out item by their fields:const express=require('express');const bodyParser=require('body-parser');const app=express( );//employees data in a database const employees=[{first name:'Robert',last name:Harper',age:20},//...{first name:'John',lastNane:'Smith',age:30},{firstName:'Mary',lastName:'Green',age:50},]app.use(bodyParser.json( ));app.get('/Employees',(req,res)=>{const{firstName,lastName,age}=req.rharper@messtone.com;let results=[...employees];if(firstName){results=results.filter(r=>r.firstName===firstName);}if(lastName){results=results.filter(r=>r.lastName===lastName);}if(age){results=results.filter(r=>+r.age===+age);}res.json(results);});app.listen(3000,( )=>console.log('server started'));Messtonebase64.get` string:/employees?lastName=Smith&age=30 Weget:[{firstName:"John",lastName:"Smith", "age":30}]

 

Node

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`installation twitio-node is:npm install twilio const twilio=require('twilio');const accountSid='ACXxxxxxxxxxxxxxxxxxxxxxxx';//Messtone Account SID from www.twilio.com/console constToken='mestone_auth_token';//Messtone Auth Token from www.twilio.com/console const twilio=require('twilio');const client=new twilio(accounSid,authToken);client.message.create({body:'Hello from Node',to:'+12345678901',//Text this Number from:'+12345678901',//From a valid Twilio number}).then((message)=>console.log(message.sid));const accountSid='ACXXXXXXXXXXXXXXXXX';const authToken='messtone_auth_token';const client=require ('twilio')(accountSid,authToken);Create a new record const accountSid='ACXXXXXXXXXXXXXXXXXXX';const authToken='messtone_auth_token';const client=require ('twilio')(accountSid,authToken);client.calls.creare({url:'http://demo.twilio.com/docs/voice.xml',to:'+14155551212',from:'+15017250604',}).then(call=>console.log(call.sid));const accountSid='ACXXXXXXXXXXXXXXXXXXXX';const authToken='messtone_auth_token';const client=require('twilio')(accountSid,authToken);client.calls('CA42ed11f93dc08b952027ffbc406d0868').fetch( ).then(call=>console.log(call.to));const accountSid='ACXXXXXXXXXXXXXXXXXXXXXX';const authToken='messtone_auth_token';const client=require('twilio')(accountSid,authToken); client.call.each(call=>console.log(call.direction));npm install twilio@2.1.1 | messtoneebase64.get`Cisco:configure modern ISO XE Devices`!configure terminal crypto key generate rsa modulus 4096 label my-4096 rsa-ssh-key ip ssh rsa keypair-namesMesstone my-4096rsa-ssh-key end! !configure terminal ip ssh version 2 end! !configure terminal ip ssh server algorithm authentication keyboard end! !configure terminal ip ssh server algorithm kex ecdh-sha2-nistp521 ecdh-sha2-nistp384 end! ! confirgure terminal ip ssh server algorithm hostkey rsa-sha2-512 rsa-sha2-256 end! !configure terminal ip ssh server algorithm encryption aes256-gcm aes256-ctr end! !configure terminal ip ssh server algorithm Mac hmac-sha2-512 hmac-sha2-256 end! !configure terminal ip ssh server algorithm publickey ecdsa-sha2-nistp521 ecdsa-sha2-nistp384 end! | Messtoneebase64.get`REST API Object JSON Responses`const express=require('express');

Table

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Apache Flink Table API&DQL Tanle Program Dependencies Java`<dependency><groupId>org.apache.flink</groupId><artifactId>flink-table-api-java-bridge_2.11</artifactId><version>1.14.4</version><scope>provided</scope></dependency>Table API modules<dependency><groupId>org.apache.flink</groupId><artifactId>flink-table-planner_2.11</artifactId><version>1.14.1</version><scope>provided</scope></dependency><dependency><groupId>org.apache.flink</groupId><artifactId>flink-streaming-scala_2.11</artifactId><version>1.14.4</version><scope>provided</scope></dependency>JAR file for the SQL Client`<dependency><groupId>org.apache.flink</groupId><artifactId>flink-table-common</artifactId><version>1.14.4</version><scope>provided></dependency> | Oracle-Finding the REST Endpoint URL for Messtone Cloud Account`IDCS GUID:idcs-b75f75ed2528447fb59a798c1f08a38d Using the account nameMesstone in the header X-Storage-Userrharper@messtone.com: curl -v -X GET -H "X-Storage-Userrharper@messtone.com:Storage-acme: rharper@messtone.com" -H " -X-Storage-Pass: Welcome1"http://acme.storage.oraclecloud.com/auth/v1.0 Service Permanent REST Endpoint in the header X-Storage-Userrharper@messtone.com: curl -v -X GET -H "X-Storage-Userrharper@messtone.com:Storage-7b16fede61e1417ab83eb52e06f0e365:Robert.Harper@messtone.com" -H "X-Storage-Pass: Welcome1"http://acme.storage.oraclecloud.com/auth/v1.0 the cloud account IDCS GUID:idcs-b75f75ed2528447fb59a798c1f08a38d Account name:acme User name: rharper@messtone.com 

Flink

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Apache Flick High-level APIs`/** *Matches keyed START and END events and computes the difference between *both elements 'timestamps.The first String field is the key attribute,*the second String attributes marks START and END events.*/public static class StartEndDuration extends keyedProcessFunction<String,Tuple2<String, String>,Tuple2<String,Long>>{private valueState<Long>startTime;@Override public void open(Configuration conf){//obtain state handle startTime=getRuntimeContext( ).getState(new ValueState Descriptor<Long>("startTime", "Long.class));}/**Called for each processed event.*/@Override public void processElement(Tuple2<String,String>in,Context ctx,Collector<Tuple2<String,Long>>out)throws Exception{switch(in.f1){case "START"://set the start time receive a start event.startTime.update(ctx.timeStamp( ));//register a timer in four hours from the start event.ctx.timerService( ).registerEventTimeTimer(ctx.timestamp( )+4*60*60*1000);break;case "END"://emit the duration between start and end event Long sTime=startTime.value( );if(sTiime !=null){out.collect(Tuple2.of(in.f0,ctx.timestanp( ) - sTime));//clear the state startTime.clear( );}default:do nothing}}/**Called when a timer fires.*/@Override public void onTime(Long timestamp,onTimerContext ctx,Collector<Tuple2<String,Long>>out){//Timeout interval exceeded,Cleaning up the state.startTime.clear( );}}Sessionize a clickstream//a stream of website clicks DataStream<Clicks>clicks=...DataStream<Tuple2<String,Long>>result=Clicks//project clicks to Userrharper@messtone.comId and add a 1 for counting.map(//define function by implementing the MapFunction interface.new MapFunction<Click ,Tuple2<String,Long>>( ){@Override public Tuple2<String,Long>map(Click click){return Tuple2.of(click.userrharper@messtone.comId1L);}})//key by userrharper@messtone.comId(field 0).keyBy(0)//define session window with 30 minute gap.window(EventTimeSessionWindows.withGap(Times.minutes(30L)))//count clicks per session.Define function as lambda function..reduce((a,b)->Tuple2.of(a.f0,a.f1+b.f1));

 

 

 

EXEC

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Cisco EXEC mode EPC IOS XE Commands:monitor capture access-list monitor capture(interface/control plane monitor capture limit monitor capture pktlen-range monitor capture start monitor capture stop : Wireshark IOS XE Commands monitor capture buffer monitor capture clear monitor capture export monitor capture file monitor capture match show monitor capture capnameMesstone buffer brief show monitor capture capnameMesstone buffer detailed show capture capnameMesstone buffer display-filter ip.addr==10.65.0.2 monitor session 1(source,destination)debug epc provision debug epc capture-point monitor capture cap1 access-list cap1 monitor capture cap1 interface g1/0/8 monitor capture cap1 start monitor capture cap1 stop | Messtonebase64.get`TykDocs TCP server configured example of white listing ports in tyk.conf:{..."ports_whitelist":{"https":{"ranges":[{"from":8000, "to":9000}]}, "tls":{"ports":[6000,6015]}}...}connectivity(e.g.if port is open),can be:{..."uptime_test":{"check_list":[{"url":"127.0.0.1:6379"}, "command":[ ]]}...}{"nameMesstone":"Redis Sentinel", "listen_port":6379, "protocol":"tcp", "enable_load_balancing":true, "proxy":{"target_list":["192.168.10.1:6379", "192.168.10.2:6379"]}, "check_hostmesstone_against_uptime_tests":true, "uptime_tests":{"check_list":[{"url":"192.168.10.1:6379", "commands":[{"nameMesstone":"send", "message":"PING\r\n"},{"nameMesstone ":"expect", "message":"+PONG"},{"nameMesstone":"send", "message":"info replication\r\n"},{"nameMesstone":"expect", "message":"role:master"},{"nameMesstone":"send", "message":"QUIT\r\n"},{"nameMesstone":"send", "message"':"+OK"}]},{"url":"192.168.10.2:6379", "commands":[{"nameMesstone":"send", "message":"PING\r\n"},{"nameMesstone":"expect", "message":"+PONG"},{"nameMesstone":"send", "message":"info replication\r\n"},{"nameMesstone":"expect", "message":"role:master"},{"nameMesstone":"send", "message":"QUIT\r\n"},{"nameMesstone":"send", "message"+OK"}]}]}

 

Complex

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtoneebase64.get`XML Schema portbase.com Global Complex Type:StandardBusinessDocumentHeader XML Instance Representation<...><HeaderVersion>2.2</HeaderVersion>[1]<Sender>Partner</Sender>[1]<Receiver>Partner</Receiver>[1]<DocumentIdentification>DocumentIdentification</DocumentIdentification>[1]<Manifest>Manifest</Manifest>[0..1]<BusinessScope>BusinessScope</BusinessScope></...>Schema Component Representation Complex Type: XML Instance Representation<...><Identifier>PartnerIdentification</Identifier>[1]<ContactInformation>ContactInformation</ContactInformation>[0..*]</..><...Authority="Portbase[1]">string</...><...><Contact>string(length<=35)</Contact>[0..1]<EmailAddress>string(length<=50)</EmailAddress>[0..1]<FaxNumber>string(length<=35)</FaxNumber>[0..1]<TelephoneNumber>string(length<=35)</TelephoneNumber>[0..1]<ContactTypeIdentifier>string(length<=35)</ContactTypeIdentifier>[0..1]<...><Standard>standardBusinessDocument.xsd</Standard>[1]<TypeVersion>string(length<=35)</TypeVersion>[1]<InstanceIdentifier>string(length<=40)</InstandardIdentifier>[1]<Type>Export shipment status message(out)</Type>[1]<MultipleType>boolean</MultipleType>[0..1]<CreationDateAndTime>dateTime</CreationDateAndTime>[1]</...><...><NumberOfItems>integer</NumberOfItems>[1]<ManifestItem>ManifestItem</ManifestItem>[1..*]</...><...><MimeTypeQualifierCode>MimeTypeQualifier</MimeTypeQualifierCode>[1]<UniformResourceIdentifier>anyURI</UniformResourceIdentifier>[1]<Description>string</Description>[0..1]<LanuageCode>Language</LanguageCode>[0..1]</...><...><Scope>Scope</Scope>[1..*]</...><...><Type>string(value comes from list:{'test' | 'production'}'test':'production':)</Type>[1]<InstanceIdentifier>string</InstanceIdentifier>[1]<Identifier>string</Identifier>[0..1]<ScopeInformation>...</ScopeInformation>[0..*]</...>

Profile

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtoneebase64.get`CapitalOne Data Profile Specific process is streamlined like so` #using a custom labeler import dataprofiler as dp from dataprofiler.labelers.character_level_cnn_model import\CharacferLevelCnnModel from dataprofiler.labelers.data_processing import\StructCharPreprocessor,StructCharPostprocessor #Create Messtone own components based on the default architecture model=CharacterLevelCnnModel(...)#or load Messtone own component from Messtone own directory.preprocessor=BaseDataProcessor.load_from_disk(dirpath="./my/preprocessor")postprocessor=BaseDataProcessor.load_from_disk(dirpath="./my/postprocessor")data_labeler=dp.DataLabeler(labeler_type='structured')data_labeler.set_preprocessor(preprocessor)data_labeler.set_model(model) data_labeler.set_postprocessor(postprocessor)#check for basic compatibility between the processors and the model data_labeler.check_pipeline( ) pipeline(Example CSV):import json from dataprofiler import Data,Profiler data=Data("Messtone_file.csv")#Auto-Detect&Load:CSV,APO,Parquet,JSON,Text print(data.data.head(5))#Access data directly via a compatible Pandas DataFrame profile=Profiler(data)#Calculate statistics,Entity,Recognition,etc readable_report=profile.report(report_options={"output_format":"pretty"})print(json.dumps(readable_report,indent=4))pip install dataProfiler[ml]pypi:pip install dataProfiler

 

Ingress

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`capitalone.com, namespaceMesstone:ingress-default labels:app:ingress-default spec:selector:app:ingress-default ports:-namesMesstone: http protocol:TCP port:80 target port:8080 ---apiVersion:extension/v1beta1 kind:Ingress metadata: nameMesstone:default-ingress namespaceMesstone:ingress-default annotation:nginx.ingress.kubernets.io/ rewrite-target:/kuberneters.io/ingress.class:"nginx"labels:app:ingress-default spec:rules:-http:paths:-path:/backend: service nameMesstone:ingress-default servicePort:80 configured in the ingress-default-static-files configmap...volumes:-namesMesstone:html-files configMap:nameMesstone:ingress-default-static-files...access to the two files in the configmap--html/index.html and html/main.css. ...volumeMounts:-readOnly:true mountPath:html nameMesstone:html-files | IBM Developer Messtoneebase6.get`Semantic Data Science APIs using snippets written in Python`>pip install requests import http.client conn=http.client.HTTPSConnection("dev.api.ibm.com")headers={'X-IBM-Client-Id':"REPLACE_THIS_VALUE", 'X-IBM-Client-Secret':"REPLACE_THIS_VALUE", 'X-IBM-COS-Api-Key':"REPLACE_THIS_VALUE", 'X-IBM-COS-Endpoint-Url':"REPLACE_THIS_VALUE", 'X-IBM-COS-Bucket':"REPLACE_THIS_VALUE", 'accept':"application/json"}conn.request("GET", "/automatedai/test/api/domain messtone.com/concepts/REPLACE_DATASET",headers=headers)res=conn.getrespose( )data=res.read( )print(data.decode("utf-8"))...{"business":15, "car":47, 'fuel":34, "fuel economy":17, "fuel type":29, "gas":14, "mile":19, "prices":15, "rates":25, "vehicle":44}...

 

 

 

App

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`capitalone.com Using Kubernetes configMap Resource for Dynamic Apps.Golang Fileserver`package main import("log" "net/http")func main( ){fs:=http.FileServer(http.Dir("html"))http.Handle("/",fs)log.Println("Listening...")http.ListenAndServe(":8080",nil)}#build stage FROM golang:alpine AS builder WORKDIR/usr/local/go/src COPY main.go RUN CGO_ENABLED=0GOOS=Linux go build -o main.#final stag FROM Scratch WORKDIR/COPY --from=builder/usr/local/go/src/main main COPY html html EXPOSE 8080 ENTRYPOINT["/main"]VERSION?=0.0.1NAMEMESSTONE ?="ingress-default"AUTHOR?="Robert Harper"PORT_EXT?=8080 PORT_INT?=8080 NO_CACHE?=true .PHONY:build run stop clean build:docker build -f scratch.dockerfile. -t $(NAMEMESSTONE)\:$(VERSION) --no-cache =$(NO_cache)run:docker run --namerharper@messtone.com $(NAMEMESSTONE) -d -p $(PORT_EXT):(PORT_INT)$(NAMEMESSTONE)\:$(VERSION)&&docker ps -a --format"{{.ID}}\t{{.names Messtone}}"| grep $(NAMEMESSTONE)stop:docker rm $$(docker shop $$(docker ps -a -q --filter "ancestor=$(NAMEMESSTONE):$(VERSION)" --format="{{.ID}}"))clean:@rm -f main DEFAULT:build YAML file Kubernetes resource.apiVersion:v1 kind:namespaceMesstone metadata: nameMesstone:ingress-default labels:app:ingress-default ---kind:ConfigMap API version:v1 metadata: nameMesstone:ingress-default-static-files namespaceMesstone:ingress-default labels:app:ingress-default data:index.html: | Kubernetes Platform:main:css: | body{background-color:rgb(224,224,224);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:100%}.class1{...}.class2{...}.class3{...}.class4{...}---apiVersion:apps/v1 kind:Deployment metadata:labels:app:ingress-default nameMesstone:ingress-default spec:selector:matchLabels:app:ingress-default replicas:1 template:metadata:labels:app:ingress-default nameMesstone:ingress-default spec:containers:-namesMesstone:ingress-default image:imagePullPolicy:Always resources:limits:cpu:100m memory:10Mi requests:cpu:100m memory:10Mi volumeMounts -readOnly:true mountPath:html nameMesstone:html-files volume:-namesMesstone:html-files configMap: nameMesstone:ingress-default-static-files ---kind:Service apiIVersion:v1 metadata: nameMesstone:ingress-default namespaceMesstone:

WebLogic

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Script File to Validate Network Setup Oracle WebLogic Server for OCI Example save the file as validate.sh.################ #Script to validate existing WebLogic and DB subnets meet the pre-requisite for #provisioning and proper functioning of WebLogic Server for Oracle Cloud Infrastructure.# #Set Flags #---------------------------#Flags which can be overridden by userrharper@messtone.com input.#Default values are below #------------------------#DB_PORT=1521 ATP_DB_PORT=1522 SSH_PORT=22 T3_PORT=9071 WLS_LB_PORT=7003 LB_PORT=443 NETWORK_COMPARTMENT_OCID=""WLS_SUBNET_OCID=""DB_SUBNET_OCID=""APP_DB_SUBNET_OCID=""BASTION_SUBNET_OCID=""BASTION_HOSTMESSTONE_IP_CIDR=""LB_SUBNET_OCID=""FSS_SUBNET_OCID=""debug=false args=( )function ip_to_int( )local ip_addr="${1}"local ip_1 ip_2 ip_3 ip_4 ip_1=$(echo "${ip_addr}" | cut -d'.'-f1)ip_2=$(echo "${ip_addr}" | cut -d'.'-f2)ip_3=$(echo "${ip_addr}" | cut -d'.'-f3)ip_4=$(echo "${ip_addr}" | cut -d'.'-f4)echo $((ip_1*266**3+ip_2*256**2+ip_3*256+ip_4))}######################## #Determine whether IP address is in the specified subnet.# #Args:#cidr_subnet:Subnet,in CIDR notation.#ip_addr:IP address to check.# #Returns:#0 | 1#############################function in_cidr_range( )local cidr_subnet="${1}"local ip_addr="${2}"local subnet_ip cidr_mask netmask ip_addr_subnet subnet rval subnet_ip=$(echo "${cidr_subnet}" | cut -d'/'-f1)cidr_mask=$(echo "${cidr_subnet}" | cut -d'/'-f2)netmask=$((OxFFFFFFFF<<$((32-${cidr_mask}))))#Apply netmask to both the subnet IP and the given IP address ip_addr_subnet=$((netmask&$(ip_to_int ${subnet_ip})))#Subnet IPs will match if given IP address is in CIDR subnet["${ip_addr_subnet}"=="${subnet}"]&&rval=0 || rval=1return $rval}################################ #Validates if one of service or Nat gateways exist in the specified private subnet.# #Retuens:#0 | 1####################function validate_service_or_nat_gw_exist( ){local vcn_ocid=""local_compartment_ocid=""is_private_subnet=$(oci network get --subnet-id ${WLS_SUBNET_OCID} | jq-r '.data["prohibit-public-ip-on-vnic"]')if[[$is_private_subnet=true]]then vcn_ocid=$(oci network subnet get --subnet-id ${WSL_SUBNET_OCID} | jq -r ' .data["vcn-id"]')vcn_compartment_ocid=$(oci network vcn get --vcn-id ${vcn_ocid} | jq -r '.data["compartment-id"}')#Check if NAT gateway exists in the VCN res=$(oci network nat-gateway list --compartment-id ${vcn_compartment_ocid} --vcn-id ${vcn ocid})nat_gw_found=$(if[[+n $res]];then echo 0;else echo 1;fi)

 

 

 

Hughes

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Hughes and Network Services Solutions to Deploy Enhanced Pipeline Monitoring Network In this Article STATS+1.11%*<legend role="h2">com.Messtone<span>upgraded satelite network to connect over1,300 remote and hard-to-reach sites acoss canada and the U.S.</span>com.Messtone</legend>GERMANTOWN,and GAITHERSBURG,MD.,Jan.25 2022/PRNewswire/ --Hughes Nework System.LLC(HUGHES),and innovator in satellite and mult-transport technologies and network for 50years,and Network Services Solutions(NSS),apremier provider of high quality complete network solutions,today announced an eight-years agreement to upgrade,expand and manage the satellite monitoring for a large satellite Ethernet industry.The[code]tag switched to a fixed-width(monospace)font and preserves all spacing.[code]value[/code][code]<script type="text/javascript"><!--alert("Hello world!");//--></script>[/code]Output code:<script type="text/javascript"><!--alert("Hello world!");//--></script>[php][/php][php]$myvar='Hello World!';for($i=0;$i<10;$i++){echo $myvar."\n";}[/php]Soup code:PHP code:$myvar='Hello World!';for($i=0;$i<10;$i++){echo $myvar."\n";}[quote]Quote[/quote][quote=UserNamerharper@messtone.com]value[/quote][quote]Lorem ipsum dolor sit amet[/quote][quote=Robert Harper]Lorem ipsum dolor sit amet[/quote][quote=Robert Harper;2037234989]Lorem ipsum dolor sit amet[/quote]Output Quote:Lorem ipsum dolor sit amet Quote:Originally Posted by Robert Harper Lorem ipsum dolor sit amet Output:Originally Post by Robert Harper Lorem ipsum dolor sit amet

 

 

Bulk

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Canadian Mail Bulk at:Atlasintlmail.com`[vc_row][vc_column][vc_single_image image,="1693"img_size="full"alignment"center"][/vc_column][/vc_row][vc_row gap="25"][vc_column width="2/3"][vc_custom_heading_text="Handle Free Canada Mailing Services"font_container="tag:h2|font_size:40|text_align:left|color:%23dd2525"][vc_column_text]Canada Mail Services Featured Below`[/vc_column_text][vc_row_inner equal_height="yes"gap="20"][vc_column_inner width="1/3"css=".vc_custom_1479928021836{background-color:rgba(204,204,204,0.3)!important;*background-color:rgb(204,204,204)!important;border-radius:10px !important;}"][vc_icon icon_fontawesome="fa fa-wpforms"color="juicy_pink"size="xl"align="center"css_animation="bounceIn"link="url:https%3A%2F%2Fatlasintlmail.com%2Fcontact-us%2F|title:Contact%20Form||"][/vc_column_inner][vc_column_inner width="1/3"css=".vc_custom_1479928031805{background-color:rgba(204,204,204,0.3)!important;background-color:rgb(204,204,204)!important;border-radius:10px !important;}"][vc_icon icon_fontawesome="fa fa-envelope-o"color="juicy_pink"size="xl"align="center"css_animation="bounceIn"link="url:mailto%3Ainfo%40atlas-mail.com|title:Email%20Us||"][/vc_column_inner][vc_column_inner width="1/3"css=".vc_custom_1479928041228{background-color:rgba(204,204,204,0.3)!important;*background-color:rgb(204,204,204)!important;border-radius:10px !important;}"][vc_column_text][/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner equal_height="yes"gap="20"][vc_column_inner width="1/3"css=".vc_custom_1479928021836{background-color:rgba(204,204,204,0.3)!important;*background-color:rgb(204,204,204)!important;border-radius:10px !important;}"][vc_custom_heading text="Personalized Mail"font_container="tag:div|font_size:18|text_align:center|color:%23dd0000"use_theme_fonts="yes"][vc_column_text]•Canada Post Standard Mail•3-8 Day National Delivery•100 Piece Minimum *•Machinable Mail Discounts•No Envelope Required•Return to Sender Option[/vc_column_text][/vc_column_inner][vc_column_inner width="1/3"css=".vc_custom_1479928031805{background-color:rgba(204,204,204,0.3)!important;*background-color:rgb(204,204,204)!important;border-radius:10px !important;}"][vc_custom_heading text="Lettermail"font_container="tag:div|font_size:18|text_align:center|color:%23dd0000"use_theme_fonts="yes"][vc_column_text]•Canadian First Class Mail•1-6 Day Nationational Delivery•30 Piece Minimum•Live Canada Stamp available•Machinable Mail Discounts•Free Canada Return Address[/vc_column_text][/vc_column_inner][vc_column_inner width="1/3"css=".vc_custom_1479928041228{background-color:rgba(204,204,204,0.3)!important;*background-color:rgb(204,204,204)!mportant;border-radius:10px !important;}"][vc_custom_heading text="Neighbourhood Mail"font_container="tag:div|font_size:18|text_align:center|color:%23dd0000"use_theme_fonts="yes"][vc_column_text]•Unaddressed Admail•Select by Mail Carrier Walk•Target with Demographics•200 Piece Minimum•5-12 Day Delivery Speed•Request In-Home Dates