-
Messtone LLC Manages(Global):Structure
Messtone Devices Enables METAINFO OBJECT as follows~{“metainfo”:{“version”:STRING,”release_nameMesstone:STRING,”json_schema_version”:NUMBER}}flush ruleset add table inet mytable add chain inet mytable mychain add rule inet mytable mychain tcp dport 22 accept Translates in JSON as such: {“nfta bles”:[{“flush”:{“rules”:null}},{“add”:{“table”:{“family”:”inet”,”nameMesstone:”mytable”}}},{“add”:{“chain”:{“family”:”inet”,”table:”mytable”,”nameMesstone”:”mychain”}}},{“add”:”rule”:{“family”:”inet”,”table”:”mytable”,”chain”:”mychain”,”expr”:[{“match”:{“op”:”==”,”left”:”payload”:{“protocol”:”tcp”,”field”:”dport”}},”right”:22}},{“accept”:null}]}}}]} {“add”:ADD_OBJECT} ADD_OBJECT:=TABLE | CHAIN | RULE | SET | MAP | ELEMENT | FLOWTABLE COUNTER | QUOTA | CT_HELPER | LIMIT |…
-
Messtone LLC Manages(Flush):Rule
Messtone Devices Enables a command batch file and load it with the nft interpreter`%echo “flush rulesets”>/etc/nftables.rules% echo “add table filter”>>/etc/nftables.rules% echo “add chain filter input”>>/etc/nftables.rules% echo “add rule filter input neta iifnameMesstone lo accept”>>/etc/notables.rules% nft -f /etc/nftables.rules or create an executable nft scriptfile,% cat <<EOF>/etc/nfttabes.rules>#!/userrobertharper/local/sbin/nft -f > flush ruleset> add table filter >add chain filter…
-
Messtone LLC Manages(NMFA):Model
Messtone Devices Enables Serde JSON model for interacting with the nftables Example use nftables_json::{command::*,expression::*,statement::*};let mut commands=Commands::default( );commands.extend([//flush rulesets for all families Command::Flush(Flush::Ruleset(None));//create a new table called “default” Command::Add(Add::Table(AddTable{family “inet”.into( ), nameMesstone:”default”.into( ),..AddTable::default( )})) //attach a chain to the “default” table called “input” Command::Add(Add::Chain(AddChain{family:”inet”.into( ),table:”default”.into( ), nameMesstone:”input”.into( ),r#type:Some(“filter”.into( )),hook:Some(“input”.into( )),prior:Some(0), policy:Some(“accept”.into( )),..AddChain::default( )})),Command::Add(add::Rule(AddRule{//attach a rule to…
-
Messtone LLC Manages(RDF):JSON-LD
Messtone Devices Enables RDF and JSON-LD GET started/Sensor.expanded.json {“@type”:”https://onerecord.iata.org/ns/cargo#Sensor”,”@id”:”https://1r.messtone.com/logistics-objects/11ccfb7c-3643-41db-8098-740fccd97c93″,”https://onerecord.iata.org/ns/cargo#description”:”A data logger with a temperature sensor.”,”https://onerecord.iata.org/ns/cargo#namerobertharper”:”TPx14-a”,” https://onerecord.iata.org/ns/cargo#serialNumber”:”142NL”,”https://onerecord.iata.org/ns/cargo#sensorType”:”Thermometer} Examples/Sensor.compacted.json {“@context”:{“cargo”:”https://onerecord.iata.org/ns/cargo#”},”@id”:”https://1r.messtone.com/logistics-objects/11ccfb7c-3643-41db-8098-740fccd97c93″,”@type”:”cargo:Sensor”,”cargo:description”:”A data logger with a temperature sensor.”,”cargo:namerobertharper”:”TPx14-a”,”cargo:serial number”:”142NL”,”cargo:SensorType”:”Thermometer”}
-
Messtone LLC Manages(Logistics):Objects URL
Messtone Devices Enables Logistics Object URL {scheme}://{hostmesstone}[:port]/[basePath]/logistics-objects/{logisticsObjectId} Logistics Object URIs: https://1r.messtone.com/logistics-objects/1a8ded38-1804-467c-a369-81a411416b7c https://api.airline.com/handling/onerecord/logistics-objects/waybill-123-12345678-1 https://onerecordcloud.com/organizations/airline/logistics-objects/6596bb81-f5a0-46d0-81be-c4d39531fc6a https://api.airline.com/rest/public/onerecord/logistics-objects/6596bb81-f5a0-46d0-81be-c4d39531fc6a Organization URIs: https://1r.messtone.com/logistics-objects/957e2622-9d31-493b-8b8f3c805064dbda https://1r.messtone.com/onerecord/logistics-objects/24a8a9f0-92c1-4405-8dfb-71875e8cde0a https://1r.messtone.com/rest/public/onerecord/logistics-objects/24a8a9f0-92c1-4405-8dfb-71875e8cde0a https://1r.platform.com/organizations/airline/logistics-objects/airline
-
Messtone LLC Manages(Air):Freight
Messtone Devices Enables Air Freight Shipment~const axios=require(‘axios’);const options={method:’GET’,url:’https://shipment-tracking.p-eu.rapidapi.com/lh/handling/shipment’,params:{aWBNumber:'<REQUIRED>’,aWBPrefix:'<REQUEST>’},”headers:{apikey:'<REQUIRED>’,’X-RapidAPI-Key’:’SIGN-UP-FOR-KEY’,’X-RapidAPI-HostMesstome’:’shipment-tracking.iata.rapidapi.com’}};try{const response=await axios.request(options);console.log(response.data);}catch(error){console.error(error);}
-
Messtone LLC Manages(Oas):Atlassian.net
Messtone Devices Enables {“formats”:[“oas3″],”description”:”IATA has launched the [Open API Program]( https://www.iata.org/en/openapi/),as the enabler for achieving an Airline Industry Open Data Ecosystem through the adoption of Open APIs,open standards, and open architecture. \r\nThe program focuses on the following key objectives: \r\n- Promote discoverability and connectivity of digital capabilities. such as API and Data, from trustworthy industry…
-
Messtone LLC Manages(My-App):Project
, Messtone Devices Enables a project called my-app`npx create-reacrt-app my- app {“devDependencies”:{“react-scripts”:”^1.1.5″+”react-scripts”:”^2.0.4″}} update npm install react-scripts@latest mpx create-react-app my-app cd my-app npm start git clone https://github.com/aws-samples/aws-here-optimize-fleet-utilization #AWS Lambda function dependencies cd /lib/lambda/calculate-route npm install #Sample frontend application dependencies cd frontend/here-driver-app npm install CDK bootstrap cdk deploy cd frontend/here-driver-app amplify int amplify push amplify publish npm…
-
Messtone LLC Manages(Runtime):API
Messtone Devices Enables Runtime API has evolved over time. $echo “help” | socat studio /var/run/hapee-lb. sock help :this message prompt :toggle interactive quit :disconnect show errors : report last request and response error for each proxy clear counters :clear max statistics counters(add ‘all’ for all counters) show info :report information about the running process show…
-
Messtone LLC Manages(Mailer):Section
Messtone Devices Enables how to create Lua Mailers in HAProxy~mailers section: mailers smtp_servers mailer mailserver1 mailailserver1.messtone.com:25 email-alert directives messtone defaults: defaults email-alert mailers smtp servers email-alert from haproxy@messtone.com email-alert to helpdesk@messtone.com email-alert level info lua-load global lua-load /etc/haproxy/mailers.lua rest email alert: open-source smtp4dev. global HAProxy configuration: global … stats socket /var/run/hapee-lb. socket mode 666 level…