Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1366

Java Connector Server: /setDefaults does not revert config to default properly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.20.0
    • Connector Framework
    • Framework: 1.5.5.0-SNAPSHOT 5249e462af31b60d188bf2397a4333284dca4cc8

    Description

      Our automated test discovered Java Connector Server config is not set to default as expected.

      Affected test could be run in pyforge as:

      ./run-pybot.py -s *frameworks.remote_java_connector_server* -t setDefaults OpenIDM
      

      Steps to reproduce:

      • Install JCS
      • Backup ConnectorServer.properties file and open
      • Run JCS with /setDefaults
      • Open ConnectorServer.properties which is expected to be reverted back to default and compare with the backup file, found these differences:
        #connectorserver.housekeepingInterval=600
        
        ##
        ## Time to live of a websocket connection (hours)
        ##
        #connectorserver.connectionTtl=48
        ##
        ## Token endpoint to retrieve access token if using OAuth2 to authenticate against IDM
        ##
        #connectorserver.tokenEndpoint=
        ##
        ## OAuth2 Client id for which to request an access token
        ##
        #connectorserver.clientId=
        ##
        ## OAuth2 Client secret
        ##
        #connectorserver.clientSecret=
        

      Both files are attached

      Attachments

        Issue Links

          Activity

            People

              travis.haagen Travis Haagen [X] (Inactive)
              son.nguyen Son Nguyen
              Son Nguyen Son Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: