Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Unanswered
← Is there anyway to tell what financial institution a customer is a member of using the caliper sdk?

Hello,

the best way is either to use the aba or something in the wedge_address_config (which can be different for every FI) and then append this to the user_id. See the below for explanation on the first part.

In SDK versions of 2.164.0 and newer, hq_credentials is pulled from vault properly for multitenant extensions. So now you can just do self.hq_credentials.aba

Alternatively, you can use wedge_address_configs here: https://docs.q2developer.com/tutorials/online_banking/configuration.html
The way this works is every Financial Institution has their own database, and when the request comes through online banking heading for your extension HQ will go to a few tables and grab various bits of information. One of those bits that it grabs is the configuration table that is how the information comes through to the extension. So Wedge Address Configs are a per FI configuration. So you can do something like:

WEDGE_ADDRESS_CONFIGS = DbConfigList(
		[
				DbConfig('fiName', 'Insert FI Name')
		]
)

Then when you do q2 install you can set what that value should be. Same thing when we install the extension into an FI environment, we would set that value when we install said extension. Then during your extension code you can do something like:

self.wedge_address_configs['fiName']

Hope this make sense, let me know if you need further explanation.

-Trey

Posted 3 years ago
Edited 3 years ago
Trey Teter
124 × 2 Administrator
0

@<1293619705470259200|Trey Teter> Can you explain this more? For the wedge_address_config would the key be the user_id and the value be the financial institution id? Where would the financial institution id come from? I would still need some initial way to set that value.

— Draden Gaffney   3 years ago
0

Sure, I will edit this with some more information.

— Trey Teter   3 years ago
0

Hope the edited information gives you some more help. The closest thing to a financial institution id is the aba. I think I have answered your other questions with my above comment.

— Trey Teter   3 years ago
0

@<1293619705470259200|Trey Teter> So the ABA is unique for each financial institution? Can it change over time?

— Draden Gaffney   3 years ago
0

@<1293619705470259200|Trey Teter> Also have a question about wedge address configs being a per fi configuration. If I define the wedge address configs in say extension.py does that mean I have to change 'insert Fi Name' everytime I install the extension into an FI environment to the proper Fi Name? Is there a way for the process to not be so manually intensive? Aba should be sufficient for my use case assuming it doesn't change overtime, I just want to better undretand wedge address configs.

DbConfig('fiName', 'Insert FI Name')
— Draden Gaffney   3 years ago
Show more results postcomments
92 Views
0 Answers
3 years ago
3 years ago