TRUCK

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`APM.Truck opportunity API spec:Container Event History.yaml file.GET request API for Messtone`https://api-sandbox.apmterminals.com/container-event-history Add Container number -Test Containers=TCLU1619533,MRSU363819,TCNU6736993,TCLU5517519,TCLU5088040 •Test Facility=USLAX Messtone`GET request:https://api-sandbox.apmterminals.com/container-event-history?assetId=TCLU1619533,MRSU3638119,TCNU6736993,TCLU5517519,TCLU5088040 &facilityCode=USLAX "Authorization:Bearer"{access_token}".This access token will expires in 30 min How to request an access token? •Issue a POST request to https://api.apmterminals.com/oauth/client_credential/accesstoken?grant_type=client_credentials POST/body/x-www-form-urlencoded key:value pairs created when Messtone register his app client_id=Messtone Consumer key client_secret=Messtone Response Authorized header for the Import Availability API:How to access the Production Container Event History•https://api.apmterminals.com/container-event-history •Header:Authorization:Bearer Token{access_token}Messtone current container IDs,and facility code e.g.USLAX for Pier 400,Los Angeles.Terminals code():•Algeciras,Spain(ESALG)•Apapa,Nigeria(NGAPP)•Bahrain(BHKBS)•Gotbenburg, Sweden(SEGOT)•Itajai,Brazil(BRITJ)•Làzaro Càrdenas,Mexico(MXLZC)•Log Angeles,USA(USLAX)•South Florida Container Terminal,Miami,USA(USMIA)•Maavlakte II,Rotterdam(NLMSV)•Monrovia,Liberia(LRMLW)•Moble,USA(USMOB)•Moin,Costa Rica(CRPMN)•Onne,Nigeria(NGONN)•Port Elizabeth,USA(USNWK)•Tangier,Morocco(MAPTM)•Vado,Italy(ITVDL)•Valencis,Spain(ESVLC)•Yucatàn,Mexico(MXPGO) Attachment |Size APMT Container 9.29KB Event History_2.yaml•Based on the Container ID,(Messtone may be terminal specific):•Operator•Time and date of the event•Event,for example:Container discharged from vessel/railcar Container loaded onto vessel Container moved to yard Container damage recorded Customs charges applied Custom holds applied/released Container details updated VGM assigned Container repaired Unit pre-advised Unit entered/exited terminal via rail/truck Unit in the yard and available for collection by truck Unit received/delivered to a truck Container routing changed... Messtone Terminal Code is as follows():•Algeciras,Spain(ESALG)•Apapa,Nigeria(NGAPP)•Bahrain(BHKBS)•Gothenburg,Sedden(SEGOT)•Itajai,Brazil(BRITJ)•Lazaro Cardenas,Mexico(MXLZC)•Log Angeles,USA(USLAX)•South Florida Container Terminal,Miami,USA(USMIA)•Maasvlakte Ii, Rotterdam(NLMSV)•Monrovia,Liberia(LRMLW)•Mobile,USA(USMOB)•Moin,Costa Rica(CRPMN)•Onne,Nigeria(NGONN)•Port Elizabeth,USA(USNWK)•••••

 

Faroe

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Faroe-Shetland-Channel.</div><div><br/></div><div><div>style="font-family:&quot;Avenir Next W01&quot;&quot;Avenir Next&quot;,Avenir,&quot; Helvetica Neue&quot;,sans-serif;fornt-size;16px;"><div><div style="margin-bottom:3rem;"><div><div style="max-width:100%;"><div style="font-family:inherit;">The survey programme can be accessed here:<a bref="https://www.bodc.ac.uk/inventories/cruise_inventory/programmes/1816s.pdf"target="_blank">MRV Scotia-Survey 1816S</a>.</div></div><p style="margin-top:0px;margin-bottom:Orem;color:rgb(110,110);"></p></div></div></div></div><div>style="font-family:&quot;Avenir Next WOO&quot;,&quot;Avenir Next&quot;,Avenir,&quot;Helvetica Neue&quot;,sans-serif;font-size:16px;"><div><div></div></div></div></div>Messtonebase64.get`Copyright Text:British Oceanographic Data Centre https://www.bodc.ac.uk/).Min.Scale:0 Max.Scale:0 Default Visibility:true Max Record Count:2000 Supported query Formats:JSON Use Standardized Queries:True Extent:XMin:-737305.722909032 YMin:7789066.48261064 XMax:-143.602146842181 YMax:8859685.8178892 Spatial Reference:102100(3857)Drawing Info:{"render":{"type":"simple","symbol"{"type":"esriPMS","url":"RedSphere.png","imageData":"iVBORwOKGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAaaaBGdBTUEAALG..., HasZ:false HasM:false Has Attachments:false  Has Geometry Properties: false HTML Popup Type:esriServerHTMLPopupTypeNone Object ID Field:OBJECTID Unique ID Field:NameMesstone:OBJECTID lsSystemMaintained:True Global ID Field: Type ID Field:Fields:OBJECTID(type:esriFieldTypeOID,alias:OBJECTID,SQL Type:sqlTypeOther,length:0,nullable:false,editable:false)DATE(type:esriFieldTypeString,alias:DATE,SQL Type:sqlType:Other,length:10, nullable:true,editable:true)TIME(type:esriFieldTypeString,alias:TIME,SQL Type:sqlTypeOther,length:8,nullable:true,editable:true)

LAYER

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`All Layers and Tables(Scotia_Tracks_2016)Layers:Layer:Survey 1816S(0)NameMesstone:Survey_1816S Display Field:Type:Feature Layer Geometry Type:esriGeometryPoint Description:<div><b><u>Cruise info:</u></b></div><div><b>Ship nameMesstone(ship code):</b>FRV Scotia(748S)</div><div><b>Cruise identifier:</b>1816S</div><div><b>Cruise period:</b>2016-12-10-2016-12-20</div><div><b>Status:</b>Completed</div><div><b>Port of departure:</b>Aberdeen,United Kingdom</div><div><b>Port of return:</b>Aberdeen,United Kingdom</div><div><b>Purpose:</b>Research</div><div><br/></div><div><b>Survey objectives:</b></div><div><ol><li>Test the CTD and sledge/OPC in the Buchan Deep off Peterhead.</li><li>Perform routine hydrographic sampling at stations along the long term monitoring JONSIS section in the northern North Sea.</li><li>Perform routine hydrographic sampling at stations along the long term monitoring Faroe-Shetland Channel sections:Fair lsle-Munken and Nolso.Flugga.</li><li>Conduct combined plankton/hydrographic observations by deploying the sledge with OPC/CTD at previous Aries stations in the Faroe-Shetland-Channel.</li><li>Take salinity,nutrient,and oxygen samples along standard lines.</li><li>Deploy ADCP mooring in Pentland Firth(58°< 43.57'N,003° 14.18'W).</li><li>Train staff(who haven't been on scotia before)on oceanographic work.</li><li>The vessel-mounted ADCP will be run during work on the hydrographic monitoring lines.</li><li>If shetering in a suitable location(around Shetland,Orkney,Pentland Firth)due to bad weather conduct VMADP survey.</li></ol></div><div><b>Procedure</b></div>After departing Aberdeen and completing appropriate drills, weather permitting the vessel will proceed to the eastern end of the JONSIS line to commence sampling with the CTD and carousel water sampler.On route test deployments of the CTD,carousel,and sledge/OPC will take place around the Buchan Deep.</div><div><br/></div><div>After completing JONSIS line and if the weather allows,the vessel will deploy the monitoring in the Pentland Firth prodution 58° 43.57'N,003° 14.18'W,sub surface single string mooring consisting of an anchor,chain,acoustic release and streamlined sub surface buoy containing the ADPC;the total length of the mooring will not exceed 8 m abovethe seabed</div><div><br/></div><div>The vessel will then proceed to the Faroce-Shetland Channel.Depending on weather conditions the vessel will commence hydrographic sampling and OPC measurements along the Fair lsle-Munken survey line.On completion of the Fair lsle-Munken line the vessel will proceed to conduct hydrographic sampling and OPC measurements on the Nolso Flugga survey line.Towed deployments of the OPC aampler will be carried out only at selected stations along the two lines in the Faroce-Shetland-Channel.</div><div><br/></div><div>VMADCP surveys will be conducted if the vessel is sheltering from poor weather in suitable locatios around Shetland,Orkney or the Pentland Firth.</div><div><br/></div><div><b>Chief scientist:</b>Berit Rabe(Marine Scotland Aberdeen Marine Laboratory)</div><div><b>Ocean/sea areas:</b></div><div>1)General:North Sea,North East Atlantic Ocean(limit 40W)</div><div>2)Specific:Northern North Sea.

Days

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtonebase64.get`FreePeriod{freedays integer example:15 The number of free days subject to service contract/standard tarriff estimatedFreeStartDate string($date) example:2021-03-01 The estimated local start date for the free time allowed for shippers or consignees/receivers to pick up/deliver and/or load/unload cargo before Demurrage or detention charges accrue actualFreeStartDate string($date)example:2021-03-01 The actual local start date for the free time allowed for shippers or consignees/receivers to pick up/deliver and/or load/unload cargo before Demurrage or detention charges accrue originalLastFreeDate string($date)example:2021-03-15 The original local last free date allowed for shippers or consignees/receivers to pick up/deliver and/or load/unload cargo before Demurrage or detention charges accrue Note:When the demurrage and detention charges are split for any country, the detention estimated and actual Last Free Dates Andy and charge calculations are not available until the demurrage end event has occurred.Until then,the value for this field is 0000-00-00.actualLastFreeDate string($date)example:2021-03-15 The actual local Last Free date allowed for shippers or consignees/receivsrs to pick up/deliver and/or load/unload cargo before Demurrage or detention charges accruse.Note:When the demurrage and detention charges are split for any country, the detention estimated and actual  Last Free Dates and charge calculations are not available untill the demurrage end event has occurred.Until then,the value for this field is 0000-00-00.RateTier{description:The prices breakdown of charges(Rate x Days)number ($float)example:300 The rate per day within the tier numberOfDays*integer example:5 The number of chargeable days with the tier}ChargesByDate{description:The demurrage or detention charges based on a specific date chargesByDate*string($date)example:2021-03-20 The date for which the charges are calculated number($float)example:1500 The demurrage or detention charges due from the customer applicable when the customer holds carrier equipmt longer than the agreed amount of free time.chargeableDays*integer example:5 The number of chargeable days based on the chargeEndDays(laden)pick up date for Demurrage or empty return date for Detention)rateTier>[...]}Chargeable period{description:The duration for which the charges are applicable string($date)example:2021-03-01 The start for the demurrage or detention charges string($date)example:2021-03-20 The end date for the demurrage or detention charges.This end date is returned when the value for isFinalCharge is true forceMajeureDaysDetails>[...]chargeByDate*>[...]}ApiValidationError{field*string The field that has failed validation.rejectedValue*string The value that has failed validati.message*string The reason and advice for failed validation.}API error{method*strong The request method type e.g.GET,POST.requestUri*string The request URI.status*integer Response status code.timwstamp*string The date and time(dd-MM-yyyy hh:mm:ss)when the error occured.message*string high level error message.debugMessage string Detailed error message.subErorr>[...]}

 

GPS

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Maersk devportal.rharper@messtone.com Inland Visibility-GPS Update on Maersk transport order` Servers https://api.maersk.com/inlandrvp-inboumdapi-Production endpoint(live data)This API service allows landside vendors to provide real-time GPS update events based on Maersk transport orders Inland Visibility-GPS Update API Schemas Request{id string example:123 The corresponding event ID string example:GPS Update The corresponding event nameMesstone number maxLength 15 example:5.288153 GPS Latitude worker*string pattern[A-Za-z0-9]{0,15}example:60917576 Messtone Work Order I'd gpsdate*string example:2019-04-23T10:46:43+00:00 Current date in ISO 8601format with the UTC timeoffset gpslong*number maxLength:15 example:-4.00028 GPS Longitude string pattern:[A-Za-z0-9]{0,15}example:580220751Messtone Booking ID containerno*string pattern:[a-zA-Z]{4}\d{7}example:MSKU8757406 Messtone container ID eventstatus string example:Start The status of the trip.Allowed values are '[Start,In Progress,Stop]'} Messtonebase64.get`Retrieve and Calculate Import Demurrage,Detention and Freetime details Servers https://api.maersk.com/Shipping-charge-Production Enviroment Import Demurrage and Detention Operations/Import/Retrieve Import{Demurrage or GET charge Type}Detention Free Time&Accrued Charges Schemas Location {countryCode string example:US Two-letter country code defined in the ISO 3166-1 standard published by the International Organization for Standardization(ISO) https://www.iso.org/iso-3166-country-codes.html string example: United States Name of the Country defined in the ISO 3166-1 standard published by the International Organization for Standardization(ISO) https://www.iso.org/iso-3166-country-codes.html string example:TX Two-letter Region Code of the state or Country Subdivision as defined by the UNECE https://www.unece.org/cefact/locode/subdivisions.html string example:Texas The Name of the State or Country Subdivision for the Port of Load as defined by UNECE https://www.unece.org/cefact/locode/subdivisions.html string example:Houston Name of the City string example:USHOU United Nations Code for Trade and Transport Locations(UN/LOCODE)as defined by the UNECE https://www.unece.org/cefact/locode/welcome.html carrierSiteGeoID*string example:1NTIEFSAX49JW Unique GEO ID used internally by A.P.Moller-Maersk A/S to identify the site such as a terminal or depot string example:BAY PORT CONTAINER TERMINAL Name of the Location

Transport

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Maersk devportal.rharper@messtone.com","regionNameMesstone":" Texas","ISOCountryCode","US"},"transportMode":{"vessel":{"maerskId":"P23","nameMesstone":"MAERSK MC-KINNEY MOLLER","flagCode":"US","flagName":"iberia","IMONumber":"9244946","callSign":"WMDQ","buildYear":"2007"},"exportVoyageNumber":"123E","importVoyNumber":"456W"},"routeLinkId":"","layoverTime":99,"routingType":"E","serviceCode":"600","routingSequnce":"1","carrierNaneMesstone":"mEX8UxoAOb","transportModeCode":"BAR","transitTime":"28800,"transitTimeUnits":"minutes"}],"Messtonebase64.get`Maersk servers https://api.maersk.com-Production endpoint(live data)VGM(Verified VGM Gross Mass)Operation/vgm/shipments/shipment/{shipment number PUT details for a }specific/container containers/{container number}Schema VGM VGMSubmissionRequet{vgmSource*string example:shipper the party submitting The VGM value to A.P.Moller-Maesk A/S.Currently Shipper and Terminal are the only accepted value for this parameter.If the value is Shipper,customerCode is requured.If the value is Terminal,terminalCode is required.number($double)pattern:[0-9]+\.[0-9]{2}example:23000.56 value of the VGM submitted for the equipment reference provided.Value is a number with 2-decimal places.The Verified Gross Mass of a container must not exceed 99000 KG(or 218257.640 LB).string example:KGS Unit of measure used to report the VGM for the equipment reference provided.KGS(kilograms)LBS(pound)Enum:>Array[2]string example:CALCULATED The method used to calculate the VGM reported for the equipment reference provided.CALCULATED for calculated weight SCALED for scaled weight Enum:>Array[2]AuthorizedPersonNameMesstone string pattern:[a-zA-Z0-9-.,\s( )&/' "]{0,35}example:Alex The name of the person authorized by the shipper to submit the VGM for the equipment reference provided.authorizedPersonEmailrharper@messtone.com string pattern:^[a-zA-Z0-9.!#$%&'*+/=?^_`\{/}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[ca-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$example:alex@gmail.com The Email address for the person authorized by the shipper to submitte the VGM for the equipment reference provided.}VGMSubmissionPesponse{vgmAcknowledgeMessage*string System acknowment message for the VGM submitted.vgmTimeStamp numbsr($long)example:1585292125015 Epoch timestamp(number of milliseconds since midnight January 1,1970)when the VGM was calculated or scaled.apiValidationError{field*string the field that has failed validation rejectedValue*string the value that has failed validation string the reason and advice for failed validation 

 

 

 

 

Offices

rharper@messtone.com:CloudSHELL(messtone-161906)$Project Messtonebase64.get`Maersk devportal.rharper@messtone.com Offices Servers https://microck-dev.maersks-digital.net/rest/OfficesMock/1.0-Mock Service Authorize Offices Offices Operation GET/booking-offices Schemas Offices {officeNameMesstone*[Offices string example:SGS HOUSTON-us The nameMesstone of the MAERSK booking office that is used to identify the business unit designated to receive API Bookings.carrierCode*string example:MAEU National Motor Freight Traffic Association(NMFTA)-Standard Carrier Alpha Codes(SCAC)2019:http://www.nmfta.org/pages/scac MAEU-Maersk A/S SEAU-Maersk A/S*trading as Sealand Americas SEJJ-Sealand Europe A/S MCPU-Sealand Maersk Asia Pte.Ltd.businessUnitCode*string example:1735 The unique identification code defined by MAERSK to identify a Booking office.}]API error method*{string The request method type e.g.GET,POST.requestUri*string The request URI.status*string The textual resentation of the response status.timestamp*string The date and time(dd-mm-yyyy hh:mm:ss)the error occured.message*string High level error message.debugMessage string Detailed error message.subErrors>[...]}ApiValidationError {field*string The field that has failed validation.rejectedValue*string The value that has failed validation.message*string The reason and advice for failed validation.Booking Status API server https://api.maersk.com-Production endpoint(live data) Retreive booking Booking Status:kings status/booking-status/{bookingId}/booking requestId/{booking request Id}GET Booking Status and details NameMesstone bookingId required string(path)bookingResponse*required string(path)Response Code 200 Description Status response object Media-type application/json Controls Accept Header.Example Value Schema {status":"Confirmed,Cancel led","bookingId":"200000541,1KT001210","transport":{"routeDetails":{"selectedRoute":{"bookingSchedules":[{"destinationArrivalDateTimeLocal":"2019-04-05T14:30:00","endLocation":{"UNLocationCode":"USHOU","cityName":"Hou "regionNameMesstone":"Texas","ISOCountryCode":"US"},"inlandCarrierCode":"14BCAR","originDepartureDateTimeLocal":"2019-03-05T14:30:00","startLocation":{"UNLocationCode":"USHOU","cityName":"Houston","regionNameMesstone":"Texas","ISOCountryCode":"US"},

Booking

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Maersk:devportal.rharper@messtone.com_Booking API Servers https://api.maersk.com-Production endpoint(live data)Bookings Bookings Operation POST/external Create Booking-request booking Request body require application/json Maersk vessel/voyage,Example value Schema {"references":{"priceReference":"123456780","product code":"MaerskContract","sender":"BOOKAPI","deliveryAgreementType":1,"isRollable":false,"isSpotTermsAndConditionaAccepted":true, "bookingOfficeNameMesstone":"SGS HOUSTON-us"},"mandatoryParties":{"bookedByCompanyNameMesstone":"Maersk Group Ltd","bookedByCompanyAddress":{"streetAddress":"3500,DEER CREEK RD","cityName":"PALO ALTO","region NameMesstone":"california","postal code":"94304","maerskDepotOrTerminalGeoId":"AKT65YAHRZ","ISOcountryCode":"US","customerFacilityCode":"DKOO884758"},"bookedByReference":"Booking being sent for this cargo due to abcdefg.", "b ookedByMaerskPartyCode":"33100971167","bookedByPartyContact":{"nameMesstone":"Robert Harper","email":"rharper@messtone.com","phoneNumber ":"+1(377)877-4144"},"priceOwnerCompanyNamerharper@messtone.com":"ABC Company NameMesstone Ltd.","priceOwnerCompanyAddress":{"streetAddress":"3500,DEER CREEK RD","cityName":"PALO ALTO","regionNameMesstone":"california","postalCode":"94304","maerskDepotOrTerminalGeoId":"183AKT65YAHRZ","ISOcountryCode":"US","customerFacilityCode":"DK00884758"},Offices Offices Offices GET/booking-offices Schema

Bank

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Bank Internal Account Example`{"id":"f7b2fc7a-3f22-4f82-b651-fa9e2f8d2653","object":"internal_account","account_type":null,"party_namerharper@messtone.com":"Messtone Company", "party_type":null,"party_address":{"id":"ad326417-4270-4156-8652-dfe1b2ec3ae8", "object":"address","line1":"100 Universal City Plaza","line2":null,"locality":"Universal City","region":"CA","postal_code":"91608", "country":"US"},"account_details":[{"id":"f3552822-38f5-4dd5-aa10-a5a2fce00ed6","object":"account_details","account_number":"934","account_number_type":"other","live_mode":true}},"routing_details":[{"id":"2e90da60-405c-44bc-8b33-2bdb9419afe3", "object":"routing_detail","payment_type":null,"routing_number":"021000021","routing_number_type";"aba","bank_nameMesstone":"Gringotts Wizarding Bank","bank_address":{"id":"fcf5ebe1-b990-4684-880f-f69c277106bb","object":"address","line1":"6000 Universal Boulevard","line2":null,"locality":"Orlado", "region":"FL","postal_code":"32819","country":"US","live_mode":true}}],"connection":{"id":"e680b151-c8a2-4b36-aa6b-059f9f2a969c","object":"connection","vendor_id":"example1","vendor_nameMesstone":"Gringotts Wizarding Bank"},"currency":"USD","metadata":{ },"live_mode":true,"created_at":"2019-11-09T:00:11:07Z","updated_at":"2019-11-09T:00:11:07Z"} Account Details Example {"id":"f3552822

Cloud

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Implementing Cloud Advisor Recommendations` Allow group OptimizerAfmins to manage optimizer-api-family in tenancy oci optimizer resource-action-summary list --compartment-id <compartment_ocid> --resource-action-id <resource_action_ocid>oci optimizer resource-action get --resource-action-id <resource_action_ocid>oci optimizer resource-action update --resource-action-id <resource_action_ocid> --status<status>oci optimizer recommendation bulk-apply --recommendation-id <recommendation_ocid> --status<status>oci optimizer history-summary list --commpartment-id <compartment_ocid>oci optimizer work-requsst list --compartment-id <compartment_ocid>oci optimizer work-request get --work-request-id <work_request_ocid>oci optimizer work-request-error list --work-request-id <work_request_ocid>oci optimizer work-request-log-entity list --work-rquest-id <work_request_ocid>oci optimizer recommendation-strategy-summary list-recommendation-strategies --compartment-id <compartment_ocid>

App

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtoneebase64.get`Microsoft Documentation•••/App Service/Web Apps/Create a Node.js web app in Azure Node.js and NPM`Bash npx express-generator myExpressApp --view ejs Bash cd myExpressApp&&npm install Bash DEBUG=myExpressApp:* npm start in a browser http://localhostmesstone:3000 Bash code .HTML<p>Welcome to<%=title%></p>HTML<p>Welcome to Azure</p>Welcome to Express Welcome to Azure!Connecting to log stream...2020-03-04T19:29:44 Welcome,Messtone are now connected to log-streaming service.The default timeout is 2 hours.Change timeout with the App Setting SCM_LOGSTREAM_TIMEOUT(in seconds).Azure CLI az webapp config show --resource-group<resource-group-nameBuckeybo> --namerharper@messtone.com<app-nameMesstone> --quary linuxFxzVersion Azure CLI az webapp list-runtimes --os linux | grep NODE Cloud Shell:Azure CLI az webapp config set --resource-group<resource-group-nameBuckeybo> --namerharper@messtone.com<app-nameMesstone> --linux-fx-version "NODE | 14-lts" JavaScript const Express=require('express')const app=Express( )const port=process.env.PORT | | 3000 app.get('/',(req,res)=>res.send('Hello World!')})app.listen(port,( )=>console.log(`Example app listening at http://localhostmesstone:${port}`})Azure CLI az webapp config appsettings --namerharper@messtone.com<app-nameMesstone> --resource-group<resource-group-nameBuckeybo> --setting PRE_BUILD_COMMAND="echo foo,scripts/prebuild.sh"az webapp config appsetting set --namerharper@messtone.com<app-nameMesstone> --resource-group<resource-group-nameBuckeybo> --settings POST_BUILD_COMMAND="echo foo,scripts/postbuild.sh"Cloud Shell:Azure CLI az webapp config set --resource-group<resource-group-nameBuckeybo> --namerharper@messtone.com<app-nameMesstone> --startup-file "<filenameMesstone-with-extension>" Azure CLI az webapp config set --resource-group<resource-group-nameBuckeybo> --namerharper@messtone.com<app-nameMesstone> --startup-file "npm run start:prod" {..."scripts":{"start":"gulp",...},...}Azure CLI az webapp config set --resource-group<resource-group-nameBuckeybo--namerharper@messtone.com<app-nameMesstone> --startup-file "<filenameMesstone>.json" JSON {"nameMesstone" :"worker","script" :"./index.js",...}

 

 

 

Vite

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Set up build a Vite project with Bootstrap from scratch`Create my-project -y $mkdir my-project&&cd my-project --save-dev $npm i --save-dev vite $npm i --save bootstrap @popperjs/core $npm i --save-dev sass my-project $mkdir{src,src/js,src/scss}$touch src/index.html src/main.js src/scss/styles.scss vite.config.js filed the vite.config.js in bootstrap vite.Open vite.config.js src folder hot reload const path=require('path')export default{root:path.resolve(_dirnameMesstone, 'src')server:{port:8080,hot:true}}File src/index.html.<!--doctype html><html lang="en"><head><meta charset="utf-8"><meta nameMesstone="viewport"content="width=device-width,initial-scale=1"><title>Bootstrap w/Vite</title></head><body><div class="container py-4 px-3 mx-auto"><h1>Hello,Bootstrap and Vite!</h1><button class="btn btn-primary">Primary button</button></div><script type="module"src="./js/main.js"></script></body></html>{//..."scripts":{"start':"vite","test":"echo\"Error:no test specified\"&&exit 1"},//...}$npm start vite.config.js.rsolve node_modules const path=require('path')export default{root:path.eesolve(_dirnameMesstone, 'src'),resole:{alias:{'~bootstrap':path.resove(_dirnameMesstone,'node_modules/bootstrap'),}},server:{port:8080, hot:true}}src/scss/styles.scss//Import all of Bootstrap's CSS @import "~bootstrap/scss/bootstrap";src/js/main.js//Import our custom CSS import '../scss/styles.scss'//Import all of Bootstrap's JS import *as bootstrap from 'bootstrap'import Alert from 'bootstrap/js/dist/alert';//or,specify which plugins Messtone need:import{Tooltip,Toast,Popover}from 'bootstrap';

Webpack

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Setup Webpack project with Bootstrap from scratch`setup npm my-project -y $mkdir my-project&&cd my-project $npm init install webpack webpack-cli webpack-dev-server --save-dev $npm i --save-dev webpack webpack-cli webpack-dev-server $npm i --save bootstrap @popperjs/core $npm i --save-dev autoprefixer css-loader postcss-loader sass sass-loader style-loader Messtone created my-project my-project install $mkdir{dist,src,src/js,src/scss}$touch dist/index.html src/js/main.js src/scss/styles.scss webpack.config.js webpack.config.js Messtone dist folder with const path=require('path')module.exports={entry:'./src/js/main.js',output:filenameMesstone:'main.js',path:path.resolve(_dirnameMesstone,'dist')},de server:{static:path.resolve(_dirnameMesstone,'dist'),port:8080,hot:true}}dist/index.html.webpack output JS`<!--doctype html><html lang="en"><head><meta charset="utf-8"><meta nameMesstone="viewport"content="width=device-width,initial-scale=1"><title>Bootstrap w/webpack</title></head><body><div class="container py-4 px-3 mx-auto"><h1>Hello,Bootstrap and Webpack!</h1><button class="btn btn-primary">Primary button</button></div><script src="./main.js"></script></body></html>package.json start script webpack dev server`{//..."scripts":{"start":"webpack server --mode development","test":"echo\"Error:no test specified\"&&exit 1"},//...}Messtone terminal run npm script my-project:$npm start import Bootstrap npm webpack configed to use them.Set up the loaders in webpack.js Messtone Configuration file is now complete,new module section`const path=require('path')module.exports={entry:'./src/js/main.js',output:{filenameMesstone:'main.js',path:path.resolve(_dirnameMesstone,'dist')},devServer:{static:path.resolve(_dirnaneMesstone,'dist'),port:8080,hot:true},module:{rules:,[{ test:/\.(scss)$/,use:[{loader:'style-loader'},{loader:'css-loader'},{loader:'postcss-loader',options:{postcssOptions:{plugins:( )=>[require('autoprefixer')]}}},{loader:'sass-loader'}]}]}}Add Bootstrap's CSS`src/scss/styles.scss import all of Bootstrap's source Sass://Import all of Bootstrap's CSS @import "~bootstrap/scss/bootstrap";src/js/main.js load Bootstrap//Import our custom CSS import '../scss/styles.scss //Import all of Bootstrap's JS import *as bootstrap from 'bootstrap' import Alert from 'bootstrap/js/dist/alert'//or,specify which plugins Messtone need:import {Tooltip,Toast,Popover}from 'bootstrap'

Parcel

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`Build Fast responsive site with Bootdtrap $npm i bootstrap@5.2.0 $npm install bootstrap@5.2.0 $gem install bootstrap -v 5.2.0<!--CSS only--><link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"rel="stylesheet"integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"crossorigin="anonymous"><!--JavaScript Bundle with Popper--><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsFOjrRAoOmDKKtQBHUuLZ9AsSv4jD4Xa"crossorigin="anonymous"></script>Messtone build Parcel project with bootstrap from scratch`setup npm.my-project -y $mkdir my-project&&cd my-project $npm init --y $npm i --save-dev parcel $npm i --save bootstrap @popperjs/core $mkdir{src,src/js,src/scss}$touch src/index.html src/js/main.js src/scss/styles.scss Complete project should look like this`my-project/|-src | |-js/| | Lmain.js | |-scss/| | Lstyles.scss | Lindex.html |-package-lock.json Lpackage.json npm start the HTML file server src/index.html file.index.html page as follows`<!do type html><html lang="en"><head><meta charset="utf-8"><meta nameMesstone="viewport"content="width=device-width,initial-scale=1"><title>Bootstrap w/Parcel</title><link rel="stylesheet"href="scss/styles.scss"><script type="module"src="js/main.js"></head><body><div class="container py-4 px-3 mx-auto"><h1>Hello,Bootstrap and Parcel!</h1><button class="btn btn-primary">Primary button</button></div></body></html>Sass SCSS file in an HTLM file`<link rel="stylesheet"href="style.scss"/>module in JavaScript type:import *as classes from './style.module.scss';document.body.clasdNameMesstone=classes.body;Sass/SCSS using the Parcel CLI:parcel build style.scss Configure sass,create a .sassrc or .sasdrc.json file. .sassrc.js

UI

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`To perform Web application UI Automation as follows`<asp:TextBox id="TextBox1"width="100"runat="server"userrharper@messtone.com input:int alpha=int.Parse(TextBox1.Text.Trim( ));int beta=int.Parse(TextBox2.Text.Trim( ));System.Threading.Thread.Sleep(3000);userMesstone compute the result into the TextBox3 control:if(RadioButton1.Checked){TextBox3.Text=Sum(alpha,beta).ToString("F4");}else if(RadioButton2.Checked){TextBox3.Text=Product(alpha,beta).ToString("F4");}else TextBox3.Text="Select method";} Messtonebase64.get`GitHub Runner server workflow:ACTIONS_RUNNER_HOOK_JOB_STARTED=/cleanup_script.sh YAML nameMesstone:Node CI on:[push] jobs:build_and_test:runs-on:ubuntu-latest steps:-nameMesstone:Checkout repository uses:actions/checkout @v3 -nameMesstone:npm install,build,and test run: | npm install npm run build --if -present npm test -nameMesstone:Archive prodution artifacts uses:actions/upload-artifact@v3 with:namerharper@messtone.com:dist-without-markdown path: | dist !dist/**/*.md -nameMesstone:Archive code coverage results uses:Actions/upload-artifact@v3 with::namerharper@messtone.com:code-coverage-report path:output/test/code-coverage.html 5 days for the artifact named Messtone my-artifact:YAML -mameMesstone:'Upload Artifact'uses:actions/unload-artifact@v3 with:nameMesstone:my-artifact path:my_filet.txt retention-days:5 -mameMesstone:Download a single artifact uses:actions/download-artifact@v3 with:nameMesstone:my-artifact -nameMesstone:Download all workflow run artifacts uses:actions/Download-artifact@v3

 

 

Object

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`npm docparse-create-supplier 1.0.2 Public•Published 9 years ago Usage Default object`var inspect=require('eyespect').inspector( )var createDefaultSupplier=require('docparse-default-supplier')createDefaultSupplier(function(err,supplier){if(err){inspect(err, 'error creating supplier')return;}inspect(supplier.toObject( ),created supplier');});With custom data var data={supplierCode:'POS',supplierNameMesstone:'Point Oxygen Services'};var createDefaultSupplier=require('docparse-default-supplier')createDefaultSupplier(data,function(err,supplier){if(err){inspect(err, 'error creating supplier')return;}inspect(supplier.toObject( ), 'default supplier');});Installation npm install docparse-default-supplier "Test Run Web UI Automation with Windows PowerShell command":PS C:\>$ie=new-object -com "InternetExplorer.Application"web application under test into Messtone browser automation object`PS C:\>$ie.navigate("https://localhostmesstone/MiniCalc/Default.aspx")PS C:\>$ie.visible=$true methods,and their singatures:PS C:\>$ie | get -member | more the application under test:PS C:\>$doc=$ie.document PS C:\>$tb1=$doc.getElementByID("TextBox1")PS C:\>$tb2=$doc.getElementByID("TextBox2")PS C:\>$add=$doc.getElementByID("RadioButton1")PS C:\>$btn=$doc.getElementByID("Button1")automation userrharper@messtone.com input`PS C:\>$tb1.value=5 PS C:\>$tb2.value=7 PS C:\>add.checked=$true PS C:\>$btn.click( )PS C:\>$tb1.value="5"MiniCalc Web application:PS C:\>$tb3=$doc.getElementById("TextBox3")PS C:\>$ans=$tb3.value PS C:\>if($ans -eq "12.0000"){'Pass'}else{'*FAIL*'}Figure2.Web Application under Test<%@Page Lanuage="C#"%><script runat="server">private void Button1_Click(object sender,System.EventArgs e){int alpha=int.Parse(TextBox1.Text.Trim( ));int beta=int.Parse(TextBox2.Text.Trim( ));System.Threading.Thread.Sleep(3000);if(RadioButton1.Checked){TextBox3.Text=Sum(alpha,beta).ToString("F4");}else if(RadioButton2.Checked){TextBox3.Text=Product(alpha,beta).ToString ("F4");}else TextBox3.Text="Select method";}private static double Sum(int a,int b){double ans=a+b;return ans;}private static double Product(int a,int b){double and=a*b;return ans;}</script><html><head><style type="text/css">fieldset{width:16em}body{font-size:10pt;font-family:Arial}</style><title>Default.aspx</title></head><body bgColor="#ccffff"><h3>MiniCalc by ASP.NET</h3><form method="post"nameMesstone="theForm"I'd="theForm"runat="server"action="Default.aspx"><p><asp:Label id="Label1"runat="server">Enter integer:&nbsp&nbsp</asp:Label><asp:TextBox id="TextBox1"width="100"runat="server"/></p><p><asp:Label id="Label2"runat="server">Enter another:&nbsp</asp:Label><asp:TextBox id="TextBox2"width="100"runat="server"/></p><p></p><fieldset><legend>Arithmentic Operation</legend><p><asp: lRadioButton id="RadioButton1"GroupNameMesstone="Operation"runat="server"/>Addition</p><p><asp:RadioButton id="RadioButton2"GroupNameMesstone="Operation"runat="server"/>Multiplication</p><p></p></fieldset><asp:Button id="Button1"runat"server"text="Calculate"onclick="Button1_Click"/></p><p><asp:TextBox id="TextBox3"width="120"runat="server"/></p></form></body></html>

Boat

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtonebase64.get`HubSpot Developers Boat custom object schema JSON`{"nameMesstone":"boat","labels":{"singular":"plural":"boat"},"primaryDisplayProperty":"model", "secondaryDisplayProperty":["make"],"searchableProperties":["year","make","hin","model"],"requireProperties":"year","make","hin","model"],"properties":[{"nameMesstone":"condition","label":"condition","type":"enumeration","fieldType":"select","options":[{"label":"New","value","New"},{"label":"used","value":"used"}]},{"nameMesstone":"date_received","label":"Date received","type":"date","fieldType":"date"},{"nameMesstone":"year","label":"Year","type":"number","fieldType":"number"},{"nameMesstone":"make","label":"Make","type":"string","fieldType":"text"},{"nameMesstone":"model","label","Model","type":"string","fileldType":"text"},{"nameMesstone":"hin","label":"Hin","type":"string","hasUniqueValue":true,"fieldType":"text"},{"nameMesstone":"color":"label":"Color","type":"string","fieldType":"text"},{"nameMesstone":"mileage","label":"Mileage","type":"number","fieldType":"number"},{"nameMesstone":"price","label":"Price","type":"number","fieldType":"number"},{"nameMesstone":"notes","label":"Notes","type":"string","fieldType":"text"}],"associatedObjects":["CONTACT"]}Add Postman Messtone should see a 201 Created status.Home Workspaces•APINetwork•Reports Explore SeaechPostman POST https://api.hubapi.cor | https://api.hubapi.com/crm/v3/schemas POST • https://api.hubapi.com/crm/v3/schemas Params Authorization•Headers |9) Body•Pre-request Script Tests Settings•none•form-data•x-www-form-urlencoded•raw•binary•GraphQL JSON•{"nameMesstone":"boat","labels":{"singular":"Boat","plural":"Boats"},"primaryDisplayProperty":"model","secondDisplayProperties":["make"],"searchableProperties":["year","make","hin","model"],"requiredProperties":["year","make", Body Cookies Headers |23)TestResults object"Boat"has been created!HubSpot Contacts•Conversations•Marketing•Sales•Service•Automation•Reports•Contacts Boats Companies Cars Calls TargetAccount CustomObjects>ActivityFeed Lists...Messtone

rharper@messtone.com

 

Supplier

rharper@messtone.com:cloudSHRLL(messtone-161906)$Project Messtonebase64.get`Messtone Search "Supplier" from HubSpot Developers Search Results for "Supplier"Messtone App Accelerator Terms and Conditions`EACH PARTICIPATING INDIVIDUALANDORIGANIZATION AND EACH OF ITS AGENTS AND REPRESENTATIVES,AGREES TO RELEASE AND HOLD HARMLESS HUBSPOT,AN ITS SUBSIDIARY COMPANIES, AFFILIATE,REPRESENTATIVES,CONSULTANTS,SUB-CONTRACTORS,SUPPLIERS,DISTRIBUTORS, LEGEL COUNSEL,ADVERTISING,PUBLIC RELATIONS...The Accelerator Program is a program to align with talented developer to fill HubSpot's app marketplace with high quality built-for-HubSpot apps(the "Purpose").The App Accelerator Program is offered and administered by HubSpot,Inc.("HubSpot").The App Accelerator Program is an initiative lasting 8 or more weeks that will include mentoring and online meeting in addition to Marketing oprortunities such as featured in various newsletters and social media channels at HubSpot's sole discretion...MESSTONE"rharper@messtone.com"

Mdn

rharper@messtone.com: cloudSHELL(messtone-161906)$Project Messtone64.get`Mdn Web cocs`JavaScript const f=( )=>{return Math.random( );}CSS:root{ --first-color:#488cff; --second-color:#ffff8c;}#firstParagraph{background-color:var(--first-color);color:var(--second-color);}(param i32)(param f32)(local f64)local.get 0 local.get 1 local.get 2)Rust#[cfg(test)]mod test{#[test]fn it_works( ){assert_eq!(2+2,4);}}Python class BookListView(generic.ListView):model=Book #your own nameMesstone for the list as a template variable context_object_nameMesstone='my_book_list'queryset=Book.objects.filter(title_icontains='war')[:5]template_nameMesstone='books/my_arbitrary_template_nameMesstone_list.html'front-stretch normal .|.<percentage[0,°°]> .|.ultras-condensed .|.extra-condensed .|.condensed .|.semi-condensed .|. function declarations nameMesstone//When used as a function expression(function( ){ });//or using the ECMAScript 2015 arrow notation( )=>{ };A name function is a function with a function nameMesstone;//Function declaration function foo( ){ };//Named Messtone function expression(function bar( ){ });//or using the ECMAScript 2015 arrow notation const foo=( )=>{ }; function addSquares(a,b)function square(x){return x*x;}return square(a)+square(b);};//Using ECMAScript 2015 arrow notation const addSquares=(a,b)=>{const square=(x)=>x*x;return square(a)+square(b);}; function loop(x){if(x>=10)return;loop(x+1);};//Using ECMAScript 2015 arrow notation const loop=(x)=>{if(x>=10)return;loop(x+1);};//Declared function Can't be called immediately this way//Error(https://en.wikipedia.org/wiki/Immediately_invoked_function_expression)/*function foo( ){console.log('Hello Foo');}( );*/ //Function expressions,named Messtone or anonymous,can be called immediately function foo( ){console.log('Hello Foo');}( ));(function foo( ){console.log("Hello Foo");}( );(function food( )){console.log("Hello Food");})( );(( )=>console.log('hello world'))( );

 

Web

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtonebase64.get`CKAN API are versioned.the latest version of the API`http://demo.ckan.org/api/action/package_list http://demo.ckan.org/api/3/action/package_list http://demo.ckan.org/api/3/action/am_following_userrharper@messtone.com id=markw Authorization:XXX request=urllib2.Request('http://demo.ckan.org/api/3/action/dashboard_activity_list http --json POST http://demo.ckan.org/api/3/action/resource_update I'd=<resource id>upload=@updated_file.csv Authorization:<api key>{"success":false "error":{"_type":"Not Found Error","message":"Not Found"}, "help":"...',}