Integration with Chemaxon's Compound Registration System

    External configuration settings

    For enabling external configuration, these two jvm arguments must be provided for the application:

    -Dspring.profiles.active=ext.config

    -Dext.config.dir=path/to/config/dir

    Value of ext.config.dir must be a path on the server, containing the external configuration files. All files must end with "Config" postfix and should be a valid Spring framework XML Schema-based configuration.

    Configuring Chemaxon's Compund Registration

    For interoperability with registration system, external configuration must be enabled (see 1.)) and the xml file must be provided matching the following template:

    "registrationConfig.xml"

    <?xml version="1.0" encoding="UTF-8"?>
    
    <beans xmlns="http://www.springframework.org/schema/beans"
    
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
    
     xsi:schemaLocation="
    
     http://www.springframework.org/schema/beans
    
     http://www.springframework.org/schema/beans/spring-beans.xsd">
    
     <bean id="cxnRegistrationSystem" class="com.chemaxon.plexus.registration.CxnRegistrationSystem">
    
     <constructor-arg>
    
     <bean class="com.chemaxon.plexus.registration.CxnRegistrationSystemConfiguration">
    
     <constructor-arg name="endpointUrl" value="http://localhost:8180/RegistryCxn" />
    
     <constructor-arg name="clientSecret" value="*****" />
    
     <constructor-arg name="registrationSource" value="REGISTRAR" />
    
     </bean>
    
     </constructor-arg>
    
     </bean>
    
     <bean parent="log.info" p:arguments="-- [ CxnRegistrationSystem configured successfully ] --" />
    
    </beans>