Skip to content

Commit

Permalink
fix: jans-linux-setup download jans-auth for --download-exit (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Jul 4, 2022
1 parent 0943d81 commit 879ed87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jans-linux-setup/jans_setup/setup_app/installers/jans_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

class JansAuthInstaller(JettyInstaller):

source_files = [
(os.path.join(Config.dist_jans_dir, 'jans-auth.war'), os.path.join(base.current_app.app_info['JANS_MAVEN'], 'maven/io/jans/jans-auth-server/{0}/jans-auth-server-{0}.war'.format(base.current_app.app_info['ox_version']))),
(os.path.join(Config.dist_jans_dir, 'jans-auth-client-jar-with-dependencies.jar'), os.path.join(base.current_app.app_info['JANS_MAVEN'], 'maven/io/jans/jans-auth-client/{0}/jans-auth-client-{0}-jar-with-dependencies.jar'.format(base.current_app.app_info['ox_version']))),
]

def __init__(self):
setattr(base.current_app, self.__class__.__name__, self)
self.service_name = 'jans-auth'
Expand All @@ -25,11 +30,6 @@ def __init__(self):
self.install_var = 'installOxAuth'
self.register_progess()

self.source_files = [
(os.path.join(Config.dist_jans_dir, 'jans-auth.war'), os.path.join(base.current_app.app_info['JANS_MAVEN'], 'maven/io/jans/jans-auth-server/{0}/jans-auth-server-{0}.war'.format(base.current_app.app_info['ox_version']))),
(os.path.join(Config.dist_jans_dir, 'jans-auth-client-jar-with-dependencies.jar'), os.path.join(base.current_app.app_info['JANS_MAVEN'], 'maven/io/jans/jans-auth-client/{0}/jans-auth-client-{0}-jar-with-dependencies.jar'.format(base.current_app.app_info['ox_version']))),
]

self.jetty_service_webapps = os.path.join(self.jetty_base, self.service_name, 'webapps')
self.templates_folder = os.path.join(Config.templateFolder, self.service_name)
self.output_folder = os.path.join(Config.output_dir, self.service_name)
Expand Down

0 comments on commit 879ed87

Please sign in to comment.