Could you please tell me, As per the user requirement how we can pass the dynamic values depending on the environment for the end point?

Not applicable

For example If we are working in Dev environment the proxy should be

https://anumanasa-dev.apigee.net.

0 3 114
3 REPLIES 3

Hi, and thanks for the question. What you're asking is not quite clear. Can you clarify by providing some examples of what you are imagining? What do you mean by "pass"? Pass from where to where? and what "user requirement" are you referring to? and what values, for example?

Not applicable

@A.Anu Manasa If you are referring to route to different endpoints on different environments then you can create a target server as documented in :

http://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/environments/%7Benv_name%7D...

@A.Anu Manasa You have to create a target server as if you referring target endpoints on different target environments as follows.

you can use the target server configuration for the hostname and port. You can configure the below in the target configuration in the proxy,

<HTTPTargetConnection>
<LoadBalancer>
<Server name="TServer"/>
</LoadBalancer>

</HTTPTargetConnection>

You can configure a TargetServer to use SSL.TargetServers expose the same SSL configuration settings as TargetEndpoints.

<TargetServer name="TServer">
<IsEnabled>true</IsEnabled>
<Host>www.example.com</Host>
<Port>443</Port>
<SSLInfo>
<Ciphers/>
<ClientAuthEnabled>true</ClientAuthEnabled>
<Enabled>true</Enabled>
<IgnoreValidationErrors>false</IgnoreValidationErrors>
<KeyAlias>keystore-alias</KeyAlias>
<KeyStore>keystore-name</KeyStore>
<Protocols/>
<TrustStore>truststore-name</TrustStore>
</SSLInfo>
</TargetServ3er>