Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleapplication.properties
spring.jersey.type=filter
spring.mvc.urls=swagger,docs,prometheus,auditevents,info,heapdump,autoconfig,beans,loggers,dump,env,trace,health,configprops,mappings,metrics,webjars


server.contextPath=/aaicontextbuilder
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration

#This property is used to set the Tomcat connector attributes.developers can define multiple attributes separated by comma
#tomcat.connector.attributes=allowTrace-true
#The max number of active threads in this pool
server.tomcat.max-threads=200
#The minimum number of threads always kept alive
server.tomcat.min-spare-threads=25

# AAI REST Client Configuration
aai.host=10.147.57.139
aai.port=8080
aai.username=AAI
aai.password=OBF:1gfr1ev31gg7
aai.httpProtocol=http
aai.connectionTimeout=5000
aai.readTimeout=1000

# HTTP Basic Authorization credentials for Rest Service API
http.userId=admin
http.password=OBF:1u2a1toa1w8v1tok1u30

# {0} = customerId {1} = serviceType {2} = serviceInstanceId
aai.serviceInstancePath=/aai/v11/business/customers/customer/{0}/service-subscriptions/service-subscription/{1}/service-instances/service-instance/{2}

#Servlet context parameters
server.context_parameters.p-name=value #context parameter with p-name as key and value as value.


Error Code

Error CodeDescriptionResolution
400missing AppId from the headerProvide AppId in the header and re-send the request
401missing basic auth from the headerProvide basic authorization in the header and re-send the request
400missing mandatory parameter from url (serviceInstanceID, modelVersionID, modelInvariantID)Provide parameter in the request url