Giter Club home page Giter Club logo

Comments (5)

timja avatar timja commented on August 25, 2024 2

Just remove the lib we don’t need it I was planning on doing it soon anyway, locally I’ve been testing with it commented out which explains why I missed this

from account-app.

dduportal avatar dduportal commented on August 25, 2024

At first glance,

JiraLdapSyncer jiraLdapSyncer = (JiraLdapSyncer) new ServiceLocator().lookupService(JiraLdapSyncer.ROLE);
seems to be the line throwing the error.

Which leads to https://github.com/jenkins-infra/jira-ldap-syncer/blob/6c34e8d23b6da2b19be3c43346be5b98c5f926ce/src/main/java/io/jenkins/backend/jiraldapsyncer/ServiceLocator.java#L37

from account-app.

dduportal avatar dduportal commented on August 25, 2024

=> https://github.com/jenkins-infra/jira-ldap-syncer/blob/6c34e8d23b6da2b19be3c43346be5b98c5f926ce/src/main/resources/serverAppContext.xml#L47 expects the url placeholder which is not there anymore. I assume the changes we did in the past weeks/month on the application created this misconfiguration.

from account-app.

dduportal avatar dduportal commented on August 25, 2024

@timja @NotMyFault could I have your eye to confirm my understanding:

  • In the PR #175 we introduced the new configuration library in order to makes the application configuration more modern
  • As part of the PR, the entrypoint of the account-app image was updated with the flag -Durl=${LDAP_URL} removed (4d213fc#diff-6f9d41d046756f0ddc2fcee0626bdb50100d12b88f293734eff742818e03efa2L44).
  • But it seems that the dependency "ldap-syncer" was not updated to benefit from the new config library. Any call to code of this dependency are now failing because the placeholder url is now empty.

=> I understand that users are created in the LDAP, but not synchronized to JIRA due to this.

Could you help me on solving this? My java-fu is bad so I was going to open a PR to reintroduce the parameter in the entrypoint. but there might be "cleaner" ways to do it?

from account-app.

dduportal avatar dduportal commented on August 25, 2024

Project https://github.com/jenkins-infra/jira-ldap-syncer archived (with a readme message pointing here)

from account-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.