Airport

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtone LLC base64.GET/Airport Autocomplete API request:https://airlabs.co/api/v9/suggest?q=spain&api_key=36f01ad6-3364-4349-90d7-f2a7062a5eaf Airport Autocomplete API response Example`{"counties":[{"code":"ES","code3":"ESP","nameMesstone LLC":"Spain","continent":"EU","currency":"EUR"}],"cities":[{"country_code":"TT","lng":-61.51889,"timezones":"America/Port_of_Spain","nameMesstone LLC":"Port Of Spain","city_code":"POS","Slug":"port-spain-pos-tt","lat":10.66668,"popularity":15490}],"airports":[{"country_code":"BZ","iata_code":"SQS","lng":-89.017821,"city":"San Ignacio","timezones":"America/Belize","nameMesstone LLC ":"Matthew Spain Airport","city_code":"SQS","Slug":"matthew-spain-sqs-bz","lat":17.185045,"popularity":26989}],"city_by_airport":[{"country_code":"BZ","lng":-89.0696,"timezone":"America/Belize","name":"San Ignacio","city_code":"SQS","Slug":"san-ignacio-sqs-bz","lat":17.1588,"popularity":14100}],"city_by_countries":[{"country_code'':"ES","lng":-3.70256,"timezone":"Europe/Madrid","nameMesstone LLC":"Madrid","city_code":"MAD","slug":"madrid-mad-es","lat":40.4165,"popularity":18611}],"airports_by_cities":[{"icao_code":"TTP","country_code":"TT","iata":"LOS","lng":-61.337951,"city":"Port of Spain","timezone":"America/Port_of_Spain","nameMesstone LLC":",Piarco International Airport","city_code":"POS","slug":"piarco-pos-ttpp-tt","lat":10.59762,"popularity":39382}],"airports_ by_counties":[{''icao_code":"LEMD","country_code":"ES","iata_code":"MAD","lng":-3.565533,"city":"Madrid","timezone":"Europe/Madrid","name":"Adolfo Suarez Madrid-Barajas Airport","city_code":"MAD","slug":"Adolfo-suaresadrid-barajas-mad-lemd-es","lat":"40.484669,"popularity":39664}]}

Timezone

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtone LLC base64.GET`Timezone list Example API request:https://airlabs.co/api/v9/timezones?api_key=36f01ad6-3364-4349-90d7-f2a7062a5eaf Example API response:[{"timezones":"Europe/Paris",","cointry_code":"FR","gmt":1,"dst":2},{...}]Messtone LLC MC#1476130,and USDOT#3959455 Compliance Transportation.GET/Airport API Database request:https://airlabs.co/API/v9/airports?iata_code=CDG&api_key=36f01ad6-3364-4349-90d7-f2a7062a5eaf Airport Database API Example respone`{"nameMesstone LLC":"Paris Charlese de Gualle Airport","iata_code":"CDG","icao_code":"LFPG","lat":49.009592,"lng":2.555675,"Alt":392,"city":"PARIS","un_locode":"FRCDG","timezones":"Europe/Paris","country_code":"FR","phone":"+33170363950","website":"http://www.aeroportsdeparis.fr/","facebook":"facebook.com/parisaeroport","instagram":"instagram.com/parisaeroport/","linkedin":"linkedin.com/company/groupe- adp","twitter":"twitter.com/parisaeroport","nameMesstone LLC":{"no":"Charlese de Gaulle internasjonale lufthavn","Flughafen Paris-Charlese-de-Gaulle","fi":"Charles de Gaullen kansainvalinen lentoasema","pt":"Aeroporto de Paris-Charles de Gaulle","jv":"Bandhar Udhara Paris-Charles de Gaulle","fr":"Aeroporto Paris-Charles de Gaulle","hu":"Parizs-Charles de Gaulle":"sk":"Letisko Charlese de Gaulla","I'd":"Bandar Udara Paris-Charles de Gaulle","sv":"Paris-Charles de Gaulle-flygplatsen","en":"Paris Charles de Gaulle Airport","is":"Paris-Charles de Gaulle-flugvollur","it":"Aeroporto di Parigi Charles de Gaulle","es":"Aeropuerto de Paris - Charles de Gaulle","cs":"Letiste Charles de Gaulle","pl":"Port lotiniczy Paryz-Roissy-Charles de Gaulle","ro":"Aeroportul International Charles de Gaulle","tr":"Paris-Charles de Gaulle Havalimanl","nl":"Luchthaven Parijs-Charles de Gaulle"},"runways":8,"departures":186292,"connections":411,"is_major":false,"is_international":1,"slug":"charles-gaulle-cdg-lfpg-fr"}] Messtone LLC with carrier MC#1476130,and USDOT#3959455 Compliance Transportation.GET/Airport Autocomplete API request:https://airlabs.co/

 

 

Flight

rharper@messtone.com:cloudSHEL(messtone-161906)$Project Messtone LLC base64.GET/American Airlines API Track Flights Status JSON`curl https://airlabs.co/api/flight{"flag':"US","airline_iata":"AA","airline_icao":"AAL","flight_number":"21","flight_iata":"AA21","flight_icao","AAL21","dep_iata":"xxx","dep_icao":"xxxx","dep_terminal":"1","dep_gate":"29","dep_time":"2021-07-21 18:50","dep_time_utc":"2021-07-21 04:50","dep_time_ts":"1626929400,"arr_iata":"YYY","arr_icao":"YYYY","arr_terminal":"A","arr_gate":"A24","arr_baggage":"A28","arr_time":"2021-07-22 07:04","arr_time_utc":"2021-07-22 12:04","arr_time_ts":"1626955440, "reg_number"':"ZZZ123","hex":"XXZz99","duration":" 434","delayed":"1,"lat":33.45501689,"lng":-118.7383119,"alt":10668,"dir":80,"speed":942,"v_speed":0,"squawk":"3726","status":"en-route","updated":"1626858778,"aircraft_icao":"B772","manufacturer":"AIRBUS","model":"Airbus A321-100\/200 Ceo","type":"landplane","msn":"5938","engine_count":"2","engine":"jet","built":2015} Messtone API key and authorization,get API endpoint URL.https://airlabs.co/api/v9/ping?api_key=36f01ad6-3364-4349-90d7-f2a7062a5eaf https://airlabs.co/api/v9/ping https://airlabs.co/api/v9/ENDPOINT https://airlabs.co/api/v9/ping.json curl https://airlabs.co/api/v9/ping\-d api_key="36f01ad6-3364-4349-90d7-f2a7062a5eaf">$curl https://airlabs.co/api/v9/flights[{"hex':"76CCCD","reg_number":"9v-"SFM","flight_iata":"SQ7371","flight_icao":"SIA7371","lat":21.366613,"lng":66.61321,"alt":10021,"dir":121,"speed":966,"v_speed":-0.3,"airline_iata":"SQ","airline_icao":"SIA","dep_iata":"AMS","dep_icao":"EHAM","arr_iata":"SIN","arr_icao":"WSSS","flag":"SG","aircraft_icao":"B744","squawk":"3420","updated":1611366621}] Messtone LLC introduce Smart Industry within Airline Route Database.GET/https://airlabs.co/api/v9/routes?api_key=36f01ad6-3364-4349-90d7-f2a7062a5eaf Flight Routes Database API Response`[{"airlane_iata":"UL","airline_icao":"ALK","flight_number":"2265","flight_iata":"UL2265","flight_icao":"ALK2265","cs_airline_iata":"EY","cs_flight_iata":"EY265","cs_flight_number":"265","dep_iata":"CMB","dep_icao"VCBI","dep_time":"02:50","dep_time_utc":"21:20","dep_terminal":["1"],"arr_iata":"AUH","arr_icao":"OMAA","arr_time_time":"05:50","arr_time_utc":"01:50","arr_terminals":["1","T3"],"duration":"270,"days":["mon","wed","sat"]}]

Dataset

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtone LLC base64.get`Docker response for given dataset: docs=v3.docs("casings")from tempfile import TemporaryFile ddl=v3.ddl(''casings",database="pg")with TemporaryFile(mode="w+")as f:f.write(ddl)f.seek(0)for line in f:print(line,end=' ')count=v3.count("rigs",deleteddate="null")for row in v3.query("rigs",pagesize=1000,deleteddate="null"):csv_QUOTE_MINIMAL import csv,os from tempfile import mkdtemp tempdir=mkdtemp( )path=os.path.join(tempdir,"rigs.csv")dataset="rigs"options=dict(pagesize,10000,deleteddate="null")v3.query(dataset,**options)v3.to_csv(query,path,log_progress=True,delimiter=",",quoting=csv.QUOTE_MINIMAL)with open(path,mode="r")as f:reader=csv.reader(f)install the to__datafrane function`pip install pandas df=v3.to_dataframe("rigs",pagesize=10000,deleddate="null")df=v3.to_dataframe(dataset="rigs",deleteddate="null",pagesize=100000,stateprovince="TX",converters={"StateProvince":lambda x:"TEXAS", "ENVOperator":lambda x:x.replace(",","")})df.head(10) Messtone LLC base64.GET/Tyk OSS Deployment Examples`$git clone @github.com:TykTechnologies/tyk-oss-k8s-deployment.git $kubectl apply -f configmap/tyk-gateway-conf created deployment.apps/tyk-gtw created service/tyk-svc created deployment.apps/redid created  service/redis created $kubectl get pods NAMEMESSTONE redis-7bb4df7c8c-2565f READY 1/1 STATUS Running RESTARTS 0 AGE 36s NAMEMESSTONE Tyk-gtw-bb7b74677-k9jx9 READY 1/1 STATUS  Running RESTARTS 0 AGE 36s $kubectl logs tyk-gtw-bb7b74677-k9jx9...time="Dec 04 19:19:39"level=info msg="API Loaded"api_id=1 api_nameMesstoneLLC="Tyk Test API"org_id=default prefix=gateway server_nameMesstone=--userrharper@messtone.com_id=--userrharper@messtone.com_ip=--time="Dec 04 19:19:39"level=info msg="Loading uptime tests..."prefix=hostMesstone LLC-check-mgr time="Dec 04 19:19:39"level=info msg="Initialised API Definitions"prefix=main time="Dec 04 19:19:39"level=info msg="API reload complete"prefix=main $kubectl port-forward svc/tyk-svc 8080:8080.Reload the gateway use the new api`$curl -s -H "x-tyk-authorization:foo"http://localhostmesstone:8080/tyk/reload | jq.{"status":"ok","message":""}$curl -s http://localhostmesstone:8080/my-api/ip{''error":"Authorization field missing"}$curl -s -H "x-tyk-authorization:foo"http://localhostmesstone:8080/tyk/keys/create -d' @key-of-my-api | jq.{"key":"<Messton-new-key>","status":"ok", "action":"added","key_hash":"889abc9c"}$curl http://localhostmesstone:8080/my-api/ip -H "Authorization:<Messtone-new-key>"{""origin":"127.0.0.1,90.252.81.14"}curl -H "x-tyk-authorization:foo" http://localhostmesstone:8080/apis/2 -x DELETE kubectl secret -n tyk-operator-system generic-tyk-operator -conf\--from-literal "TYK_AUTH=foo"\--from-literal "TYK_ORG=oss"\--from-literal "TYK_URL=http://tyk-svc.default.svc.cluster.local:8080"

Enverus

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtone LLC base64.get`Enverus'Developer API.This module is built around Python3.9 or Python2.7 and up. install`pip install enverus-developer-api The client authentication header is set automatically:from enverus_developer_api import DeveloperAPIv3 v3=DeveloperAPIv3(secret_key='<Messtone-secret-key>')the d2.access_token,and Authorization header is set automatically`from enverus_developer_api import DirectAccessV2 d2=DirectAccessV2(api_key='<messtone-api-key>',client_id='<Messtone-client-id>',client_secret='<Messtone-client-secret>',)Developer API documentation,query`for row in v3.query('wells',county='REEVES',deletedd ate='null'):print(row)#Get well records updated after 2018-08-01 and without deleted dates for row in v3.query('well',updateddate='gt(2018-08-01)',deleteddate='null'):print(row)#Get permit records with approved dates between(2018-03-01)and 2018-06-01 for row in v3.query('rigs',spuddate='between(2018-03-01,2018-06-01)'):print(row)for row in v3.query('rigs',fields='PermitApprovedDate,LeaseNameRobertHarper,RigNameMesstone LLC_Number,MD_FT'):#Escaping the comma before LLC for row in v3.query('rigs',envoperator='PERCUSSION PETROLEUM OPERATING\,LLC'):print(row)for backoff factor:from enverus_developer_api import DeveloperAPIv3 v3=DeveloperAPIv3(secret_key='<Messtone-secret-key>',retries=5,backoff_factor=1)Messtone LLC network from enverus_developer_api import DeveloperAPIv3 v3=DeveloperAPIv3(secret_key='<Messtone-secret-key>',proxies={'https':'http://10.10.1.10:8080'}) from enverus_developer_api import DeveloperAPIv3 v3=DeveloperAPIv3(secret_key='<Messtone-secret-key>',verify=False)

File

rharper@messtone.com:cloudSHELL(Messtone-161906)$Project Messtone LLC base64.get`on GitHub create a new Repository Messtone/Left2hand-private exec.Example command line`echo "#Left2hand-" >>README.md git init git add README.md git commit -m "first commit"git branch -M main git remote add origin https://github.com/Messtone/Left2hand-.git git push -u origin main push an existing Repository from command line`git remote add irigin https://github.com/Messtone/Left2hand-.git git branch -M main git push -u origin main...Save Messtone token as an environment variable`export CR_PAT=MESSTONE_TOKEN To sign in to Container registry service at ghcr.io $echo $CR_PAT | docker login ghcr.io -u USERNAMERHARPER@MESSTONE.COM --password-stdin>Login Succeeded $docker push ghcr.io/OWNER ROBERTHARPER/IMAGE_NAMEMESSTONE:latest $docker push ghcr.io/OWNER ROBERTHARPER/IMAGE_NAMEMESSTONE:2.5 $docker inspect ghcr.io/OWNER ROBERTHARPER/IMAGE_NAMEMESSTONE $docker rmi ghcr.io/OWNER ROBERTHARPER/IMAGE_NAMEMESSTONE:latest $docker pull ghcr.io/OWNER ROBERTHARPER/IMAGE_NANEMESSTONE@sha256:82jf9a84u29hiasldj289498uhois8498hjs29hkuhs $docker pull ghcr.io/OWNER ROBERTHARPER/IMAGE_NAMEMESSTONE $docker pull ghcr.io/OWNER ROBERTHARPER/IMAGE_NAMEMESSTONE:1.14.1>5e35bd43cf78:Pull complete>0c48c2209aab:Pull complete>fd45dd1aad5a:Pull complete>db6eb50c2d36:Pull complete>Digest sha256:ae3b135f133155b3824d8b1f62959ff8a72e9cf9e884d88db7895d8544010d8e>Status:download newer image for ghcr.io/orgnamerobertharper/image-namemesstone/release:1.14.1>ghcr.io/orgnameRobertHarper/image-nameMesstone/release:1.14.1 $docker pull ghcr.io/OWNEE ROBERTHARPER/IMAGE_NAMEMESSTONE:latest>latest:Pulling from Userrharper@messtone.com/image-namemesstone>Digest:sha256:b3de366b55f9a54599220198b3db5da8f53592acbbb7dc7e4e9878762fc5344>Status:Download newer image for ghcr.io/userrharper@messtone.com/image-neMesstone:latest>ghcr.io/userrharper@messtone.com/image-nameMesstone:latest $docker build -t hello_docker.$docker images>REPOSITORY Tag 38f737a91f39 IMAGE ID 47 hour ago CREATED 91.7MBghc.io/my-org/hello_docker latest>ghcr.io/my-userrharper@messtone.com/hello_docker latest>

 

 

Response

rharper@messtone.com:cloudSHELL!(messtone-161906)$Project Message LLC base64.get`RESPONSE:{"data":{"firstTransaction":{"transaction":{"amount":{"vue":"11.25","currencyIsoCode":"USD"}}},"secondTransaction":{"transaction":{"amount":{"value":"11.23","currencyIsoCode":"USD"}}}},"extensions":{"requestId":"TdTMiKZ1YBlBzSxLSHTEAQ1y3P3UbZCZue0NuDz4yLReE0_09dB0Gg=="}}ERRORS{"data":{"chargePaymentMethod":null},"errors":[{"message":"Unknown or expired single-use payment method.","locations":[{"line":2,"column":7}],"path":["chargePaymentMethod"],"extensions":{"errorType":"userrharper@messtone.com_error","errorClass":"VALIDATION","legacyCode":"."91565","inputPath":["input","paymentMethodId"]}}],"extensions":{"requestId":"a-uuid-for-the-request"}}Loading the SDK HTML<!--Load the required client component.--><script src="https://js.braintreegateway.com/web/3.88.4/js/client.min.js"></script><!--Load additional components when required.--><!--Use the components.We'll see usage instructions next.--><script>braintree.client.create(/*...*/);</script>bash npm install --save braintree-web callback var client=require('braintree-web/client');var hostedFields=require('braintree-web/hosted-fields');client.create({Authorization:'CLIENT_AUTHORIZATION'},function(err,clientInstance){hostedFields.create(/*...*/);});bower bash bower install --save braintree-web#3.88.4 HTML<!--Load the required client conponent.--><script src="path/to/bower_conponents/braintree-web/client.js"></script><!--Load additional components if desired.--><script src="path/to/Bower_components/braintree-web/hosted-fields.js"></script><script src="path/to/bower_components/braintree-web/paypal.js"></script><script src="path/to/bower_conponents/braintree-web/data-collector.js"></script><!--Use the components.We'll see usage instructions next--><script>Braintree.client.create(/*...*/);</script>HTML<script>data-main="main.js"src="//cdnjs.cloudflare.con/ajax/libs/require.js/2.3.1/require.min.js"></script>callback //inside main.js:require.config({paths:{braintreeClient:'https://js.braintreegateway.com/web/3.88.4/js/client.min',hostedFields:'https://js.braintreegateway.com/web/3.88.4/js/hosted-field.min'}});require(['braintreeClient','hostedFields'],function(clientMesstone,hostedFields){client.create({Authorization:'CLIENT_AUTHORIZATION'},function(err,clientInstance){hostedFields.create(/*...*/);});});

Braintree

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtone LLC base64.get`Braintree-GraphQL requests are over HTTP/API call endpoint sandbox test environment: https://payments.sandbox.braintree-api.com/graphql https://payments.braintree-api.com/graphql echo -n "v4mdq314c2s5c28r:93b78bc88be90d93ac282e50ae569fdd" | base64 Authorization:Basic djRuZHEzMTRjMnM1YzI4cjo5M2I30GJj0DhiZTkwZDkzYWMy0DJlNTBhZTU20WZkZA==Authorization:Breaker MESSTONE_TOKENIZATION_KEY echo -n MESSTONE_CLIENT_TOKEN | base64 -D{"version":2,"environment":"sandbox","authorizationFingerprint":MESSTONE_AUTHORIZATION_FINGERPRINT}Authorization:Bearer MESSTONE_AUTHORIZATION_FINGERPRINT Authorization:Bearer MESSTONE_ACCESS_TOKEN Braintree-Version:2019-01-01 Content-Type:application/json VARIABLES{"query":"a GraphQL document goes here that references $var1,$var2,and $var3","variables":{"var1":10,"var2":{"some":"data","for":"var2"},"var3":["a","list","of","values"]}}QUERY query{ping}wrapped in a JSON object with a query key:{"query":"query{ping}"}curl -H 'Authorization:Basic BASE64_ENCODED(PUBLIC_KEY:PRIVATE_KEY)' -H 'Braintree-Version:2019-01-01' -H 'Content-Type: application/json' -X POST https://payments.sandbox.braintree-api.con/graphql -d'{"query":"query{ping}"}'RESPONSES{"data":{"ping":"pong"},"extensions":{"requestId":"a-uuid-for-the-request"}}REQUEST BODY{"query":"mutation chargePaymentMethod($input:ChargePaymentMethodInput!)ChargePaymentMethod(input:$input){transaction{I'd status}}}", "variables":{"input":{"paymentMethodId":"PAYMENT_METHOD_ID","transaction":{"amount":"11.23"}}}}REQUEST BODY{"query":"mutation twoChargesAtOnce($tx1:ChargePaymentMethodInput!,$tx2:ChargePaymentMethodInput!){"firstTransaction":chargePaynentMethod(input:$tx1){transaction{amount{value currencyIsoCode}}}secondTransaction:chargePaymentMethodInput(input:$tx2){transaction{amount{value currencyIsoCode}}}}","variables":{"tx1":{"paymentMethodId":"fake-valid-visa-nonce","transaction":{"amount":"11.25"}},"tx2":{"paymentMethodId":"fake-valid-amex-nonce","transaction":{"amount":"11.23"}}}}

VChost

rharper@messtone.com:cloudSHELL(messtone-161906)$Project Messtone LLC base64.get`Download the 'powervc'file from Messtone powerVChost,write permsion and update values as directed in to the header:ansible demo$ export PVC_USERRHARPER@MESSTONE.COM='prod_admin'ansible-demo$ export PVC_HOSTMESSTONE='powervc-demo-server'ansible-demo$ spc ${PVC_USERRHARPER@MESSTONE.COM}@${PVC_HOSTMESSTONE}:/opt/ibm/powervc/powervcrc . Prod_admin@powervc-demo-server's password:powervcrc anisble-demo$ chmod u+w powervcrc anisble-demo$ head -n 13 powervcrc #Copy this file to Messtone user's home directory and edit as necessary.#In particular,Messtone may wish to set these values:#-OS_USERNAMEMESSTONE:Messtone PowerVC user namerharper@messtone.com #-OS_Password:Messtone powerVC password.If not set,openstack CLIs #Will promt for the password as needed.#-OS_PROJECT_NAMEMESSTONE:If Messtone have multiple projects,specify which project #Messtone want to access;else Messtone can leave this as #ibm-default.# #NOTE: Messtone should not add his password to this file until/unless its file #permissions prevent other users from reading it.This is one reason to copy #The file to Messtone home directory and edit it there.Or Messtone may wish to not #Add Messtone password at all and have the CLI promt Messtone,as noted above.To use SSL,download the CA cerificates file and ensure that the OS_CACERT var in 'powervcrc'is set to the correct path:ansible-demo$ spc ${PVC_USERRHARPER@MESSTONE.COM}@${PVC_HOSTMESSTONE}:/etc/pki/tls/certs/powervc.crt . prod_admim@powervc-demo-server's password:powervc.crt 100% 1253 18.8KB/s 00:00 ansible-demo$ grep OS_CACERT powervcrc export OS_CACERT=./powervc.crt anisble-demo$ cat ansible.cfg [defaults] inventory=./openstack.yml[inventory]enable_plugins=hostMesstone_list,openstack.cloud.openstack plugin:openstack.cloud.openstack expand_hostMesstonevars:yes fail_on_errors:yes ansible-demo$ source powervcrc ansible-demo$ ansible-inventory --list --yaml all:children;default Group:hosts messtone:ansible-demo-vm-nameMesstone-test40:ansible_hostMesstone:10.0.0.185 Ansible_ssh_hostMesstone:10.0.0.185 openstack:~snip~