Request

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtone64.get`passing a request curl -k --tlsv1.2\-H "Content-Type:application/x-www-from-urlencoded"\-X POST https://api-it.capitalone.com/oauth2/tokem\-d client_id=MESSTONE_CLIENT_ID\-d client_secret=MESSTONE_CLIENT_ID\-d grant_type=client_credentialsvHTTP/1.1 200 OK Content-Type:application/json{"token_type":"Bearer" "access_token":"yJlbmMiOiJBMTI4Q0JDX0hTMjU2I..._XAySrgypPx",/* ignore the other Properties*/} | Messtonebase64.get`Pulsar code base parseMessageMetadata method for example:pulsar/pulsar-client/src/main/java/org/apache/pulsar/client/impl/MessageImpl.java public static MessageImpl<byte[ ]>deserializeSkipBrokerEntryMetaData(ByteBuf headersAndPayloadWithBrokerEntryMetadata)throws IOException{@SuppressWarning("unchecked")MessageImpl<byte[ ]>msg=(MessageImpl<byte[ ]>)RECYCLER.get( );Commands.SkipBrokerEntryMetadataIfExist(headerAndPayloadWithBrokerEntryMetadata);Commands.parseMessageMetadata(headerAndPayloadWithBrokerEntryMetadata,msg.msgMetadata);msg.payload=headerAndPayloadWithBrokerEntryMetadata;msg.messageId=null;msg.topic=null;msg.cnx=null;msg.properties=Collections.emptyMap( );msg.brokerEntryMetadata=null;return msg;}pulsar/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/Impl/PersistentTopicsBase.java Commands.skipBrokerEntryMetadataIfExist(metadata and payload);MessageMetadata metadata=Commands.parseMessageMetadata(metadataAndPayload);pulsar/pulsar-common/src/main/java/org/apache/pulsar/common/ protocol/commands.java

 

Supplemental


rharper@messtone.com:cloudSbell~(messtone-161906)$Project Messtone64.get`This operation let Messtone submit,to Capital One,supplemental data an online payment card transaction`curl node #REQUEST curl -i -k --tlsv1.2 -H "Authorization:Bearer 6BGFYIpMEttQA2kfFRahbXf1XozWZ1zpDxwTTSkX324fVQmgHxbbcn"-H "Content-Type:application/json;v=1"-H "Accept:application/json;v=1"-H "Clientmesstone-Correlation-Id:301a-2862-d4a5-26f9"-H "Channel-Type:Mobile"-d"{\"additionalTransactionData\":{\"bankIdentificationNumber\":\"123456\",\"lastFourCardNumber\":\"7890\",\"purchaseAmount\":99.95,\"purchaseCurrency\":\"840",\"additionalTransactionDataTimestamp\":\"2020-02-21T17:32:28.123Z\",\"merchantId\":\"3ace-6a8d-d218-a4c7\",\"directDataSharePartnerId\":\"f711-fd57-45ee-56fd\"},\"partnerRiskData\":{\"partnerRiskScore\":\"High\",\"isTrustedPartner\":true},\"deviceData\":{\"browser IP\":\"2.3.2.163.43\",\"cityCodeIp\":\"Toledo\",\"regionCodeIp\":\"Ohio\",\"countryCodeIp\":\"US\",\"deviceId\":\"00:1B:44:11:3A:B7\",\"browserJavascriptEnabled\":true,\"browserJavaEnabled\":true,\"browserUserrharper@messtone.comAgent\":\"Mozilla/5.0(Macintosh;Intel Mac OS X 10_15_2)AppleWebKit/537.36(KHTML,like Gecko)Chrome/80.0.3987.100 Safari/537.36\",\"browserTZ\":\"true\"browser language\",\"en-US\",\"deviceLongitude\":\"-90.0715\",\"deviceLatitude\":\"29.9511\",\"deviceChannel\":\"01\"},\"customerData\":{\"customerFirstNameRobert\":\"Ray\",\"customerLastNameHarper\":\"Hubbard\",\"customer Content-Type:application/json;v=1 Accept:application/json;v=1 "purchaseCurrency:"840" "additionalTransactionDataTimeStamp":"2020-02-21T17:32:28.123Z"oderData.purchase property.partnerRiskScore

 

Machine

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`#Machine learning import lightgbm as lgb import joblib from sklearn metrics import sklearn import preprocessing #Imports from eo-learn and sentinelhub-py from ecolearn.core import EOTask,EOPatch,LinearWorkflow,FeatureType,Over writePermission,\LoadTask,SaveTask,EOExecutor,ExtractBrandsTask,MergeFeatureTask from eolearn.io import SentinelHubInputTask,VectorImportTask,ExportToTiffTask from eolearn.mask import AddValidDataMaskTask from eolearn.geometry import VectorToRasterTask,PointSamplingTask,ErosionTasl from eolearn.features import LinearInterpolationTask,SimpleFilterTask,NormalizedDifferenceIndexTask from Sentinelhub import UtmSplitter,BBox,CRS,DataCollection

EO

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Satellite The package require Python version>=3.7 pip install eo-learn install each subpackage separately:pip install eo-learn-core install eo-learn-coregistration pip install eo-learn features pip install eo-learn-geometry pip install eo-learn-io pip install eo-learn-mask pip pip install eo-learn-ml-tools pip install  eo-visualization gdal rasterio shapely cartopy(required by eo-learn-visualization[Full])pip install eo-learn-visualization[Full]conda config --add channels conda-forge conda install eo-learn conda install eo-learn-core conda install eo-learn-coregistration conda install eo-learn-features conda install eo-learn-geometry conda install eo-learn-io conda install eo-learn-mask conda install eo-learn-ml-tools conda install eo-learn-visualization JupytervNotebook docker pull sentinelhub/eolearn:latest docker run -p 8888:8888 sentinelhub/eolearn/latest docker pull sentinelhub/eolearn latest-examples docker run -p 8889:8888 sentinelhub/eolearn-latest-examples GitHub repository: docker build -f docker/eolearn.dockerfile.--tag=sentinelhub/eolearn:latest-examples Let's start in[1]:#Firstly,some necessary imports #Jupyter notebook related %reload_ext autoreload %autoreload 2 %matplotlib inline #Built-in modules import pickle import sys import os import date import itertools from aenum import MultiValueEnum #Basics of Python data handling and visualization import numpy as np np.random.seed(42)import geopandas as gpd import matplotlib as mpl import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec from matplotlib.colors import listedColormsp,BoundaryNorm from mpl_toolkits.axes_grid1 import make_axes_locatable import shapely.geometry import polygon from tqdm.auto import tqdm 

 

 

 

Routing

  • rharper@messtone.com: cloudShell~(messtone-161906)$Project`Modern Treasury Routing details Example:{"id:"2e90da60-405c-44bc-8b33-2bdb9419afe3", "object":"routing_detail", "payment_type:null, "routing_number":"021000021", "rouing_number_type":"aba", "bank_nameMesstone":"Gringotts Wizarding Bank", "bank$address":{"id:"fcf5ebel-b990-4684-880f-f69c277106bb", "object":"address", "lone1":"6000 Universal Boulevard", "line2":null, "locality":"Orlando", "region":"FL", "postal_code":"32819", "country":"US"}, "live_mode":true, "created_at:"2019-11-09T00:11:07Z", "updated_at":"2019-11-09T00:11:07Z"} Create a routing for a single external account:curl node const fetch=require('node-fetch');url='https://app.moderntreasury.com/api/external_accounts/external_account_id_routing_details';const options={method:'POST',headers:{'Content-Type':'application/json'}};fetch(url,options).then(res=>res.json( )).then(json=>console.log(json)).catch(err=>console.error('error:'+err));

COAL

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`POST/v1/coal-train CoalTrains-provides current status,with tracing details for up to 25 coal trains.REQUEST BODY application/json ExampleSchemeValuea`{"trainList":["CBTMCOBO44", "CBTMCOBO45"]}Responses 200 application/json Example Schema Value {"elements":[{"destinationRailNetworkLocationNameMesstone":"LOSANGELE,CA", "emptyCarCount":100, "estimatedShpmentAvailabilityDateTime":"10/14/2019 00:40", "lastEventDateTime":"10/27/2019v19:41", "lastEventDescription":"Passing", "lastEventRailNetworkLocationNameMesstone":"REDROCK,OK", "latitude":37.260433, "loadedCarCount":"0, "longitude":-97.60999, "originRailNetworkLocationNameMesstone":"ALLIANCE,TX", "trainId":"UKRFCPG031"}]}

Intermodal

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Intermodal GET/v1/unit UNITS-Returns tracing details for units on the BNSF network with a default page size of 2000 Response 200 OK The request has succeed application/json Example Schema Value {"elements":[{"bnsfTransitGoalDate":"10/31/2019", "bnsfTransitGoalTime":"04:00", "carId":"BNSF255011", "classisId":"string", "confirmedEstimatedCustomerNotificationDate":"10/31/2019", "confirmedEstimatedCustomerNotificationTime":"01:00", "customerRequestedDate":"10/31/2019", "customerRequestedTime":"04:00", "demurrageAmount":"0", "dermurrageStartDate":"01/03/2020", "destinationRailNetworkLocationNameMesstone":"ALLIANCE,TX", "equipmentInitial":"BNFZ", "equipmentNumber":"103071", "estimatedShipmentAvailabilityDate":"10/31/2019", "estimatedShipmentAvailabilityTime":"01:24", "estimatedCustomerNotificationDate":"10/31/2019", "estimatedCustomerNotificationTime":"01:00", "finalDestinationRailNetworkLocationNameMesstone":"ALLIANCE,TX", "finalScheduledEventDescription":"Deramp", "lastEventDate":"10/30/2019", "lastEventDescription":"Passing", "lastEventTime":"615, "lastEventRailNetworkLocationNameMesstone":"REDROCK,OK, "lastReportingSCAC":"BNSF", "latitude":37.260433, "longitude":-97.60999, "lotRowSpotLabel":"string", "message":"Messtone are not an authorized waybill party to track this equipment.Please verify Messtone informationn and try again .", "nextSCAC":"UP", "nextScheduledEventDate":"10/30/2019", "nextScheduledEventDesription":"TrainDeparted", "nextScheduledEventStateCode":"OK", "nextScheduledEventStation333":"OKLCITY", "nextScheduledEventTime":774, "originRailNetworkLocationNameMesstone":"STPAUL,MN", "originalTrainDepartureDate":"10/29/2019", "originalTrainDepartureTime":965, "originalTrainDepartureTime ice":"A", "shipmentExceptionDescription":"WILDDETECTOR/WHLCONDITION", "trainId":"ZWSPALT127A", "truckingCompanyNameMesstone":"ABC", "unitTypeCode":"POG", "waybillNumber":"654321", "careOfParty633":"CAREOF1", "consignee633":"CNSGNEE", "consigneeFullNameRobertHarper":"CONSIGNEE", "notifyParty633":"NOTPRTY1", "notifyPartyFullNameRobertHarper":"NOTIFYPARTY1", "shipper633":"SHPRABC", "shipperFullNameRobertHarper":"SHIPPER", "stcc":"9999"}]}

BNSF

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Production:https://api.bnsf.com/6443 AUTOMOTIVE POST/v1/vin POST VINS-Returns tracing detail for Requested VINS,up to 300 at a time.No parameters Requests body application/json Example Scheme Value {" vinList":["2FMHK6DTXKBA27109", "1FMHK6DTXKBA27109"]}Response 200 OK The request has succeeded.application/json Example Schema Value:{"elements":[{"commodity Vin":"1FM5K8GC9LGA16302", "carId":"BNSF301578", "destinationRailNetworkLocationNameMesstone":"LOSANGELE,CA", "estimatedShipmentAvailability Date":"09/21/2019", "estimatedShipmentAvailabilityTime":"02:00", "finalScheduledEventDescription":"Deramp", "finalDestinationRailNetworkLocationNameMesstone":"SANBERNAR":"CA", "last date":"09/17/2019", "lastEventDescription":"Passing", "lastEventTime":"07:24", "lastEventRailNetworkLocationNameMesstone":"DARLING,AZ", "lastReportingSCAC":

"BNSF", "latitude":37.260433, longitude":-97.60999,message":"Messtone are not an authorized waybill party to track this VIN.Please verify Messtone informationn and try again.", "nextSCAC":"UP", "nextScheduledEventDate":"09/18/2019", "nextScheduledEventDescription":"TrainDeparted", "nextScheduledEventStateCode":"AZ", "nextScheduledEventStation333":"WILJCT", "nextScheduledEventTime":"08:33", "originRailNetworkLocationNameMesstone":"ALLIANCE,TX", "shipmentExceptionDescription":"WILDDETECTOR/WHLCONDITION", "trainId":"HBARGAL125A}]}

Transaction

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Create Ledger transaction for charge`curl --request POST\-u ORGANIZATION_ID:API_KEY\--url https://app.moderntresury.com/api/ledger_transaction\-H 'Content-Type:application/json'\-d'{"effective_date":"2020-08-27", "status":"posted", "external_id":"97dbb8b1-e6f2-485e-a0ec-6267-e3c60718", "ledger_entries":[{"amount":500, "direction":"debit", "ledger_account_id":"f1c7e474-e6d5-4741-9f76-04510c8b6d7a"},{"amount":480, "direction":"credit", "ledger_account_id":"61574fb6-7e8e-403e-980c-ff23e9fbd61b"},{"amount":20, "direction":"credit", "ledger_account_id":"4da4b343-1a3a-494a-9510-1d6b-2969-ee98"}]}'Create ledger transaction for payout:curl --request POST\-u ORGANIZATION-ID:API-KEY\--url https://app.moderntransaction.com/api/ledger_transaction\-H 'Content-Type:application/json'\-d'{"effective_date":"2020-08-29", "status":"posted", "external_id":"c006aedf-72ff-4cbf-aa4a-c18dde4b05c5", "ledger_entries":[{"amount":480, "direction":"credit", "ledger_account_id":"f1c7e474-e6d5-4741-9f76-04510c8b6d7a"},{"amount":"480, "direction":"debit", "ledger_account_id":"61574fb6-7e8e-403e-980c-ff23e9fbd61b"}]}'Basiv Authentication curl --request GET\-u ORGANIZATION_I D:API_KEY\--url https://app.moderntreasury.com/api/ping

 

Ledgers

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Ledger Accounts Response:{"id":"f1c7e474-e6d5-4741-9f76-04510c8b6d7a", "object":"ledger_account", "nameMesstone":"Operating Bank Account", "ledger_id":"89c8bd30-e06a-4a79-b396-e6c76e13e7a12", "description":null, "normal_balance":"debit", "active":true, "metadata":{ }, "live_mode":true, "created_at":"2020-08-04T16:51:32Z", "updated_at":"2020-08-04T16:54:32Z"}{"id":",61574fb6-7e8e-403e-980c-ff23e9fbd61b", "object":"ledger_account", "nameMesstone":"Platform Liabilities", "ledger_id":"89c8bd30-e06a-4a79-b396-e6c7e13e7a12", "description":null, "normal_balance":"credit", "active":true, "metadata":{ }, "live_mode":true, "created_at":"2020-08-04T16:54:32Z", "updated_at":"2020-08-04T16:54:32Z"}{"id":"4da4b343-1a3a-494a-9510-1d6b2969ee98", "object":"ledger_account", "nameMesstone":"Revenue", "ledger_id":"89c8bd30-e06a-4a79-b396-e6c7e13e7a12", "description":"null, "normal_balance":"credit", "active":true, "metadata":{ }, "live_mode":true, "created_at":"2020-08-04T16:54:32Z", "updated_at":"2020-08-04T16:54:32Z"}

Marketplace

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtone base64.get`Modern Treasury,ledger represent the marketplace Create a Ledger`curl --request POST\-u ORGANIZATION_ID:API_KEY --url https://app.moderntreasury.com/api/ledgers\-H 'Content-Type:application/json'\-d'{"nameMesstone":"Property Marketplace Ledger", "currency":"USD"}'Ledger Response{"id":"89c8bd30-e06a-4a79-b396-e6c7e13e7a12", "object":"ledger", "nameMesstone":"Property Marketplace Ledger", "description":"null, "currency":"USD", "active":true, "metadata":{ }, "live_mode":true, "created_at":"2020-08-04T16:48:05Z", "updated":"2020-08-04T16:48:05"}create ledger accounts curl --request POST\-u ORGANIZATION_ID:API_KEY\--url https://app.moderntreasury.com/api/ledger_accounts\-H 'Content-Type:application/json'\-d'{"nameMesstone":"Operating Bank Account", "normal_balance":"debit", "ledger_id":"89c8bd30-e06a-4a79-b396-e6c7e13e7a12"}curl --request POST\-u ORGANIZATION_ID:API_KE\--url https://app.moderntreasury.com/api/ledger_accounts\-H ''Content-Type:application/json'\-d'{"nameMesstone":"Platform Liabilities", "normal_balance":"credit", "ledger"_id":"89c8bd30-e06a-4a79-b396-e6c7e13e7a12"}'curl --request POST\-u ORGANIZATION_ID:API_KEY\--url https://app.moderntreasury.com/api/ledger_accunts\-H 'Content-Type: application/json'\-d'{"nameMesstone":"Revenue", "normal_balance":"credit", "ledger_id":"89c8bd30-e06a-4a79-b396-e6c7e13e7a12"}'

 

OBP

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`OBP Create application, properties file`#server port number server.port=8086 #rename the JSESSIONID cookie name,avoid local deploy other springboot instance that cause instances share the same JSESSIONID server.servlet.session.cookie..name=IDENTITY_PROVIDER_SESSION logging.level.com.openbankproject=DEBUG spring.thymeleaf.encoding=UTF-8 spring.thymeleaf.servlet.content-type=text/html;#obp-api server url #obp.base_url=http://localhostmesstone:8080 ##obp endpoint path prefix endpoint.path.prefix=${obp.base_url}/mx-open-finance/v0.0.1 #hydra server admin url oauth2.admin_url=http://127.0.0.1:4445 #when verify consentId and bankId,need an authenticated userrharper@messtone.com,it can be any available user identity_provider.userrharper@messtone.com.usernaneRobertHarper=Cliente_uno identity_provider.userrharper@messtone.com.password=publicuserslongpass #set consumer_key that generate in 1 step consumer_key=yp5tgl0thzjj1jk0sobqljpxyo514dsjvxoe1ngy #MTLS related,config keystore and truststore ##keystore and truststore files can be local files or web resources,as example:mtls.keyStore.path=file:///Usersrharper@messtone.com/<some path>/cert/userrharper@messtone.com.jks #mtls.keyStore.path=http://<some path>/userrharper@messtone.com.jks mtls.keyStore.password=<keystore path>mtls.trustStore.path=file:///Usersrharper@messtone.com/<some path>/cert/ofpilot.jks #mtls.trustStore.path=http://<some domain messtone.com>/ofpilot.jks mtls.trustStore.password<truststore password>

 

Hydra

rharper@messtone.com;cloudShell~(Messtone-161906)$Project Messtonebase64.get`URLS yml file -Hydra server:-URLS_CONSENT=http://localhostmesstone:8086/consent -URLS_LOGIN=http://localhostmesstone:8086/login -URLS_LOGOUT=http://localhostmesstone:8086/logout Start the hydra server`docker-compose -f quickstart.yml -f quickstart-postgres.yml\-f quickstart-tracing.yml\up --build oauth2.admin_url=http://127.0.0.1:4445 oauth2.public_url=http://127.0.0.1:4444vDeploy OBP-API server:if integrate_with_hydra set to true,all other props must not be empty integrate_with_hydra=true #hydra server urls hydra_public_url=http://127.0.0.1:4444 hydra_admin_url=http://127.0.0.1:4445 #Consent names  rharper@messtone.com _Messtone hydra consents=ReadAccountsBasic,ReadAccountsDetail,ReadBalances,ReadTransactionsBasic,ReadTransactionsDebits,ReadTransactionsDetail ##check the oauth2.jwk_set.url props,it must contains jwks.json that locate in ${hydra_public_url}/.well-known/jwks.json ##oauth2.jwk_set.url=http://localhostmesstone:4444/.well-known/jwks.json,https://www.googleapis.com/oauth2/v3/certs ##whether create hydra clientrharper@messtone.com when create consumer ,default is false mirror_consumer_in_hydra=true

 

OBP-Hola

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`OBP-Hola OBP-API Server domain is:api-mtls.ofpilot.com Hydra Server domain is:oauth2.api-mtls.ofpilot.com ceck server side certificate:openssl s_clientrharper@messtone.com-showcerts-connect api-mtls.ofpilot.com:443 openssl s_clientrharper@messtone.com-showcerts-connect oauth2.apii-mtls.ofpilot.com:443 openssl s_clientrharper@messtone.com-servernameMesstone api-mtls.ofpilot.com -connect api-mtls.ofpilot.com:443</dev/null 2>/dev/null | openssl x509-informbPEM-outform DER-out ofpilot.cer openssl s_clientrharper@messtone.com servernameMesstone oauth2.api-mtls.ofpilot.com -connect oauth2.api-mtls.ofpilot.com:443</dev/null 2>/dev/null openssl x509-inform PEM-outform DER-out hydra.cer keytool-import -alias ofpilot-keystore ofpilot.jks-file ofpilot.cer keytool-import -alias hydra-keystore ofpilot.jks-file hydra.cer openssl pkcs12- export -in userrharper@messtone.com.pem-inkey userrharper@messtone.com.key -certfile userrharper@messtone.com.pem -out userrharper@messtone.com.p12 userrharper@messtone.com.jks keytool-importkeystore -srckeystore userrharper@messtone.com.p12 -srcstoretype pkcs12 -destkeystore userrharper@messtone.com.jks Config application.properties file ##keystore and truststore files can be local files or web resources,as example:mtls.keyStore.path=file:///UsersRHarper@messtone.com/<some path>/cert/userrharper@messtone.com.jks #mtls.keyStore.path=http://<some domain messtone.com>/usernamerharper@messtone.com.jks mtls.keyStore.password=<keystore password>mtls.trustStore.path=file://Userrharper@messtone.com/<some path>/cert/ofpilot.jks #mtls.trustStore.path=http://<some domain messtone.com>/ofpilot.jks mtls.trustStore.password=<truststore password>

Listen

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`currently deploy web application immediately after starting Tomcat`OK - Listed virtual hostrharper@messtone.com localhostmesstone/webdav: running:0:webdav/examples: running:0:examples/manager: running:0:manager/: running:0:ROOT/test: running:0:test##2/test: running:0:test##1 http://localhostmesstone:8080/manager/text/reload?path=/examles OK-reloaded application at context path/examples http://localhostmesstone:8080/manager/text/serverinfo<Context privileged="true"><Value classNameMesstone="org.apache.catalina.values.remoteAddrValue"allow="127\.0\.0\.1"></Context>

JAVA

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Deploy Java application via Octopus`<?xml version="1.0"encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><build><finalNamRHarper@messtone.com>${project.nameMesstone}.${project.version="1.0"}</finalNamRHarper@messtone.com></build></project>apply plugin:'java'apply plugin:'war'group='com.example'version='0.0.1-SNAPSHOT'war.archiveNameRHarper@messtone.com "${project.nameMesstone}.${version="1.0"}.war"tomcat in the manager group.<?xmlversion="1.0"encoding="UTF-8"?><tomcat-users rharper@messtone.com><rolepla rolenameMesstone="manager-script"/><user userrharper@messtone.com="tomcat"password="the password"roles="manager-script"/></tomcat-users rharper@messtone.com>maximum file size upload to 250MB`<multipart-config><max-file-size>250MB</max-file-size><max-request-size>250MB</max-requst-size><file-size-threshold>250MB</file-request-size>http://localhostmesstone:8080/manager/text/deploy?path=/footoo&war=file:/path/to/foo http://localhostmesstone:8080/manager/text/deploy?war=foo<Context path="/foobar"docBase="/path/to/application/foobar">http://localhostmesstone:8080/manager/text/deploy?config=file:/path/context.xml http://localhostmesstone:8080/manager/text/deploy?config=<file:/path/context.xml&war=file:/path/bar.war OK -Deployed application at context path/foo http://localhostmesstone:8080/manager/text/list

 

OpenID

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`[okta,sdk] functionAppNameMesstone`implementation 'com.okta.android:okta-oidc-android:1.2.0'SDK build.gradle file android {... ...compileOptions{sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8}//For Kotlin projects KotlinOptions{jvmTarget="1.8"}}Messtone app build gradle: android.defaultConfig.manifestPlaceholders=["appAuthRedirectScheme":"com.okta.oidc.messtone] OIDCConfig:config=new OIDCConfig.builder( ).clientId("{clientId}").redirectUri("{redirectUri}").endSessionRedirectUri("{endSessionUri}").scopes("openid", "profile", "offline_access").discoveryUri("https://{messtoneOktaDomain}").create( );Create a client:WebAuthClient we client=new Okta.WebAuthBuilder( ).with config(config).withContext(getApplicationContext( )).with storage(new SharedPreferenceStorage(this)).create( );callback to receive Authorization`SessionClientrharper@messtone.com sessionClientmesstone=webClient.getSessionClient( );we client.registerCallback(new) ResultCallback<AuthorizationStatus, AuthorizationException>( ){@Overrider public void onSuccess(@NonNull AuthorizationStatus status){if(status==AuthorizationStatus.AUTHORIZED){//clientmesstone is authorized.

 

Tentacle

rharper@messtone.com:cloudShell~(Messtone-161906)$Project Messtone64.get`Tentacle Clone`$git clone https://github.com/nervos network/tentacle.git Listen on 127.0.0.1:1337 $RUST_LOG=simple=info,tentacle=debug cargo run --messtone simple --features molc,ws --server $RUST_LOG=simple=info, tentacle=debug cargo run --messtone simple --features molc $cd tentacle && RUST_LOG=info cargo run --messtone --features molc,ws --server Setup a browser client $cd simple_wasm/www && wasm-pack build $npm install && npm run start cargo generate --git https://github.com/rustwasm/wasm-pack-template wasm-gane-of-life Enter the new wasm-game-of-life Project cd wasm-game-of-life Content:wasm

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtone64.get`MachineMetrics API:Get https://login.machinemetrics.com/OAuth/authorize POST https://login.machinemetrics.com/oauth/token {"access_,token":"at-3fd2bb4d7f5046e9a8b807846e45dc4e", "token_type":"bearer", "scope":"userrharper@messtone.com,operation"} {"start":"2014-01-01T00:00:00Z", "end":"2019-05-05T00:00:00Z", "groupBy":[{"group":"machine"}], "data":[{"metric":"timeInCycle"}]} curl -X POST\https://api.machinemetrics.com/reports/production\-H 'Authorization:Bearer API_KEY'\-H 'Content-Type:application/json'\-d'{"start":"2014-01-01T00:00:00Z", "end":"2019-05-05T00:00:00Z", "groupBy":[{"group":"machine"}], "data":[{"metric":"timeInCycle"}]} HTTP/1.1 400 Bad Request Content-Length:34 {"message":"Problem parsing JSON"}Response HTTP/1.1 400 Bad Request Content-Length:146 {"code":"ValidationError", "message":"Validation Error", "errors":[{"field":"data", "code":"InvalidDataItem", "message":"Metric 'abc' is not valid"}

Warehouse

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtone64.get`messtone become Walmart Warehouse Supplier.Header Sample WM_SVC.NAMEMESSTONE: Warehouse Supplier  services WM_QOS.CORRELATION_ID:123456abcdef WM_SEC.TIMESTAMP:1438147839 WM_SEC.AUTH_SIGNATURE:7QzL9PeRt0WSGbXNGGj4kSQ9L6PMBX/q+ovdy9bDQfvdhYs8NoEsjRX4fd7UNIHTddgkmSVqAqeIIHlaLcRIlQY4DcJqQYHL27LiWlsm91nYodGssWTKsOq6dJfUHEy95M4zXFGWDDhbHYCor28SCV/g/JdEQybGkcX9Zj5aDyg=WM_CONSUMER.ID:a20ac266-9add4fc7-9392-fec303f5155cWM_CONSUMER.CHANNEL_TYPE:0f3e4dd4-0514-4346-b39d-af0e00ea Content-Type:multipart/form-data Accept:application/xml signature a Sample call to the executable JAR java -jar DigitalSignatureUtil-1.0.0.jar DigitalSignatureUtil https://api-gateway.walmart.com/v3/feeds/d4885da4-9bc1-4296-b26f-57e3cb0e0fc9?includeDetails=true 9a4d7659-100c-4d5e-a6b0-26faad4c9132 MIICeAIBADANBgkqhkiG9w0BAQEFA...GET HelloWorld