@@ -0,0 +1,2152 @@
+/*******************************************************************************%0A * Copyright %C2%A9 2015 EMBL - European Bioinformatics Institute%0A * %3Cp/%3E%0A * Licensed under the Apache License, Version 2.0 (the%0A * %22License%22); you may not use this file except in compliance%0A * with the License. You may obtain a copy of the License at%0A * http://www.apache.org/licenses/LICENSE-2.0%0A * %3Cp/%3E%0A * Unless required by applicable law or agreed to in writing,%0A * software distributed under the License is distributed on an%0A * %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,%0A * either express or implied. See the License for the specific%0A * language governing permissions and limitations under the%0A * License.%0A ******************************************************************************/%0A%0Apackage org.mousephenotype.cda.loads.create.releasenotes;%0A%0Aimport org.mousephenotype.cda.db.utilities.SqlUtils;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.boot.autoconfigure.domain.EntityScan;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.ComponentScan;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.context.annotation.Primary;%0Aimport org.springframework.data.jpa.repository.config.EnableJpaRepositories;%0A%0Aimport javax.sql.DataSource;%0A%0A@Configuration%0A@EnableJpaRepositories(basePackages = %7B%22org.mousephenotype.cda.db.repositories%22%7D)%0A@EntityScan(%22org.mousephenotype.cda.db.pojo%22)%0A@ComponentScan(basePackages = %7B%22org.mousephenotype.cda.loads.derived%22%7D)%0Apublic class ReleaseAnalyticsManagerConfig %7B%0A%0A    private final org.slf4j.Logger logger = LoggerFactory.getLogger(this.getClass());%0A%0A    @Value(%22$%7Bdatasource.cda_derived.jdbc-url%7D%22)%0A    String komp2Url;%0A%0A    @Value(%22$%7Bdatasource.cda_derived.username%7D%22)%0A    String komp2Username;%0A%0A    @Value(%22$%7Bdatasource.cda_derived.password%7D%22)%0A    String komp2Password;%0A%0A%0A    @Bean(name = %22komp2DataSource%22)%0A    @Primary%0A    public DataSource komp2DataSource() %7B%0A        return SqlUtils.getConfiguredDatasource(komp2Url, komp2Username, komp2Password);%0A    %7D%0A%7D

Add configuration for the release analytics job