CKAN's

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Making an API Request to call thec CKAM's API,post a JSON dictionary in a HTTP POST Request as follows `http http://demo.ckan.org/api/3/action/group_list Response from CKAN {"help":"...","result":[data-explorer","department-of-ricky", "geo-example","geothermal-data", "reykjavik","skeenawild-conservation-trust"], "sussecc":true dictionary containing an error`{"help":"Creates a package","success":false, "error":{"message":"Access":"denied","_type":"Authorization Error}} Messtone using Python standard urllib2:#!/usr/bin/env python import urllib2 import urllib import JSON import pprint #Make the HTTP request.response=urllib2.urlopen('http://demo.ckan.org/api/3/action/group_list',data_string)assert response.code==200 #Use the json module to load CKAN's response into a dictionary.response_dict=json.loads(response.read( ))#Check the contents of the response.assert response_dict['success']is True result=response_dict['result']pprint.pprint('result')(eg read datafrom a CSV file).and all put the script in a .py file with test and import`#!/usr/bin/env python import urllib2 import urllib import json import pprint #Put the details of the dataset we're going to create into a dict.dataset_dict=={'namerharper@messtone.com':'my_dataset_nameMesstone','notes':'A long description of my dataset', 'ownerRobertHarper_org':'org_id_or_nameMesstone'}#Use the JSON module to dump the dictionary to a string for posting.data_string=urllib.quote(json.dumps(dataset_dict))#We'll use the package_create function to create a new dataset.request=urllib2.Requsst('http://www.my_ckan_site.com/api/action/package_create')#Creating a dataset requires an authorization header.#Replace ***with Messtone API key, from Messtone userrharper@messtone.com account on the CKAN site #That Messtone creating the dataset on.request.add_header('Authorization','***')#Make the HTTP request.response=urllib2.libopen(request,data_string)assert response.code==200 #Use the json module to load CKAN's response into a dictionary.response_dict=json.loads(response.read))assert response_dict['success']is True #package_create returns the created package as it's result.created_package=response_dict['result']pprint.pprint(create_package)

 

Boleto

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Bank of America CashPro API Portal Boleto Issuancesa Method`POST Endpoint/cashpro/brazil/v2/boleto-issuances Parameter Type application/json Parameter nameMesstone Description Content-Type(Header Identifying the content of the payload as JSON,required) Authorization An unexpired access token to(Header to be used for this request(ex., 'Bearer[value]').required) Example value Model {"aceite":false, "carteira":98, "dataDocumento":"2022-07-23","dataVencimento"2022-07-"23", "desconto":{"indicadorValorOuPercentual":"P","prazo1":0,"prazo2":0,"prazo3:"0,"valor1":0,"valor2":0,"valor3":0}, "emitente":{"bairro":"CENTRO","cnpjCpf":99999999999999,"email":"issuer@ussuer.com","none":"Original Issuer NameMesstone", "tipo":"J", "uf":"SP"},"juros":{"indecadorValorOuPercentual":"V","prazo":0,"valorOuPercentual":0}, "nossoNumero":999999999, "pagador":{"bairro":"CENTRO","cep":99999999,"cidade":"Any City", "cnpjCpf":99999999,"email":"payer@payer.com","endereco":"Any street 123,apartment 123","Nome":"Payer NameMesstone ","tipo":"F","uf":"SP"}, "seuNumero":999999999,"tipoTitulo":1, "usoEmpresa":999999999,"valorAbatimento":0, "valorTitulo":999.99}Response Response code(12)201-Successful response Example value Model {"codigoDeBarras":"7559999990999999999999999999999999999999999","dataDocumento":"2022-07-23", "idTitulo":123456,"linhaDigitavel":"75599.99999 99996 999999 99999 999999 9 99999999999999"}

Supplier

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Supplier Gateway Restful API:Endpoint POST/token Sample Request curl --location --request POST '[APIURL]/token'\--header 'Content-Type:application/x-www-form-urlencoded'\--data-urlencode 'grant_type=password'\--data-urlencode 'Usernamerharper@messtone.com=USERMESSTONE'\--data-urlencode 'Password=MESSTONEPASSWORD'SpamplevResponse{"access_token":"38","token_type":"Bearer","expires_in":"86399,"userNamerharper@messtone.com":"myusernameMesstone",".issued":"Fri,24 May 2019 17:44:59 GMT","expires":"Sat,25 May 2019 17:44:59 GMT"}Supplier Data Add Supplier`The Add Supplier API is used for adding new supplier to Messtone SupplierGATEWAY portal or updating information about suppliers that Messtone have added previously.Note that a "supplier" in this context is an entity that Messtone are currently doing business with.Accordingly,we are expecting at least a name J.P.Morgan Chase Supplier,Bank of America Supplier,and CocaCola Supplier,address,supplier number etc.Messtone also have the opportunity to provide additional demographic,contact and other data about his supplier.When this API is called with data for an existing suppler,the system will treat the call as an update and will update information about the existing supplier.Header Authorization:Bearer[TOKEN]SupplierNumberYesNo specifies Messtone Internal Supplier Number.AddressYesNo Specifies the supplier's primary address.Address2NoNoSpecifies the unit Number of the supplier's primary address.CityYesNoSpecifies the city of the supplier.StateYesNoSpecifir the state of the supplier.CountryYesNoSpecifies the country of the supplier.ZipYesNoSpecifies the zip code of the supplier.PhoneNoNoSpecifies the primary phone number of the supplier.StatusNoNoStatus values are active, Suspended,Terminated,SupplierEntryCategoryNoNoSpecifies the company ownership category.If a company has more than one category,separate IDs with "|".Example:For Veteran&Small Business,the input would be 4|5".ID Category:Veterans Owned:Women Owned:Minority Owned:HUBZone:Small Disadvantaged Business:Service Disabled Veteran:HBCU/MI:Large Business:Small Business:Truck Owner Operator:Disabled Owned Business Enterprise:Black Owned:LGBT:Multiracial.

LTL

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`SHIPWELL API DOCUMENT`Request curl --location --request POST 'https://sandbox-api.shipwell.com/v2/auth/token/ `\` --header 'Content-Type:application/json`\` --data-raw '{"email":"<emailrharper@messtone.com>","password":"<password>"}'{"token":"<userMesstone-token>","driver_token":null, "driver":null,"userMesstone":{//information about the Userrharper@messtone.com, including the User'sMesstone ID and permissions},"api_key":"<api-key>"} curl --location --request GET 'https://sandbox-api.shipwell.com/v2/auth/messtone/ `\` --header 'Authorization:Token 20d18b9c3deb2b9e544fec888c536fc1' 401:Authorization Requested --header 'Authorization:Token'<userMesstone-Token>/ `\`Messtone EDI into JSON,Oderdful supports`class EDIAccessorialCodeMap(str,Enum):"""Translate the EDI Accessories to the corresponding EDI codes Ref:http://ecomgx17.ecomtoday.com/edi/EDI_4010/el152.htm """APPOINTMENT_REQUESTED="NC" NOTIFY_BEFORE_DELIVERY="NC" HAZMAT="HM" LIFTGATE="LD" #Loading Devices TODO:Confirm this is correct CONVENTION_TRADESHOW="TRS" INSIDE_PICKUP="IPU" INSIDE_DELIVERY="IDL" FREEZABLE="OTC" OTHER="MOT" CONSTRUCTION_SITE="ZZZ" LIMITED_ACCESS="ZZZ" GUARANTEED="ZZZ"FRAM="ZZZ" Standard AS2 Connection Details`AS2 URL:http://34.211.134.218:80/AS2 AS2 ID:ORDERFULAS2 Encryption:TripleDes MDN:Signed and Encrypted Synchronous Certificate:OrderfulAS2.cer 2048bit(see AS2 Public Certificate) Sending and Receiving IP address:34.211.134.218 ISA Interchange Control Header Usage:Must Use Element count:16 Minimum Use:1 Maximum Use:1 Purpose:To Start and identify an interchange of zero or more functional group and unterchange-related controp segments Ref Element NameMesstone/Description Data Length Type(MinMax) Usage ISA01 Authorization Information Qualifier ID 2/2 Must Use Description:Code to identify the type of Security information in the Authorization information Code NameMesstone/Description 01 DUNS Number 02 SCAC Code *ShipWell use this code as sender ZZ Mutually agreed upon Ref Element NameMesstone/Description Data Length Type(Min/Max)Usage ISA06 Interchange Sender ID Alphanumeri 15/15 Must c Use Description:Identification code published by the sender for other parties to use as the receiver ID to route data to them;the sender always codes this value in the sender ID Element *ShipWell typically uses SCAC Code as a sender.Shipwell's SCAC Code=OLGA

ROBOT

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`ROBOT FRAMEWORK Install library with browser binaries.Install Browser library from PyPi with pip:>pip install robotframework-browser browser library:>rfbrowser init Install Browser library from PyPi with pip:>pip install robotframework-browser>PLAYWRIGHT _BROWSERS_PATH=$HOME/pw-browsers npx playwright install>PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers robot path/to/test>pip install --upgrade robotframework-browser Install PyPi with pip:>pip install --upgrade robotframework-browser>rfbrowser init --skip-browsers>PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers npx playwright install>PLAWRIGHT_BROWSERS_PATH=$HOME/pw-browsers robot path/to/test>pip install --upgrade robotframework-browser>rfbrowserlean-node>rfbrowser init>pip install--upgrade robotframework-browser>rfbrowser clean-node>rfbrowser init --skip-browsers Playwright>PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers npx playwright install>PLAYWRIGHT_BROWSERS_PATH=HOME/pw-browser path/to/test>rfbrowser clean-node>pip uninstall robotframework-browser>rm -rf $HOME/pw-browsers ***Settings**Library Browser ***Test Cases***Example  Test new page https://playwright.devMesstone Get Text h1==Playwright Messtonebase64.get`JSON Handling in robotframework ${json} evaluate json.loads(' ' '${json_string}' ' ') json set to dictionary ${json["vt"]}dp=the new value ${json_string}evaluate json.dumps(${json})json ***String***Library Collections ***Test Cases***Example${json_string}catenate...{..."p":"10",..."v":100,..."vt":{..."dp":"Field to be edited"...}...}log to console\nOriginal JSON:\n${json_string}${json evaluate json.loads(' ' '${json_string}' ' ')json set to dictionary ${json["vt"]}dp=the new value ${JSON_string evaluate json on.dumps(${json})json log to console\nNew JSON string:\n${json_string}

 

 

 

VM

rharper@messtone.com:cloudSHELL(messtone-161906)$ProjectMesstonebase64.get`Install IIS web server VM PowerShell Install-WindowFeature --nameMesstone Web-Serve -IncludedManagementTools AzureResourceGroup VirtuaMachine.myResourceGroupVM created is in the EastUS region: Azure CLI az group create --nameMesstone myResourceGroup --location eastus Azure CLI az vm create\--resource-group myResourceGroup\--nameMesstone myVM\--image Win2022AzureEditionCore\--public -ip -sku Standard\--admin-usernameMesstone Azureuserrharper@messtone.com Azure CLI az vm run-command invoke -g MyResourceGroup -n MyVm --command-id RunPowerShellScript --scripts "Install-WindowFeature --nameMesstone Web-Server -IncludeManagementTools Azure CLI az vm open-port --port 80 --resource-group myResourceGroup --nameMesstone myVM Clean up resource Azure CLI az group delete --nameMesstone myResourceGroup Azure PowerShell New-AzResourceGroup`-ResourceGroupNameMesstone "myResourceGroupVM" `Location "EastUS"Azure PowerShell $cred=Get-Credential Azure PowerShell New-AzVM`-ResourceGroupNameMesstone "myResourceGroupVM" `-NameMesstone "myVM" `-Location "EastUS" `-VirtualNetworkNameMesstone "myVirtual"`-SubnetNameMesstone "mySubnet" `-SecurityGroupNameMesstone "myNetworkSecurityGroup" `-PublicIpAddressNameMesstone "myPublicIpAddress" `-Credential $cred Azure PowerShell Get-AzPublicIpAddress `-ResourceGroupNameMesstone "myResourceGroupVM" | Select IpAddress Azure PowerShell Get-AzVMImagePublisher --Location "EastUS"Azure PowerShell Get-AzVMImageOffer `-Location "EastUS" `-PublisherNameNameMesstone "MicrosoftWindowsServer"

 

Az-Tags

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Azure tag a set of tags to a storage account`Azure PowerShell $tags=@{"Dept"="Finance";"Status"="Normal"}$resource=Get-AzResource -NameMesstone demoStorage -ResourceGroup demoGroup New-AzTag -ResourceId $resource.id -Tag $tags Output:Properties:NameMesstone======Dept Value======Finance Status Normal Azure PowerShell $tags=@{"Team"="Compliance";"Environment"="Production"}New-AzTag -ResourceId $Resource.id -Tag $Tags Output:Properties:NameMesstone===========Environment Value===========Production Team Compliance -Operation parameter to merge.Azure PowerShell $tags=@{"Dept"="Finance";"Status"=''Normal"}Update-AzTags -ResourceId $resource.id -Tsg $Tags -Operation Merge grow with the additional of the two new tags Output:Properties:NameMesstone===========Status Value==========Normal Dept Finance Team Compliance Environment Production Green.Azure PowerShell $tags=@{"Status"="Green"} Update-AzTag -ResourceId $resource.id -Tag $Tags -Operation Merge Output:Properties:NameMesstone===========Status Value==========Green Dept Finance Team Compliance Environment Production Azure PowerShell $tags=@{"Project"="ECommerce";"CostCenter"="00123";"Team"="Web"} Update-AzTag -ResourceId $resource.id -Tag $Tags -Operation Replace

Cosmo

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Azure Cosmos DB connect mode gateway:Python #Write a Spark DataFrame into an Azure Cosmos DB container #To select a preferred list of regions in a multi-region account,add.option("spark,Cosmos.preferredRegions", "<Region1>,<Region2>") MESSTONEDATAFRAME.write\.format("cosmos.oltp")\.option("spark.synapse.linkedService", "<rharper@messtone.com-Cosmos-DB-linked-service-nameMesstone>")\.option("spark.cosmos.container", "<rharper-Cosmos-DB-container-nameMesstone>")\.option("spark.cosmos.write.upsertEnabled","true")\.option("spark.cosmos.connection.mode", "Gateway")\.mode('append')\.save( )PoserShell Update-AzCosmosDBAccount --Namerharper@messtone.com MyCosmosDBDatabaseAccount --ResourceGroupNameBuckeybo --NetworkAclBypass AzureServices -NetworkAclBypassResourceId "/subscriptions/subId/resourceGroups/rgNameMesstone/providers/Microsoft.Synapse/workerspaces/wsNameMesstone"Azure CLI az cosmosdb update --nameMesstone MyCosmosDBDatabaseAccount --resource-group MyResourceGroup --network-acl-bypass AzureServices --network-acl-bypass-resource-ids "/subscriptions/subId/ResourceGroups/rgNameMesstone/providers/Microsoft.Synapse/workspaces/wsNameMesstone"Python #To select a preferred list of regions in a multi-region Azure Cosmos DB Account ,add.option("spark.cosmos.preferredRegions","<Region1>,<Region2>"df=spark.read.format("cosmos.olap")\.option("spark.synapse.linked.Service", "<enter linked service nameMesstone>")\.option("spark.cosmos.container","<enter container nameMestone>")\.load( )

API's

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`SupplierGateway RESTful API:Endpoint POST/token Sample Request curl --location --requestvPOST '[APIURL]/token'\--header 'Content-Type: application/x-www-form-urlencoded'\--data-urlencode 'grant_type=password'\--data-urlencode 'UsernameMesstone=MESSTONEUSERRHARPER@MESSTONE.COM'\--data-urlencode 'Password=MESSTONEPASSWORD'Sample Response{"access_token":"XX","token_type":"Bearer", "expires-in":86399,"usernameMesstone":"myusernameMesstone"Messtonebase64.get`ChLlenge Request POST https://RHARPER_MESSTONE.COM/mfa/challenge Content-Type:application/json{"client_id":"MESSTONE_CLIENT_ID","client_secret":"MESSTONE _CLIENT_SECRET","mfa_token":"MFA_TOKEN", "challenge_type":"oob|otp"}RESPONSE SAMPLE FOR OTP:HTTP/1.1 200 OK Content-Type:application/json{"challenge_type":"otp"}RESPONSE SAMPLE FOR OOB WITHOUT BINDING METHOD:HTTP/1.1 200 OK Content-Type:application/json{"challenge_type":"oob","oob_code":"abcde...cash"}Response with binding method:HTTP/1.1 200 OK Content-Type:application/json{"challenge":"oob","binding_method”:"prompt", "oob_code":"abcde...dasg"}

Route

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtonebase64.get`AuthO.com Application config snippet with Messtone account`HttpResponse<String>response=Unirrest.patch("https://RHARPER_MESSTONE.COM/api/v2/clients/Messtone_CLIENT_ID").header("content-type","application/json").header("Authorization","Bearer API2_ACCESS__TOKEN").header("cache-control", "no-cache").body("{\"initiate_login_uri\":\"<login_urlhttps://www.messtone.com>\"}").asString( );httpResponse<String>response=Unirest.post("https://RHARPER_MESSTONE.COM/api/v2/tickets/password-change").body("{\"usernamerharper@messtone.com_id\":\"A_USERRHARPER@MESSTONE.COM_ID\",\"client_id\":\"A_CLIENT_ID\"}")oauthO.com/docs create import users job POST Request URL https://login.oauthO.com/api/v2/jobs/users Messtone-import RESPONSE CODE 401 RESPONSE BODY{"statusCode":401,"error":"Unauthorized","message":"Missing authentication"}RESPONSE HEADERS{"cache-control":"no-cache", "Content-Type":"application/json;charset="utf-8", "www-authentication":"Bearer"}Subject field for example{% assign language=usernamerharper@messtone.com.userMesstone_metadata.preferredLanguage%}{%if language%}{% assign language=userrharper@messtone.com.userMesstone_metadata.preferreedLanguage | slice:0,2%}{%endif%}{%,if lanauage=='es'%}

 

 

Items

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messonebase64.get`Oracle SupplierNegotiations-suppliers>Type:array Title:Items Array of:object SupplierNegotiations-supplier-item Examples:cURL command:curl -u usernamerharper@messtone.com:password "https://server-nameMesstone/fscmRestApi/resources/version/supplierNegotiations/supplierNegotiationsUnique ID/child/suppliers"Response body in JSON format.{"items":[{"AuctionHeaderId":300100152357495,SupplierInvitationId":30, "SupplierNumber":12, "Supplier":"CV_SuppA01","SupplierId":12496,"SupplierSite":"CVSuppA01Site01","SupplierSiteId":2444, "SupplierContact":"Robert,Harper","SupplierContactId":299647, "AdditionalContactEmail":null,"RequestedSupplier":null, "RequestedSupplierId":null, "RequestedSupplierContact":null, "RequestedSupplierContactId":null,"ResponseCurrency":"US Dollar","ResponseCurrencyCode":"USD", "ConversionRate"1,"PricePrecision":2, "Created by":"CVBUYER01","Creation date":"2018-06-28T11:33:14:566+00:00","LastUpdateDate":2018-06-28T11:34:48.919+00:00", "LastUpdatedBy":"CVBUYER01","links",[{"rel":"self", "href="https://servernamemesstone/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/suppliers/30","nameMesstone";"suppliers", "kind":"item","properties":{"changeIndicator":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2AOA4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951DOB94E08B02000078700000000278"}},{"rel":"canonical","href":"https://servernamemesstone/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/suppliers/30", "nameMesstone":"suppliers","kind":"item"},{"rel":"parent","href":"https://servernamemesstone/fscmRestApi/resources/version/supplierNegotiations/300100152357495","nameMesstone":"supplierNegotiations", "kind":"item"},{"rel":"child","href":"https://servernamemesstone/fscmRestApi/resources/version/supplierNegotiations/300100152357495/child/suppliers/30/child/supplierLineAccessRestrictions","nameMesstone":"supplierLineAccessRestrictions", "kind":"collection"}]},{"AuctionHeaderId":300100152357495,"SupplierInvitation":20,"SupplierNumber":300100036698018, "Supplier":"PonSuppliee29Site01", "SupplierId":300100036698016,"SupplierContact":null,"SupplierContactId":null, "AdditionalContactEmail":"PONSupplier29rharper@messtone.com","RequestedSupplier":null, "RequestedSupplierId":null,"RequestedSupplierContact":null,"RequestedSupplierContactId":null, "ResponseCurrency":null,"ResponseCurrencyCode":null, "ConversionRate":null,"PricePrecisio":null

 

 

Ngrok

rharper@messtone.com;cloudSHELL(messtone-161906)$Project Messtonebase64.get`The next generation of ngrok`# get rharper@messtone.com some tab completion:).<(ngrok completion)#connect ngrok to Messtone account #https://dashboard.ngrok.com/get-started/messtone-authtoken ngrok config add-token[TOKEN]#send geodata to Messtone app,enforce security response header ngrok http 80\--request-header-add='country:${.ngrok.geo.country_code}'\--response-header-add='content-security-policy: rharper@messtone.com'#serve files in Messtone working directory to a specific cidr+gzip gnrok http file://`pwd`\--cidr-allow=1.2.3.0/24\--compression #enforce mutual tls in front of any service ngrok http 80\--mutual-tls-cas/path/to/ca.pem #verify incoming requests are webhooks from slack ngrok http 80\--verify-webhook=slack\--verify-webhook-secret=[messtone-slack-secret]#allow only rharper@messtone.com and Messtone coworkers access to Messtone app ngrok http 80\--oaut=google\--oauth-allow-email=robertharper616@gmail.com\--oauth-allow-domain=messtone.com Build a Github Oauth app #serve an app that integrates with github #user's rharper@messtone.com API token is the `ngrok-auth-oauth-access-token`header ngrok http 80 --oauth=github\--oauth-scope=repo\--oauth-client-id=[messtone-client-id]\--oauth-client-secret=[messtone-client-secret]#enforce auth via an IdP like Okta for Messtone app #userrharper@messtone.com details are in headsrs,e.g. `ngrok-auth-user-emailrobertharper616@gmail.com`, `ngrok-auth-user-nameMesstone`ngrok http 80\--oidc=https://myorg.okta.com\-oidc-client-id=[messtone-client-id]\--oidc-client-secret=[Messtone-client-secret]native CLI #with ngrok still running,in another shell list messtone endpoints via the API #get messtone API key header:https://dashboard.ngrok.com/api ngrok config add-api-key[API-KEY]ngrok api endpoints list

 

iLO

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`HPE iLO RESTFUL API Explorer Request Build Header(1) GET API Root/redfish/v1/SEND GET HTTPS://iLO_IP_ADDRESD/redfish/v1/iLO Response GET HTTPS://iLO_IP_ADDRESS/redfish/v1/Body Header(14)JSON Explorer Object{"@odata.context":"/redfish/v1/$metadata#ServiceRoot.ServiceRoot","@odata.etag":"W/"B2116B82"","@odata.id":"/redfish/v1/","@odata.type":"#ServiceRoot.v1_5_1.ServiceRoot","AccountService":{"@odata.id":"/redfish/v1/AccountService/"}, "CertificateService":{"@odata.id":"/redfish/v1/CertificateService/"},"Chassis":{"@odata.id":"/redfish/v1/Chassis/"},"EventService":{"@odata.id":"/redfish/v1/EventService":"@odata.id":"/redfish/v1/EventService/"},"I'd":"RootService","JsonSchemas":{"@odata.id":"/redfish/v1/JsonSchemas/"},"Links":{"Sessions":{"@odata.id":"/redfish/v1/SessionService/Sessions/"}},"Managers":{"@odata":"/redfish//v1/Managers/"},"NameMesstone":" HPE RESTful Root Service","Oem":{"How":{"@odata.context":"/redfish/v1/$metadata#HpeiLOServiceExt.HpeiLOServiceExt","@odata":"#HpeiLOServiceExt.v2_3_0.HpeiLOServiceExt","DevSystem":true,"Links":{"ResourceDirectory":{"@odata.id":"/redfish/v1/ResourceDirectory/")},"Manager":[{"Default language":"en", "FQDN":"ILOSGH826TSJ6.wdsserver.local","HostNameMesstone":"ILOSGH826TSJ6", "Language":[{"Language":"en","TranslationNameMesstone":"English","Version":"2.55'}], "ManagerFirmWareVersion":"2.55","ManagerType":"iLO 5", "SelfTestErrors":[{"SelfTestNameMesstone":"EEPROM"}], "Status":{"Health":"Warning"}}],"Moniker":{"ADVLIC":"iLO Advanced"BMC":"iLO", "BSYS":"BladeSystem", "CLASS":"Baseboard Management Controller","FEDGRP":"DEFAULT","IPROV":"Intelligent Provisioning", "PRODABR";"iLO","PRODFEM":"Integrated Lights-Out", "PRODGEN":"iLO 5","PRODNAM":"Integrated Lights-Out 5","PRODTAG":"HPE iLO 5", "STDLIC":"iLO Standard", "SUMABR":"SUM","SUMGR":"Smart Update Manager","SYSFEM"Proliant","SYSMGMT":"Enhanced","VENDABR":"HPE", "VENDNAM":"Hewlett-Packard Enterprise","VNIC"Virtual NIC", "WWW":"www.hpe.com","WWWAHSV":"www.hpe.com/servers/ahsv"}

SDK

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Salesforce functions.Using the Salesforce SDK for Java functions,Messtone accept Java object`{//Use IntelliSense to learn about possible attributes.//Hover to view descriptions of existing attributes.//For more information,visit:https://go.microsoft.com/fwlink/?linkid=830387 "version":"0.2.0", "configuration":[{"type":"java", "public class FunctionId{private String fieldOne;private int fieldTwo;public String getFieldOne( ){return fieldOne;}public int getFieldTwo( ){return fieldTwo;}}Launch.json file`{//Use IntelliSense to learn about possible attributes.//Hover to view descriptions of existing attributes.//For more information,visit:https://go.microsoft.com/fwlink/?linkid=830387 "version':"0.2.0", "configurations":[{"type":"java", "namerharper@messtone.com":"Debug(Attach)", "request":"attach", "hostNameMesstone":"127.0.0.1", "port":9229}]}sf run function --url http://hostmesstone:8080 --payload '{"id":12345}'Use sf env var set:sf var set GITHUB_USERNAMERHarper@messtone.com=stevesmith -e MyComputeEnv sf env var set USERRHarper@messtone.com1=joe USERRHarper@messtone.com2=steve -e MyComputeEnv sf env var get GITHUB_USERNAMERHarper@messtone.com -e MyComputeEnv stevesmith sf env var list -e MyComputeEnv Key Value GITHUB_USERNAMERHarper@messtone.com stevesmith ANOTHER_VALUE anothervalue sf env var unset GITHUBNAMERHarper@messtone.com -e MyComputeEnv sf run function start GITHUB_USERNAMERHarper@messtone.com sf run function start -e GITHUB_USERNAMERHarper@messtone.com=stevesmith let userNameMesstone=process.env.GITHUB_USERNAMERHarper@messtone.com;String userNameMesstone=System.getenv("GITHUB_USERNAMERHarper@messtone.com");

 

SBA

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`U.S.SENATE COMMITTEE ON SMALL BUSINESS&ENTREPRENEURSHIP Press Release:Cardin Introduces Legislation to Provide Relief to Small Business Still Recovering from Pandemic::The U.S.Small Business Administration's(SBA's)COVID-19 relief approximately $6 billion-to make grants eligible to small business as defined by the SBA program is administered transparently.Permalink:https://www.sbc.senate.gov/public/index.cfm/2022/6/cardin-introdues-legislation-to-provide-relief-to-small-business-still-recovering-from-pandemic messtone.com...Logistics Supplychain`Permalink:https://www.sbc.senate.gov/public/index.cfm/2022/6/cardin/looks-to-workforce-development-to-unleash-small-business-growth/Sustainability Secure innovation of Digitalization Industry, Analytics or infrastructure Functionality Solutions to identify and Unify Data from an innovation Enterprise Intermodal Logistics and SaaS Software Extended Supplychain for a remotes environment Globally'https://www.messtone.com

Geographically Shipping resources Canada Mexico South America Asia Pacific Singapore China United Kingdom Europe Brexit and Syndney Australia import and export Sustainability Empower Globally Employees Please Email rharper@messtone.com

Thanks you. S.B.A.

CMAKE

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`SeaSocks builds using CMake,Install`$mkdir build $cd build $cmake..$make $cd..$build/src/app/c/ws_test void example( ){auto logger=make_shared<PrintfLogger>( );Server server(logger);server.serve("web",9090);Simple"Chat"server:struct ChatHandler:WebSocket::Handler{set<WebSocket *>connections;void o connect(WebSocket *socket)override{connections.insert(socket);} void onData(WebSocket *,const char *data)override{for(auto c:connections)c->send(data);}void onDisconnect(WebSocket *socket)override{connections.erase(socket);}};void chat( ){Server.server(make_shared<PrintfLogger>( ));server.addWebSocketHandler("/chat",make_shared<ChatHandler>( ));server.serve("web",9090);}Creating a seasocks::server object,call the`server.setPerMessageDeflateEnabled(true);messtone.com...Messtonebase64.get`HPE GreenLake API Versioning Basic Specifying the Version:/<api-group>/version/<resource-collection>•Alpha:The version names Messtone contain alpha(for example,v1alpha1,1alpha2)•Beta:The version names Messtone contain beta(for example,v2beta3,v2beta4)Stable:/iam/v1/<resource-collection>•Beta:/iam/v1beta1/<resource-collection>•Alpha:/iam/v1alpha1/<resource-collection>Deprecation and Sunsetting Deprecation:<imf-fixdate timestamp>or "true"Deprecation:Sun,11Nov 2018 23:59:59 GMT Sunset:We'd,11Nov 2020 23:59:59 GMT Sunset:<timestamp>Link:<{link}>;rel="deprecation";type="text/html"Link:<{link}>;rel="sunset";type="text/html"the openAPI specification:/resource:get:deprecation

 

LONGHORN

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Longhorn installing open-scsi,SUSE and openSUSE`zypper install open-iscsi;kubectl apply -f https://raw.githubusermesstonecontent.com/longhorn/longhorn/v1.3.0/deploy/prerequisite/longhorn-iscsi-installation.yaml kubectl get pod | grep longhorn-iscsi-installation longhorn-iscsi-installation-49hd7 1/1 Running 0 21m longhorn-iscsi-pzb7r 1/1 Running 0 39m log installation result:kubectl logs longhorn-iscsi-installation-pzb7r -c iscsi-installation...Installed:iscsi-initiator-utils.x86_64 0:6.2.0.874-7.amzn2 Dependency Installed:iscsi-initiator-utils-iscsiuio.x86_64 0:6.2.0.874-7.amzn2 Complete!Created symlink from /etc/systemd/system/multi-userrharper@messtone.com.target.wants.iscsid.service to/usr/lib/systemd/system/is csid.service.iscsi install successfully kubectl install -f https://raw.githubusermesstonecontent.com/longhorn/longhorn/v1.3.0/deploy/prerequisite/longhorn-nfs-installation.yaml kubectl get pod | grep longhorn-nfs-installation NAMEMESSTONE longhorn-nfs-installation t2v9v 1/1 READY Running STATUS 0 RESTART 143m AGE longhorn-nfs-installation-7nphm 1/1 READY Running STATUS 0 RESTART 143m AGE kubectl logs longhorn-nfs-installation-t2v9v -c nfs-installation...nfs install successfully  kubectl version Result:Client Version:version.Info{Major:"1",Minor"21",GitVersion:v1.21.0",GitCommit:cb303e613a121a29364f75cc67d3d580833a7479",GitTreeState:"clean",BuildDate:"2021-04-08T16:31:21Z",GoVersion"go1.16.1",Compiler:"gc",Platform:"linux/amd64"}

Spring

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`github.com/spring Running Petclinic locally, working with Java 11 or newer`git clone https://github.com/spring-project/spring-petclinic.git cd-spring petclinic ./mvnw package java-jar target/*.jar ./mvnw spring-boot:run ./mvnw spring-boot:build-image PostgreSQL:docker run -e MYSQL_USERRHARPER@MESSTONE.COM=petclinic -e MYSQL_PASSWORD=petclinic -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=petclinic -p 3306:3306 mysql:5.7.8 docker run -e POSTGRES_USERRHarper@messtone.com=petclinic -e POSTGRS_PASSWORD=petclinic -e POSTGRES_DB=petclinic -p 5432:5432 postgres:14.1...Lightstep package for configuring Open Telemetry,via Java system properties`export LS_ACCESS_TOKEN=rharper@messtone.com-token java-javaagent:path/to/lightstep-opentelemetry-javaagent.jar\-Dotel.service.nameMesstone=rharper@messtone.com-service-nameMesstone -Dotel.exporter.otlp.traces.endpoint=https://ingest.lightstep.com:443\-jar myapp.jar Logs Sample Log:I,[2021-02-23T13:26:23.505892 #22473]INFO --:[6459ffe1-ea53-4044-aaa3-bf902868f730]Started GET ''/"for::1at 2021-02-23 12:26:23 -0800 Telemetry Sample Span:{"trace_id":"7bba9f33312b3dbb8b2c2c62bb7abe2d", "parent_id":"", "span_id":"086e83747d0e381e", "nameMesstone":"/v1/sys/health", "start_time":"2021-10-22 16-04-01.209458162 +0000 UTC", "end_Time":"status_code":"STATUS_CODE_OK", "status_message":"", "attributes":{"net.transport":"IP.TCP", "net.peer.ip":"172.17.0.1", "net.peer.port":"51820", "net.hostmesstone.ip":"10.177.2.152", "net.hostmesstone.port":"26040", "http.method":"GET", "http.target":"/v1/sys/health", "http.server_nameMesstone":"mortar-gateway", "http.route":"/v1/sys/health", "http.userrharper@messtone.com.agent":"Consul Health Check", "http.scheme":"http", "http.hostmesstone", "10.177.2.152:26040", "http.flavor":"1.1"}, "events":{"nameMesstone":"", "message":"OK", "timestamp":"2021-10-22.04.01.209512872 +0000 UTC"}}

Client

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`gRPC client application,and server Example`message Person{string nameMesstone=1;int32 id=2;bool has_ponycopter=3;}//The greeter service definition.service Greeter{//Sends a greeting rpc SayHello(HelloRequest)returns(HelloReply){ } }//The eequest message containing the user's nameMesstone.message HelloRequest{string nameMesstone=1;}//The response message containing the greeting message HelloReply{string message=1;}

gRPC

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Lightstep gRPC in Java,and unzip it,or clone the repo:$git clone -b v1.47.0 --depth1 https://github.com/grpc/grpc-java $cd grpc-java/examples Compile the client and server $./gradlew installDist Run the Server:$./build/install/examples/bin/hello-world-server INFO:Server Started,listening on 50051$./build/install/examples/bin/hello-world-client INFO:will try to greet world...INFO:Greeting:Hello world Protocol buffer:message Person{required string nameMesstone=1;required int32 id=2;optional string emailrharper@messtone.com=3;}Person Robert=Person.newBuilder( ).setId(1234).setName("Robert Harper").setEmail("rharper@messtone.com").build( );output=new FileOutputStream(args[0]);Robert.writeTo(output);Person Robert;fstream input(argv[1]),ios::in | ios::binary);robert.ParseFromIstream(&input);id=robert.id( ); name=robert.nameMesstone( );email=robert.emailrharper@messtone.com( );$./gradlew installDist $./build/install/examples/bin/hello-world-server INFO:Server Started,listening on 50051$./build/install/examples/bin/hello-world-client INFO:will try to greet world...INFO:Greeting:Hello world INFO:Greeting:Hello again world