Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate documentation #7

Open
culmat opened this issue Jul 13, 2020 · 0 comments
Open

Generate documentation #7

culmat opened this issue Jul 13, 2020 · 0 comments

Comments

@culmat
Copy link
Member

culmat commented Jul 13, 2020

use the emds.epi.impl.run.PscTool to build the documentation before deployment
--> faster deployment, as binary can be stored in artefact repository and reused for multiple environments / redeployments

Is there some documentation?
Under which license is it released?
What are the dependencies?
Is the source code available?

When I call emds.epi.impl.run.PscTool.main(new String[] {"single", "path/to/sources", "/tmp"}); I get the following error (removed passwords from trace )
Where do the keystores / passwords come from?
Is it ok / intended to log them in case of error?

Jul 13, 2020 3:07:13 PM emds.epi.decl.server.baseservices.ServiceRegistry loadServices
SCHWERWIEGEND: Loading service: MasterdataService
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.runtime.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.impl.baseservice.OrchestraBaseService getParameterValue
INFORMATION: failed to get parameter database.archive.db.typ
Jul 13, 2020 3:07:13 PM emds.epi.decl.server.baseservices.ServiceRegistry loadServices
SCHWERWIEGEND: Failed to load service MasterdataService
ConfigurationElement: <service class="emds.epi.impl.baseservice.OrchestraBaseService" name="MasterdataService">

		<external_libraries/>

		<parameters>
		
		  	<group name="SSLSettings">
			  	<parameter name="PROTOCOL" value="TLS"/> 
		  		<parameter name="KEYSTORE" value="config/security/orchestra.keystore"/> 
		  		<parameter name="KEYSTORE.PASSWORD" value="****"/> 
		  		<parameter name="KEYSTORE.KEYPASSWORD" value="****"/>
				<parameter name="TRUSTSTORE" value="config/security/orchestra.truststore"/>
				<parameter name="TRUSTSTORE.PASSWORD" value="****"/>
				<parameter name="TRUSTSTORE.TYPE" value="JKS"/> 
		  	</group>	

			<group name="SSHSecurity">
		  		<parameter name="KEYSTORE" value="/config/security/orchestra.ssh.key"/> 
		  		<parameter name="KEYSTORE.PASSWORD" value="****"/> 
		  		<parameter name="SSHUSER" value="orchestra"/> 
		  	</group>
		  		
		</parameters>

		<parameter_reference path="{property.orchestra.environment.designer}">
			<parameter_reference path="{system.ORCHESTRA_ENVIRONMENT_DESIGNER}">
				<parameter_reference reference="config/environment_settings_designer.xml"/>	  
			</parameter_reference>	  
		</parameter_reference>
 		<parameter_reference reference="config/database_settings.xml"/>	  
 
 		
 
	</service>
emds.epi.decl.exceptions.ConfigurationException: Failed to initialize localized string map: Exception java.lang.NullPointerException at emds.util.LocalizedStringRepository.initialize(LocalizedStringRepository.java:109)
	at emds.util.LocalizedStringRepository.initialize(LocalizedStringRepository.java:158)
	at emds.epi.impl.baseservice.OrchestraBaseService.loadConfiguration(OrchestraBaseService.java:88)
	at emds.epi.impl.util.ClassLoaderHelper.initializeObject(ClassLoaderHelper.java:68)
	at emds.epi.decl.server.baseservices.ServiceRegistry.loadServices(ServiceRegistry.java:125)
	at emds.epi.decl.server.baseservices.ServiceRegistry.loadServices(ServiceRegistry.java:86)
	at emds.epi.impl.configuration.ServiceRegistryBase.initialize(ServiceRegistryBase.java:55)
	at emds.epi.impl.configuration.ServiceRegistryImpl.initialize(ServiceRegistryImpl.java:56)
	at emds.epi.impl.run.PscTool.initializeEnvironment(PscTool.java:186)
	at emds.epi.impl.run.PscTool.main(PscTool.java:115)
	at OrchMain.main(OrchMain.java:6)
Caused by: java.lang.NullPointerException
	at emds.util.LocalizedStringRepository.initialize(LocalizedStringRepository.java:109)
	... 9 more

Exception in thread "main" emds.epi.decl.exceptions.ConfigurationException: Failed to initialize localized string map: Exception java.lang.NullPointerException at emds.util.LocalizedStringRepository.initialize(LocalizedStringRepository.java:109)
	at emds.util.LocalizedStringRepository.initialize(LocalizedStringRepository.java:158)
	at emds.epi.impl.baseservice.OrchestraBaseService.loadConfiguration(OrchestraBaseService.java:88)
	at emds.epi.impl.util.ClassLoaderHelper.initializeObject(ClassLoaderHelper.java:68)
	at emds.epi.decl.server.baseservices.ServiceRegistry.loadServices(ServiceRegistry.java:125)
	at emds.epi.decl.server.baseservices.ServiceRegistry.loadServices(ServiceRegistry.java:86)
	at emds.epi.impl.configuration.ServiceRegistryBase.initialize(ServiceRegistryBase.java:55)
	at emds.epi.impl.configuration.ServiceRegistryImpl.initialize(ServiceRegistryImpl.java:56)
	at emds.epi.impl.run.PscTool.initializeEnvironment(PscTool.java:186)
	at emds.epi.impl.run.PscTool.main(PscTool.java:115)
	at OrchMain.main(OrchMain.java:6)
Caused by: java.lang.NullPointerException
	at emds.util.LocalizedStringRepository.initialize(LocalizedStringRepository.java:109)
	... 9 more


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant