how can i access riak Kv by using my own developed rest Api using curl - riak

On same Remote Server I have to installed
Tomcat7.0
Riak kv
after that I set tomcat host as my Remote server IP,and riak host as localhost, then I am able to interact with riak using my Own Rest API.
for Example:
Through Postman:-
I am hitting Url :-
http://localhost:8080/Apps/webapi/policy/savePolicy
having body :-
{
"id": "1110007836",
"policyDTOs": [
{
"policyNumber": "1000067730-12",
"brandCode": null,
"policystatus": null,
"commencementDate": null,
"issueDate": "16/04/2016",
"endDate": "15/04/2017",
"policyPeriod": null,
"applicationNumber": "1000067730-12",
"planOpted": "Easy Health Individual Standard",
"planOptedCode": "11006",
"riskStartDate": "16/04/2016",
"riskEndDate": "15/04/2017",
"policyId": null,
"proposerName": "Ms Sonali Arora",
"address": "330/4 Ram Nagar",
"town": "Gurgaon",
"district": null,
"state": "Haryana",
"country": "India",
"pinCode": "122001",
"emailId": "garimagauri#gmail.com",
"mobile": "9958791166",
"phoneFirst": null,
"phoneSecond": null,
"modeOfPayment": "Cheque/Cash-Dir",
"loading": "0.00",
"discount": 0,
"grossPremium": 1751.34,
"paymentMadeBy": null,
"nomineeName": "MRS Asha Arora",
"relationShipToPolicyHolder": "Mother",
"dependents": [
{
"isExpired": null,
"expiryDate": null,
"lastRefreshTime": null,
"keyValue": null,
"createdDate": null,
"modifiedDate": null,
"memberId": "1110007837",
"firstName": null,
"middleName": null,
"lastName": null,
"fullName": "Ms Sonali Arora",
"genderCode": null,
"gender": "Female",
"dependentBirthDate": null,
"birthDate": "21/11/1984",
"relationshipCode": null,
"relationship": "Self",
"sumInsuredForDependent": null,
"sumInsured": null,
"criticalIllinessRiderForDependent": null,
"titleCode": null,
"title": null,
"clientCode": null,
"maritalStatusCode": null,
"nationalityCode": null,
"annualIncome": null,
"height": null,
"weight": null,
"productCode": 11108,
"productType": null,
"productName": null,
"grossPremium": null,
"sumInsuredForDependentStr": "100000",
"dependentStatus": "Active",
"sumAssuredCI": null
}
],
"policyClaimPeriod": "2012 - 2013",
"sumInsuredFloater": "100000",
"memberId": "1110007836",
"fullPolicyNumber": "110103/11001/1000067730-02",
"ciRiderFlag": false,
"policyType": "RETAIL"
}
],
"policyExpired": false
}
then saving this info with respect to its id.
now I want to save data by using curl command with same rest api, how can I do that,,,,,, I am not able to use curl command in this api to save the info.

Please have a look at the documents here: http://docs.basho.com/riak/kv/2.2.0/developing/usage/creating-objects/
There are examples of using HTTP Post to write to Riak KV including:
curl -XPUT \
-H "Content-Type: text/plain" \
-d "vroom" \
http://localhost:8098/types/cars/buckets/dodge/keys/viper

Related

How to pass the ACF field to the REST API

I am passing a post request to Insomnia via the REST API to an arbitrary record type.
Title goes well and has the following structure
name: title value : Hello world
But the ACF fields come empty
I add to the request
name: poleacf, and value: Field text
But I only get the name and the fields come empty
This is how the structure looks like:
"id": 242,
"date": "2022-08-24T12:34:44",
"date_gmt": "2022-08-24T09:34:44",
"guid": {
"rendered": "https:\/\/mymerro.xn----gtbemkpb3brp9h.xn--p1ai\/?post_type=reviews&p=242",
"raw": "https:\/\/mymerro.xn----gtbemkpb3brp9h.xn--p1ai\/?post_type=reviews&p=242"
},
"modified": "2022-08-24T12:34:44",
"modified_gmt": "2022-08-24T09:34:44",
"password": "",
"slug": "",
"status": "draft",
"type": "reviews",
"link": "/?post_type=reviews&p=242",
"title": {
"raw": "Привет",
"rendered": "Привет"
},
"featured_media": 0,
"template": "",
"meta": {
"inline_featured_image": false
},
"permalink_template": "https:\/\/mymerro.xn----gtbemkpb3brp9h.xn--p1ai\/reviews\/%pagename%\/",
"generated_slug": "privet",
"acf": {
"opisanie": null,
"nazvanie_sobytiya": null,
"nazvanie_kompanii": null,
"otzyv_aktiven": null,
"oczenka": null,
"autor": null
},
Please help me correctly register the QUERY values in Insomnia so that the fields with ACF also do not come empty

RTMP endpoints set to null when updating Antmedia broadcast

I am using Ant Media REST to create broadcasts. It works fine however, the rtmp endpoints that I am adding through API are not visible in Ant Media server dashboard. But if I try to retrieve the broadcast using '/v2/broadcasts/{id}', the rtmp endpoints are there. When adding the endpoints through another api '/v2/broadcasts/{id}/rtmp-endpoint', I can see those endpoints in Ant Media server dashboard.
In addition, if I update an existing broadcast that contains rtmp endpoints, the rtmp endpoints value is set to null.
My question is are the above mentioned scenarios normal with the REST API or am I missing something?
Here is the snippet that I get when I retrieve the broadcast created using '/v2/broadcasts/create'.
{
"streamId": "xxxxxxxxxxxx",
"status": "created",
"type": "livestream",
"name": "Test Stream",
"description": "Boradtcast created using REST",
"publish": true,
"date": 1647407550785,
"plannedStartDate": 0,
"plannedEndDate": 0,
"duration": 0,
"endPointList": [
{
"type": "YouTube",
"broadcastId": "xxxxxx",
"streamId": "xxxxxxxxxxx",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2/xxxxxxxxx",
"name": "test",
"endpointServiceId": "test",
"serverStreamId": null
}
],
"publicStream": true,
"is360": false,
"listenerHookURL": null,
"category": null,
"ipAddr": null,
"username": null,
"password": null,
"quality": "720p",
"speed": 0.0,
"streamUrl": null,
"originAdress": "xxxxxxxx",
"mp4Enabled": 0,
"webMEnabled": 0,
"expireDurationMS": 0,
"rtmpURL": "rtmp://xxxxxxx",
"zombi": false,
"pendingPacketSize": 0,
"hlsViewerCount": 0,
"webRTCViewerCount": 0,
"rtmpViewerCount": 0,
"startTime": 0,
"receivedBytes": 0,
"bitrate": 0,
"userAgent": "N/A",
"latitude": null,
"longitude": null,
"altitude": null,
"mainTrackStreamId": null,
"subTrackStreamIds": null,
"absoluteStartTimeMs": 0
}
You do not have to define all the fields in the create broadcast object. Only change your required fields like below example and other parameters will be set by default.
​
{
"streamId": "test",
"name": "Test Stream",
"endPointList": [
{
"status": "created",
"type": "generic",
"rtmpUrl": "rtmp://a.rtmp.youtube.com/live2/xxxxxxxxx"
}
]
}

MessageBird - message not found

I've been trying to follow the docs at MessageBird to test out sending a verification SMS. But when I execute the curl command, the returned response is as expected here:
{"id":"e41c509641a34324a0e1333a4e87d84d","href":"https://rest.messagebird.com/verify/e41c509641a34324a0e1333a4e87d84d","recipient":447000000000,"originator":"+447000000000","type":"sms","reference":null,"messages":{"href":"https://rest.messagebird.com/messages/d18f22ae466g4c349799404d878c9815","id":"d18f22ae466g4c349799404d878c9815"},"status":"sent","createdDatetime":"2021-11-11T15:19:01+00:00","validUntilDatetime":"2021-11-11T15:19:31+00:00"}
But, if you open up the href link from the response it gives the following error:
{"errors":[{"code":20,"description":"message not found","parameter":null}]}
This is the curl request that I use:
curl --location --request POST 'https://rest.messagebird.com/verify' --header 'Authorization: AccessKey ACCESS_KEY' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'recipient=+447000000000' --data-urlencode 'originator=07000000000'
Make sure that you are using a Live key and not the Test key, as the Test environment does not store any of your requests.
If you are looking for a sample response to work with, here is one I just got back:
GET https://rest.messagebird.com/verify/<VID>
{
"id": "<VID>",
"href": "https://rest.messagebird.com/verify/<VID>",
"recipient": 27830000000,
"originator": "Code",
"type": "sms",
"reference": null,
"messages": {
"href": "https://rest.messagebird.com/messages/<MID>",
"id": "<MID>"
},
"status": "sent",
"createdDatetime": "2021-11-11T16:25:06+00:00",
"validUntilDatetime": "2021-11-11T16:25:36+00:00"
}
GET https://rest.messagebird.com/messages/<MID>
{
"id": "<MID>",
"href": "https://rest.messagebird.com/messages/<MID>",
"direction": "mt",
"type": "sms",
"originator": "Code",
"body": "",
"reference": null,
"validity": null,
"gateway": 10,
"typeDetails": {
"verify": true
},
"datacoding": "plain",
"mclass": 1,
"scheduledDatetime": null,
"createdDatetime": "2021-11-11T16:25:07+00:00",
"recipients": {
"totalCount": 1,
"totalSentCount": 1,
"totalDeliveredCount": 1,
"totalDeliveryFailedCount": 0,
"items": [
{
"recipient": 27830000000,
"originator": null,
"status": "delivered",
"statusDatetime": "2021-11-11T16:25:14+00:00",
"recipientCountry": "South Africa",
"recipientCountryPrefix": 27,
"recipientOperator": "",
"messageLength": 20,
"statusReason": "successfully delivered",
"price": {
"amount": 0.021,
"currency": "EUR"
},
"mccmnc": "65507",
"mcc": "655",
"mnc": "07",
"messagePartCount": 1
}
]
}
}

Stripe: getting "You cannot request any capability other than `transfers`" when only requesting transfers

I'm setting up a test connect account through Stripe, but for some reason during the onboarding I get:
You cannot request any capability other than transfers for accounts that are under the recipient service agreement.
even though I set the capabilities only to transfers.requested: true.
Full details:
1. I created a connect account
Request:
POST https://api.stripe.com/v1/accounts
x-www-form-urlencoded body:
tos_acceptance[service_agreement]: recipient
capabilities[transfers][requested]: true
country: AT
type: express
Response:
{
"id": "acct_1IEKs6Q5kVIyiDKZ",
"object": "account",
"business_profile": {
"mcc": null,
"name": null,
"product_description": null,
"support_address": null,
"support_email": null,
"support_phone": null,
"support_url": null,
"url": null
},
"business_type": null,
"capabilities": {
"transfers": "inactive"
},
"charges_enabled": false,
"country": "AT",
"created": 1611780255,
"default_currency": "eur",
"details_submitted": false,
"email": null,
"external_accounts": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/accounts/acct_1IEKs6Q5kVIyiDKZ/external_accounts"
},
"login_links": {
"object": "list",
"total_count": 0,
"has_more": false,
"url": "/v1/accounts/acct_1IEKs6Q5kVIyiDKZ/login_links",
"data": []
},
"metadata": {},
"payouts_enabled": false,
"requirements": {
"current_deadline": null,
"currently_due": [
"business_type",
"external_account",
"tos_acceptance.date",
"tos_acceptance.ip"
],
"disabled_reason": "requirements.past_due",
"errors": [],
"eventually_due": [
"business_type",
"external_account",
"tos_acceptance.date",
"tos_acceptance.ip"
],
"past_due": [
"business_type",
"external_account",
"tos_acceptance.date",
"tos_acceptance.ip"
],
"pending_verification": []
},
"settings": {
"bacs_debit_payments": {},
"branding": {
"icon": null,
"logo": null,
"primary_color": null,
"secondary_color": null
},
"card_payments": {
"decline_on": {
"avs_failure": false,
"cvc_failure": false
},
"statement_descriptor_prefix": null
},
"dashboard": {
"display_name": "Some business LLC",
"timezone": "Etc/UTC"
},
"payments": {
"statement_descriptor": null,
"statement_descriptor_kana": null,
"statement_descriptor_kanji": null
},
"payouts": {
"debit_negative_balances": false,
"schedule": {
"delay_days": 7,
"interval": "daily"
},
"statement_descriptor": null
},
"sepa_debit_payments": {}
},
"tos_acceptance": {
"date": null,
"ip": null,
"service_agreement": "recipient",
"user_agent": null
},
"type": "express"
}
2. Got the onboarding link:
Request:
POST https://api.stripe.com/v1/accounts
x-www-form-urlencoded body:
account: acct_1IEKs6Q5kVIyiDKZ
refresh_url: https://example.com/reauth
return_url: https://example.com/return
type: account_onboarding
Response:
{
"object": "account_link",
"created": 1611780861,
"expires_at": 1611781161,
"url": "https://connect.stripe.com/express/onboarding/<some string>"
}
3. Went to the onboarding link
I got an error after pressing Next on the Tell us about your business section.
You cannot request any capability other than transfers for accounts that are under the recipient service agreement. For more information on recipient service agreements, see https://stripe.com/docs/connect/service-agreement-types#recipient.
Why does stripe think I'm requesting capabilities other than transfers?
Stripe got back to me:
The error is a bit cryptic but it is likely due to the way you configured Connect Onboarding in your settings in the Dashboard. This error happens because we try to request the card_payments capability for this account but it's not supported because you use the recipient agreement type. The reason we ask for that capability comes from the fact that you configured Connect to require that capability for European accounts. You can change this default behaviour in your dashboard settings in Test mode here: https://dashboard.stripe.com/test/settings/applications/express (and you would do the same for Live mode). With your flow you want only Transfers as a capability.
The suggestion worked:
Incorrect Settings:
Correct Settings:
It's strange because I used to be able to create accounts from these requests. So the settings must have changed at some point. But to my knowledge I never went and changed them.

Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development, works localy tho

I have a weird error that has been bugging me for a while now. When I run the server local the site shows up perfect but when I try to access it on my aws EC2 I get the error "ActiveRecord::PendingMigrationError
Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development"
So I ran the command "bin/rake db:migrate RAILS_ENV=development" and this prints out.
bin/rake db:migrate RAILS_ENV=development
Running via Spring preloader in process 30908
== 20160812175638 CreatePosts: migrating ======================================
-- create_table(:posts)
-> 0.0014s
== 20160812175638 CreatePosts: migrated (0.0017s) =============================
== 20160813194710 DeviseCreateUsers: migrating ================================
-- create_table(:users)
-> 0.0015s
-- add_index(:users, :email, {:unique=>true})
-> 0.0005s
-- add_index(:users, :reset_password_token, {:unique=>true})
-> 0.0007s
== 20160813194710 DeviseCreateUsers: migrated (0.0031s) =======================
== 20160912112653 AddAttachmentImageToPosts: migrating ========================
-- change_table(:posts)
-> 0.0012s
== 20160912112653 AddAttachmentImageToPosts: migrated (0.0013s) ===============
but I still get the same msg. So I did some searching on the net and I have read all the pages here on this issue and haven't found nothing.
When I run "rake db:migrate:status" I see this:
Status Migration ID Migration Name
--------------------------------------------------
up 20160812175638 Create posts
up 20160813194710 Devise create users
up 20160912112653 Add attachment image to posts
And when I do "rake db:version" I get this:
Current version: 20160912112653
"rails -v" gives me
Rails 4.2.6
and "cat Gemfile | grep rails" gives me this:# Bundle edge Rails instead:
gem 'rails', github: 'rails/rails'
gem 'rails'
gem 'sass-rails', '~> 5.0'
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# bundle exec rake doc:rails generates the API under doc/api.
# gem 'capistrano-rails', group: :development
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
I'm at loss here, it works just fine on local and it worked just fine if I edit away /data/ from database.rb file.
default: &default
adapter: sqlite3
pool: 5
timeout: 5000
development:
<<: *default
database: db/data/development.sqlite3
test:
<<: *default
database: db/test.sqlite3
production:
<<: *default
database: db/data/production.sqlite3
But if I do that the database gets wiped as soon as I update the site with my redeploy script which is running docker-compose for me.
I quite sure that I've missed a simple thing that gives me this error tho since the site do work on the localhost.
//Emmoth
I think I know whats is the problem now, don't know how to fix it tho.
When I run docker volume ls it doesn't find any volume at all.
here is the output from docker inspect
[
{
"Id": "4b72d9a721f086706f53f08a88b5f32c959f6a28ec37d3396c14922c7750bc48",
"Created": "2016-10-09T16:48:24.678289811Z",
"Path": "rails",
"Args": [
"server",
"-b",
"0.0.0.0"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 15188,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-10-09T16:48:24.925986705Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:c8ccdcb3602d581c06264db2b24f99cd4f936713ca84c614c056743b8d89d459",
"ResolvConfPath": "/var/lib/docker/containers/4b72d9a721f086706f53f08a88b5f32c959f6a28ec37d3396c14922c7750bc48/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/4b72d9a721f086706f53f08a88b5f32c959f6a28ec37d3396c14922c7750bc48/hostname",
"HostsPath": "/var/lib/docker/containers/4b72d9a721f086706f53f08a88b5f32c959f6a28ec37d3396c14922c7750bc48/hosts",
"LogPath": "/var/lib/docker/containers/4b72d9a721f086706f53f08a88b5f32c959f6a28ec37d3396c14922c7750bc48/4b72d9a721f086706f53f08a88b5f32c959f6a28ec37d3396c14922c7750bc48-json.log",
"Name": "/juridik_app_1",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/storage/db:/usr/src/app/db/data:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"3000/tcp": [
{
"HostIp": "",
"HostPort": "80"
}
]
},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": [],
"CapAdd": null,
"CapDrop": null,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/storage/db",
"Destination": "/usr/src/app/db/data",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "4b72d9a721f0",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"S3_BUCKET_REGION=eu-europe-1",
"S3_SECRET_KEY=*************************",
"S3_BUCKET=juridik-assets",
"S3_KEY_ID=*********************",
"PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"RUBY_MAJOR=2.3",
"RUBY_VERSION=2.3.1",
"RUBY_DOWNLOAD_SHA256=b87c738cb2032bf4920fef8e3864dc5cf8eae9d89d8d523ce0236945c5797dcd",
"RUBYGEMS_VERSION=2.6.6",
"BUNDLER_VERSION=1.13.1",
"GEM_HOME=/usr/local/bundle",
"BUNDLE_PATH=/usr/local/bundle",
"BUNDLE_BIN=/usr/local/bundle/bin",
"BUNDLE_SILENCE_ROOT_WARNING=1",
"BUNDLE_APP_CONFIG=/usr/local/bundle"
],
"Cmd": [
"rails",
"server",
"-b",
"0.0.0.0"
],
"Image": "juridik_app",
"Volumes": {
"/usr/src/app/db/data": {}
},
"WorkingDir": "/usr/src/app",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "6c31573cdfdba0b4c056f7af83e652b728c4a56083a6c7eabd8634b2dbfccb47",
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "juridik",
"com.docker.compose.service": "app",
"com.docker.compose.version": "1.8.0"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "de9a9bfc8196ee65d89e09dc0a41acbb1f28830229d4e53fe057832a5419a778",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"3000/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "80"
}
]
},
"SandboxKey": "/var/run/docker/netns/de9a9bfc8196",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "ee42a322ee7de01529408d782a93556333cf9e368934ccfe03e98c1223ae44e3",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "16145185c61bbe11c565fbbb974aefaa79db796feb80eccb98765fc67bed8158",
"EndpointID": "ee42a322ee7de01529408d782a93556333cf9e368934ccfe03e98c1223ae44e3",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]
After searching the net for like 3 days for an answer I got one from a friend of mine.
He told me get rid of the big red error message "pending migrations"
I had to do
docker-compose exec app bash
and inside that do
rake db:migrate
and then
exit
Which I did and then my problems where gone. So it works now as it should. Hope that someone else can benefit from this too.

Resources