fix(gms): unable to find registered resources (#1625)

Fix the unable to find registered resource error introduced by 6a309332f321fc6847a721629c276e62867bf52c
Also simplify the build script
This commit is contained in:
Mars Lan 2020-04-02 20:53:22 -07:00 committed by GitHub
parent a063ec7297
commit 6370251bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -24,8 +24,7 @@ dependencies {
// Generate IDLs
pegasus.main.idlOptions.addIdlItem([
'com.linkedin.metadata.resources.dataset',
'com.linkedin.metadata.resources.identity'
'com.linkedin.metadata.resources',
])
ext.apiProject = project(':gms:api')

View File

@ -17,10 +17,10 @@
<bean id="restliRequestHandler" class="com.linkedin.restli.server.spring.ParallelRestliHttpRequestHandler">
<constructor-arg>
<bean class="com.linkedin.restli.server.RestLiConfig">
<property name="resourcePackageNames" value="com.linkedin.dataset.rest.resources,com.linkedin.identity.rest.resources" />
<property name="resourcePackageNames" value="com.linkedin.metadata.resources" />
</bean>
</constructor-arg>
<constructor-arg ref="injectResourceFactory" />
</bean>
</beans>
</beans>