diff options
Diffstat (limited to 'sparkybe-onap-application/config')
9 files changed, 31 insertions, 14 deletions
diff --git a/sparkybe-onap-application/config/application-personalization.properties b/sparkybe-onap-application/config/application-personalization.properties new file mode 100644 index 0000000..b462aba --- /dev/null +++ b/sparkybe-onap-application/config/application-personalization.properties @@ -0,0 +1,2 @@ +personalization.topLeftHeader=A&AI +personalization.htmlDocumentTitle=A&AI
\ No newline at end of file diff --git a/sparkybe-onap-application/config/application-resources.properties b/sparkybe-onap-application/config/application-resources.properties index 5860c7a..e33cc4f 100644 --- a/sparkybe-onap-application/config/application-resources.properties +++ b/sparkybe-onap-application/config/application-resources.properties @@ -7,3 +7,5 @@ resources.client-cert=client-cert-onap.p12 resources.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 resources.trust-store=tomcat_keystore resources.maxSelfLinkTraversalDepth=2 +resources.domain=aai +resources.delimitedShallowEntities=cloud-region,complex,vnf-image,image,flavor,availability-zone,tenant,network-profile,l-interface
\ No newline at end of file diff --git a/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml b/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml index 6ae1edb..27db51a 100644 --- a/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml +++ b/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml @@ -9,6 +9,7 @@ <constructor-arg ref="oxmModelLoader" /> <constructor-arg ref="oxmEntityLookup" /> <constructor-arg ref="activeInventoryAdapter" /> + <constructor-arg name="domain" value="${resources.domain:aai}" /> </bean> <bean id="attributeEditProcessor" diff --git a/sparkybe-onap-application/config/spring-beans/sparky-gizmo.xml b/sparkybe-onap-application/config/spring-beans/sparky-gizmo.xml index adf3507..bb3cfbb 100644 --- a/sparkybe-onap-application/config/spring-beans/sparky-gizmo.xml +++ b/sparkybe-onap-application/config/spring-beans/sparky-gizmo.xml @@ -25,6 +25,7 @@ <property name="relationshipsBasePath" value="/services/inventory/relationships/${gizmo.apiVersion:v12}" /> <property name="inventoryBasePath" value="/services/inventory/${gizmo.apiVersion:v12}" /> + <property name="appPartnerName" value="${gizmo.appPartnerName:AAI-UI}" /> </bean> </beans>
\ No newline at end of file diff --git a/sparkybe-onap-application/config/spring-beans/sparky-global-search.xml b/sparkybe-onap-application/config/spring-beans/sparky-global-search.xml index 4504f65..f572085 100644 --- a/sparkybe-onap-application/config/spring-beans/sparky-global-search.xml +++ b/sparkybe-onap-application/config/spring-beans/sparky-global-search.xml @@ -22,5 +22,6 @@ <bean id="searchServiceAdapter" class="org.onap.aai.sparky.search.SearchServiceAdapter"> <constructor-arg ref="searchServiceRestEndpointConfig" /> <constructor-arg name="serviceApiVersion" value="v1" /> + <property name="appPartnerName" value="${searchservice.appPartnerName:AAI-UI}" /> </bean> </beans>
\ No newline at end of file diff --git a/sparkybe-onap-application/config/spring-beans/sparky-personalization-service.xml b/sparkybe-onap-application/config/spring-beans/sparky-personalization-service.xml new file mode 100644 index 0000000..6ad3f8d --- /dev/null +++ b/sparkybe-onap-application/config/spring-beans/sparky-personalization-service.xml @@ -0,0 +1,19 @@ +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + + <bean id="personalizationConfig" + class="org.onap.aai.sparky.personalization.config.PersonalizationConfig"> + <property name="topLeftHeader" value="${personalization.topLeftHeader:A&AI}" /> + <property name="htmlDocumentTitle" value="${personalization.htmlDocumentTitle:A&AI}" /> + </bean> + + <bean id="personalizationServiceProcessor" + class="org.onap.aai.sparky.personalization.PersonalizationServiceProvider"> + <constructor-arg ref="personalizationConfig" /> + </bean> + +</beans>
\ No newline at end of file diff --git a/sparkybe-onap-application/config/spring-beans/sparky-resources.xml b/sparkybe-onap-application/config/spring-beans/sparky-resources.xml index 6f29868..5788ce4 100644 --- a/sparkybe-onap-application/config/spring-beans/sparky-resources.xml +++ b/sparkybe-onap-application/config/spring-beans/sparky-resources.xml @@ -25,6 +25,9 @@ <constructor-arg ref="oxmModelLoader" /> <constructor-arg ref="oxmEntityLookup" /> <constructor-arg ref="aaiRestEndpointConfig" /> + <constructor-arg name="domain" value="${resources.domain:aai}" /> + <property name="appPartnerName" value="${resources.appPartnerName:AAI-UI}" /> + <property name="syncPartnerName" value="${resources.syncPartnerName:AAI-UI-SYNC}" /> </bean> </beans> diff --git a/sparkybe-onap-application/config/spring-beans/sparky-search-service.xml b/sparkybe-onap-application/config/spring-beans/sparky-search-service.xml index c8d20c6..3a30161 100644 --- a/sparkybe-onap-application/config/spring-beans/sparky-search-service.xml +++ b/sparkybe-onap-application/config/spring-beans/sparky-search-service.xml @@ -22,5 +22,6 @@ <bean id="searchServiceAdapter" class="org.onap.aai.sparky.search.SearchServiceAdapter"> <constructor-arg ref="searchServiceRestEndpointConfig" /> <constructor-arg name="serviceApiVersion" value="v1" /> + <property name="appPartnerName" value="${searchservice.appPartnerName:AAI-UI}" /> </bean> </beans>
\ No newline at end of file diff --git a/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml b/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml index 6869b70..7148c56 100644 --- a/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml +++ b/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml @@ -15,20 +15,7 @@ <property name="numOfThreadsToFetchNodeIntegrity" value="20" /> <property name="makeAllNeighborsBidirectional" value="false" /> <property name="resourceLoader" ref="sparkyResourceLoader" /> - - <property name="shallowEntities"> - <list value-type="java.lang.String"> - <value>cloud-region</value> - <value>complex</value> - <value>vnf-image</value> - <value>image</value> - <value>flavor</value> - <value>availability-zone</value> - <value>tenant</value> - <value>network-profile</value> - <value>l-interface</value> - </list> - </property> + <property name="delimitedShallowEntities" value="${resources.delimitedShallowEntities:cloud-region,complex,vnf-image,image,flavor,availability-zone,tenant,network-profile,l-interface}" /> </bean> |