apigee

Apigee SpikeArrest Sync Across MessageProcessors (MPs)

感情迁移 提交于 2019-12-11 22:27:53
问题 Our organisation is currently migrating to Apigee. I currently have a problem very similar to this one, but due to the fact that I am a StackOverflow newbie and have low reputation I couldn't comment on it: Apigee - SpikeArrest behavior If there is any way to merge the two questions please let me know. So, in our organisation we have 6 MessageProcessors (MP) and I assume they are working in a strictly round robin manner. Please see this config (It is applied to the TARGET ENDPOINT of the

Can I use socket.io on apigee APIS Proxies?

人走茶凉 提交于 2019-12-11 21:32:17
问题 I was trying to figure out how do this question, but I saying simple, is it possible to use the node_module socket.io on apigee APIs Proxies ? 回答1: As of the present day, you can not use socket.io on Apigee node implementation. The node container in Apigee sits behind a standard Apigee proxy. Apigee proxies are accessible over plain http or https and allow all sort of functionalities one needs to expose APIs or control access or generate analytics . And the node piece behind the proxy can

Apigee CORS allow-origin on OPTIONS

烈酒焚心 提交于 2019-12-11 12:57:35
问题 I'm using an API oAuth2 service where I pass back the token to the App. Normally there is a requirement to proxy the connection at the developer end but this is adding an additional speed penalty that will make Apigee too slow for usage. Our App therefore XHR's the request directly, and this works fine on Safari but on Chrome the OPTIONS request to Apigee doesn't return allow-origin-*. Do any of the Apigee developers know what the policy is here or whether they can enable it for OPTIONS as

XML to JSON Conversion Issues

爷,独闯天下 提交于 2019-12-11 11:44:47
问题 Is there a way of converting XML to JSON with reference to a schema. Lets say a part of the xsd is as below: <xs:complexType name="RegionStateResultType"> <xs:sequence> <xs:element name="RegionOrState" type="xs:string" minOccurs="0" maxOccurs="1"/> <xs:element name="RegionOrStateCode" type="xs:string" minOccurs="0" maxOccurs="1"/> <xs:element name="PinCode" type="xs:integer" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:complexType> and the xml is: <RegionOrStateInfo> <RegionOrState

Apigee OPTIONS 404

落爺英雄遲暮 提交于 2019-12-11 11:28:49
问题 I have been stumped by Apigee's CORS support. I setup a new proxy and made sure to tick the " Enable Direct Browser Access for Your API — Allow direct requests from a browser via CORS." box. It appears that CORS is working for the normal GET requests, however pre-flight OPTIONS requests are not found and are returning a 404. I found this answer but was not able to resolve my problem because it seems like a different problem perhaps? The main question I would like answered is how do I setup

How do I block access to certain API resources on Apigee

只谈情不闲聊 提交于 2019-12-11 11:06:30
问题 I have an existing backend API with methods like: (GET) /user/{id} (GET) /user/delete/{id} (GET) /user/create/firstName={firstName},lastName={lastName} (yes, not exactly RESTful, since everything is a GET) I want to configure my Apigee proxy to reject "/delete/" and "/create/" paths making my proxy read-only. I'm not sure whether to use some kind of conditional flow for this. How is it done? Thanks! 回答1: You can achieve this using the following steps: Create three different resources in a

Securing apigee baas

做~自己de王妃 提交于 2019-12-11 09:45:37
问题 I've recently been looking at using apigee's baas, as an alternative to something like parse, for a mobile application. Now Parse obviously allows you to create ACLs etc. to define who can read/write to particular objects. I know baas has the concept of roles but there's a few issues I'm struggling with. I understand the concept of using access tokens to do this via edge. I'm just not sure how I actually set the roles/ACL on each object and any relations. 1) I know I can use Edge to create

How to read 2nd element of list of xml items returned in response using ExtractVariables policy in apigee?

非 Y 不嫁゛ 提交于 2019-12-11 09:15:26
问题 I am receiving an XML payload response target system that follows the following structure... <feed xmlns="http://www.w3.org/2005/Atom"> <title/> <id>7c818dcd-d66a-4273-b043-ff468b956d1b</id> <link rel="self" href="http://fhirtest.uhn.ca/baseDstu1/Patient?address=usa"/> <link rel="next" href="http://fhirtest.uhn.ca/baseDstu1?_getpages=943fd84d-1f93-4c97-8bba-534e944e74cf&_getpagesoffset=10&_count=10&_format=xml&_pretty=true"/> <link rel="fhir-base" href="http://fhirtest.uhn.ca/baseDstu1"/> <

How to use TLS 1.2 in Visual Basic 6 (vb6) - REST

点点圈 提交于 2019-12-11 04:24:35
问题 APIGee is migrating the request to TLS 1.2 OS: Windows Server 2003 !!! I have an old application developed in vb6, but it stopped working because of this new migration Here is my code Public Function GetCustomerName(ByVal pCPFCliente As String) As String Dim xmlhttp As MSXML2.ServerXMLHTTP Set xmlhttp = New MSXML2.ServerXMLHTTP xmlhttp.Open "GET", const_URL & "/customer=" & pCPFCliente & "&identification.type=CPF", False xmlhttp.setRequestHeader "Content-Type", "application/json" xmlhttp

Best way to export and import all Apigee Edge objects related to an org?

依然范特西╮ 提交于 2019-12-10 17:12:54
问题 Are there scripts for exporting and importing all Apigee Edge objects, such as developers, users, apps, caches, key value maps, etc? To clarify, it would be nice to have non-runtime objects as a priority vs. the runtime data contained within. E.g., the current content of caches are not as critical as just having the cache object available. 回答1: There is work planned to provide a tool that will export/import provisional data (such as apps, developer, products). Other aspects of an org's