cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

Export Service Endpoint Rules and Scopes Configuration Import and Export API

SOLVED
Mattias.Wessman
Builder

Export Service Endpoint Rules and Scopes Configuration Import and Export API

By reading https://docs.appdynamics.com/display/PRO45/Configuration+Import+and+Export+API I found out how to export and import various types of configuration - but what about rules for service endpoints and scopes? How do I go about to export and import those?

 

Thanks,

 

Mattias

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Export Service Endpoint Rules and Scopes Configuration Import and Export API
3 REPLIES 3
Mario.Morelli
Architect

Re: Export Service Endpoint Rules and Scopes Configuration Import and Export API

Hi Mattias

 

You can use the following endpoint as a start to query the scope within an application

 

https://<controller url>/controller/restui/transactionConfigProto/getScopes/<applicationid>

 

It will give you and output of the scope definition

 

Then you use the following endpoint to create it in another application

https://<controller URL>/controller/restui/transactionConfigProto/createScope?applicationId=<application ID>

 

However AppD has already created a tool to do this for you, just log a call to AppD Support and ask for a tool called Config Exporter. They will give you a version of the tool depending on your controller.

 

This tool has a UI, which you can add your Controller/s and then migrate settings, including the scopes etc.

 

Ciao



Learn more about me in the Community Member Spotlight Q & A
Mattias.Wessman
Builder

Re: Export Service Endpoint Rules and Scopes Configuration Import and Export API

Thanks!

 

Got hold of Config Exporter - and I'm able to export/import everything except for custom service endpoints (ASP_DOTNET). They just don't show up in config exporter - however a list of tiers that holds custom service endpoints shows up with a green check mark, but can't proceed when highlighting any of them. When exporting all configuration for my application ServiceEndpointDefinition's are there - but just doesn't show up in config exporter.

 

service_endpoint_detection.PNG

 

service_endpoint_detection_2.PNG

 

Any ideas?

 

Thanks,

 

Mattias

Mattias.Wessman
Builder

Re: Export Service Endpoint Rules and Scopes Configuration Import and Export API

Found out that service endpoints are exported/imported tier by tier - therefore I had to select a tier in config exporter -> click SERVICE END POINTS in left pane and then custom service endpoints were listed fine!