Skip to content

Added AWS-AU support #384

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

Merged
merged 4 commits into from
Jul 3, 2025
Merged

Added AWS-AU support #384

merged 4 commits into from
Jul 3, 2025

Conversation

netrajpatel
Copy link
Contributor

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the AU region by updating various components of the codebase.

  • Updated tests to validate the AU region functionality
  • Added AU region mapping to the host map in contentstack.js
  • Version bumped package.json and updated .talismanrc ignore configuration

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/unit/Util-test.js Added expectation for AU API host validation
test/sanity-check/api/user-test.js Added a new test to ensure AU region returns the correct host
package.json Updated package version from 1.21.7 to 1.22.0
lib/contentstack.js Added AU region mapping for host resolution
.talismanrc Updated ignore configuration for a new test file

Copy link

github-actions bot commented Jul 1, 2025

Coverage report for commit: 74125a6
File: coverage/clover.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ██░░░░░░░░░░░░░░░░░░░░░ │  2.3%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ██████████░░░░░░░░░░░░░ │ 18.2%
  90% │ ███████████████████████ │ 43.2%
 100% │ ████████████████████░░░ │ 36.4%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 88.72% | Methods: 97.67% | Branches: 73.15%
FilesLinesMethodsBranches
lib
   contentstack.js83.33%100.00%84.62%
   contentstackClient.js80.85%92.86%64.15%
   contentstackCollection.js94.12%100.00%86.67%
   entity.js82.07%100.00%65.00%
lib/core
   Util.js96.36%100.00%83.64%
   concurrency-queue.js86.01%87.18%76.00%
   contentstackError.js100.00%100.00%100.00%
   contentstackHTTPClient.js96.77%100.00%93.65%
   oauthHandler.js92.54%100.00%70.07%
lib/organization
   index.js81.82%100.00%60.49%
lib/organization/teams
   index.js92.11%100.00%68.42%
lib/organization/teams/stackRoleMappings
   index.js89.29%100.00%58.14%
lib/organization/teams/teamUsers
   index.js100.00%100.00%93.75%
lib/query
   index.js80.43%100.00%67.27%
lib/stack/asset/folders
   index.js100.00%100.00%100.00%
lib/stack/asset
   index.js93.06%100.00%81.18%
lib/stack/auditlog
   index.js95.83%100.00%75.00%
lib/stack/branch
   compare.js81.82%100.00%71.88%
   index.js97.44%100.00%80.56%
   mergeQueue.js100.00%100.00%73.68%
lib/stack/branchAlias
   index.js86.21%100.00%65.85%
lib/stack/contentType/entry
   index.js88.39%100.00%64.60%
lib/stack/contentType/entry/variants
   index.js86.21%100.00%68.57%
lib/stack/contentType
   index.js89.23%100.00%74.03%
lib/stack/deliveryToken
   index.js95.24%80.00%89.47%
lib/stack/deliveryToken/previewToken
   index.js21.43%25.00%14.29%
lib/stack/environment
   index.js100.00%100.00%100.00%
lib/stack/extension
   index.js95.92%100.00%87.76%
lib/stack/globalField
   index.js94.44%100.00%84.31%
lib/stack
   index.js84.43%92.86%73.48%
lib/stack/label
   index.js100.00%100.00%100.00%
lib/stack/locale
   index.js100.00%100.00%100.00%
lib/stack/managementToken
   index.js100.00%100.00%94.44%
lib/stack/release
   index.js91.11%100.00%72.34%
lib/stack/roles
   index.js100.00%100.00%100.00%
lib/stack/taxonomy
   index.js88.00%100.00%64.52%
lib/stack/taxonomy/terms
   index.js92.31%100.00%72.55%
lib/stack/variantGroup
   index.js86.84%100.00%65.12%
lib/stack/variantGroup/variants
   index.js85.00%100.00%60.78%
lib/stack/variants
   index.js84.21%100.00%59.57%
lib/stack/webhook
   index.js89.66%100.00%72.88%
lib/stack/workflow
   index.js89.09%100.00%72.31%
lib/stack/workflow/publishRules
   index.js100.00%100.00%100.00%
lib/user
   index.js94.29%100.00%82.14%

🤖 comment via lucassabreu/comment-coverage-clover

@harshithad0703 harshithad0703 marked this pull request as ready for review July 3, 2025 07:00
@harshithad0703 harshithad0703 requested a review from a team as a code owner July 3, 2025 07:00
@harshithad0703 harshithad0703 merged commit cf7da5c into development Jul 3, 2025
13 checks passed
@harshithad0703 harshithad0703 deleted the feat/dx-3127 branch July 3, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants