Build #900

Build: #900 failed Child of CDAP-DRC-4619

Code commits

caskdata/cdap

  • Ajai <1452845+ajainarayanan@users.noreply.github.com>

    Ajai <1452845+ajainarayanan@users.noreply.github.com> 4d3c9f7a2fb46dec1b90b51274edee4c4ceb30a6

    Merge pull request #11568 from cdapio/bugfix-ui/remove-authaddress-hardcode
    Fix authaddress determined in nodeserver

  • Ajai Narayan

    Ajai Narayan a4b532ec37bcd751d4b7674b9421fa84b85c4770

    Fix auth address + session token handling in CDAP UI
      - Adds a hostname module to detect right origin to allow socket connections
      - Adds node-ip and cypress spec retry modules
      - Fixes server.js to add hostname based on url to list of allowed origin for websocket connections
      - Fixes the ui theme path logic to be flexible
      - Fixes SessionTokenStore to add auth token only when security is enabled
      - Adds data-cy attributes to tab component for testing
      - Adds number of retries for failed test to 3
      - Fixes getSessionToken logic to include proper headers in cypress tests
      - Adds cypress-plugin-retries to cypress support
      - Increase wait timeout for cypress commands to be 60000
      - Fixes all occurences of adding Authorization to headers
      - Fixes default value for ui theme file

    • cdap-ui/app/cdap/components/ConfigurableTab/index.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/cdap/components/Tabs/TabHead/index.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/cdap/services/SessionTokenStore.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/hydrator/main.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/logviewer/main.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/services/data/my-cdap-datasource.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/services/settings.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/app/tracker/main.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress.json (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/helpers.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/integration/fieldlevellineage.spec.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/integration/login.spec.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/integration/navbar.spec.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/integration/pipeline.spec.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/integration/wrangler.bigquery.spec.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/integration/wrangler.spanner.spec.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/support/commands.ts (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/cypress/support/index.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/package.json (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/server.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/server/config/hostname.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/server/express.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/server/uiThemeWrapper.js (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)
    • cdap-ui/yarn.lock (version a4b532ec37bcd751d4b7674b9421fa84b85c4770)