Skip to content

Conversation

@cs-raj
Copy link
Contributor

@cs-raj cs-raj commented Sep 12, 2024

No description provided.

nandeesh-gajula and others added 17 commits March 14, 2024 16:11
* Variants Implementation with Unit testcases

* Upgraded node version

* Updated packagelock.json file

* Added Typescript support

* Added feature for fetch base entry with variants details

* Fixed PR comments

* Will enable once api's get ready

* Updated node version

* Deleted CodeQL action in private repo

* Fixed error in includeVariants method and docs corrections

* Fixed unit test error
* sca-scan.yml

* jira.yml

* sast-scan.yml

* secrets-scan.yml

* codeql-analysis.yml

* Added variant support

* Removed CodeQL github action in private repo

* Updated details

* Added Variants support with content type uid

* Updated the dependency packages version

* moved slack/bolt package to devDependencies

* Changed node version to 18

* Fixed errors from merge conflits

---------

Co-authored-by: Aravind Kumar <[email protected]>
* sca-scan.yml

* jira.yml

* sast-scan.yml

* secrets-scan.yml

* codeql-analysis.yml

* Implemented ungrouped Variants with test cases

* Removed github action file

* Added fetchByUIDs method

* Fixed issue

* Fixed merge conflits error

---------

Co-authored-by: Aravind Kumar <[email protected]>
* feat: adds webhook functions in installation and deletes previous webhook implementation [cs-38336]

* test: adds test cases for installation functions

* fix: 📦 package version updates for generate docs script

* fix: 🩹 updated files list in jsdoc config

* fix: added back stack/webhook apis and fixed some routing issues

* feat: ✨ adds update fn, auditlog fn, users type correction

* chore: replaced uid and other data

* refactor: adds and corrects types of ContentstackCollectin and marketplace functions

* fix: credentials in response fix; bulkOperation types fixes;

* test: ✅ improves code coverage

* Revert "Feat: NRP support, Audit logs, Type correction for User and CScollection added"

* fix: users, collection, other fixes, coverage improvements

* build: updates package-lock file

* chore: version changes in package file

* ci: removed secrets-scan file and app tests changes

* fix: type fix for environment param

* fix: 🐛 handles the error in refreshtoken instead of throwing it

* ci: 🔥 removed sast-scan yml file

* fix: 🐛 handles workflow response in object format

* feat: ✨ allows overwrite flag param in import of contenttype and global field

* test: ✅ adds CT and GF import test for overwrite flag

* refactor: ♻️ adds type support for overwrite flag param

* chore: 📦 version changes and package updates

* perf: 📦 packages update

* docs: 📝 Updates README

* feat: ✨ Taxonomy Implementation with docs, unit and api test cases

* test: ✅ changes made in taxonomy function in stack class

* test: uncommented 'detele' api test case

* feat: ✨ create, fetch, find, update, delete , ancestors and descendants functions are added

* test: ✅ added api test cases for terms implementation

* feat: ✨ allows content-type for asset upload

* test: ✅ unit test cases for terms implementation (except search and move)

* changes done in passing data to create function in api test case

* feat: ✨ added move and search functions for terms implementation

* test: ✅ updated and added search and move unit test cases

* test: ✅ updated and added search and move api test cases

* docs: 📝 updated api reference docs for search, ancestors, descendants and move

* build: 📦 updated axios module and version number

* chore: 🔊 update changelog file

* feat: ✨ taxonomy and terms implementation for typescript

* fix: 🐛 taxonomy bug fix

* feat: ✨ terms implementaion with descendants and move function

* fix: 🐛 taxonomy bug fix in query unit test case

* fix: taxonomy and terms fixes

* fix: 🐛 error message fix on refresh token error

* refactor: uncommented unit test cases

* test: ✅ taxonomy API test cases

* test: ✅ terms api test cases and search implementation

* test: ✅ changes in search unit test in terms

* changed default host name

* added entry on changelog file and changed version

* feat: ✨ teams implementation with unit and api tests

* docs: added teams documentation

* test: ✅ updated api and unit test cases for teams support

* feat: ✨ teams users implementation and api test cases

* test: ✅ added unit test cases for team users

* feat: ✨ stackrolemapping implementation and api test cases

* test: changes made in update implementation and its test case

* test: update stackrolemapping implementation and api test cases

* added assertions to check the response

* added unit test cases for stack role mapping

* replaced query with fetchAll function

* changing folder name to be same as class name

* ci: 💚 fix unit test github action

* ci: fix unit test github action

* feat: types support for teams

* chore: ⬆️ update axios lib

* added valid assertions for the test

* teams test cases for types support

* types support for team Users and api test cases

* interface changed from User to TeamUser in types

* types support for stackRoleMapping and test cases

* stackRoleMapping test cases in types support

* stackRoleMapping update test case on types support

* docs: 📝 updated version and changeLog

* test: added test cases to improve coverage report

* feat: ✨ early access headers implementation

* types support for earlyaccess and update changeLog

* fix: 🐛 early_access made optional

* fix: 🐛 added api_version param which is to be passed in headers

* test: ✅ updated response fetchAll unit test case

* fix: 🐛 create function response data update

* refactor: ♻️ changes users in teams to teamUsers

* fix: fixed issue while updating entries with assets

* feat: added api test

* fix: updated changelog and package lock file

* Implemented Management token support (#99)

* Implemented Management token support

* Fixed PR Comments

* test: added sanity tests for user and contenttype

* added a script in package.json

* Next (#97)

* fix: fixed issue while updating entries with assets

* feat: added api test

* fix: updated changelog and package lock file

* Implemented Management token support (#99)

* Implemented Management token support

* Fixed PR Comments

* test: added sanity tests for user and contenttype

* added a script in package.json

---------

Co-authored-by: sunil-lakshman <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>

* test: added entries, assets, organization and stack tests in sanity

* changed the decription for it in testcases

* test: added taxonomy and terms tests in sanity folder

* removed const stack as the api is read from env

* fix: changed the url in transferOwnership

* test: removed the skipped test case from organization test suit

* test: added branches and aliases test suits to sanity folder

* test: commented out the test case instead or removing

* test: updated url path in unit test case

* test: added 1 more test case to branch test suit

* test: added create branch test after stack creation test

* fix: 📦 updates axios version

* chore: update package version in package.json

* chore: 🔨 updates prerelease hook script

* chore: 📦 added a package for slack message integeration and script for same

* chore: slack integeration for sending test report summary on the channel

* test: added environment test to sanity and changes done in branch test

* chore: 📦 updated slack/bolt package to devDependencies

* Revert "chore: 📦 updated slack/bolt package to devDependencies"

This reverts commit 3fba21e.

* updated slack/bolt package dependency

* chore: added alldependencies required for slack/bolt package

* chore: updates LICENSE file

* test: Added locale test suit and delete test suit to sanity folder

* chore: updated package-lock file

* Added taxonomy import/export support (#112)

Co-authored-by: Nadeem <[email protected]>

* Validating the object  when update the entries with assets (#114)

Co-authored-by: Nadeem <[email protected]>

* test: added delivery token test sanity folder

* test: added extension test suit to sanity

* test: updated test msg

* Next (#115)

* test: Added locale test suit and delete test suit to sanity folder

* chore: updated package-lock file

* Added taxonomy import/export support (#112)

Co-authored-by: Nadeem <[email protected]>

* Validating the object  when update the entries with assets (#114)

Co-authored-by: Nadeem <[email protected]>

---------

Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: Nadeem <[email protected]>

* cleared assertion error

* test: added assertions for failing tests

* Feat/cs 43619 taxonomy import export testcases (#118)

* Next (#115)

* test: Added locale test suit and delete test suit to sanity folder

* chore: updated package-lock file

* Added taxonomy import/export support (#112)

Co-authored-by: Nadeem <[email protected]>

* Validating the object  when update the entries with assets (#114)

Co-authored-by: Nadeem <[email protected]>

---------

Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: Nadeem <[email protected]>

* Added taxonomy import/export testcases.

---------

Co-authored-by: Nadeem <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>

* test: added global field test suit to sanity

* test: add sanity test for label

* Next (#119)

* test: Added locale test suit and delete test suit to sanity folder

* chore: updated package-lock file

* Added taxonomy import/export support (#112)

Co-authored-by: Nadeem <[email protected]>

* Validating the object  when update the entries with assets (#114)

Co-authored-by: Nadeem <[email protected]>

* test: added delivery token test sanity folder

* test: added extension test suit to sanity

* test: updated test msg

* cleared assertion error

* test: added assertions for failing tests

* Feat/cs 43619 taxonomy import export testcases (#118)

* Next (#115)

* test: Added locale test suit and delete test suit to sanity folder

* chore: updated package-lock file

* Added taxonomy import/export support (#112)

Co-authored-by: Nadeem <[email protected]>

* Validating the object  when update the entries with assets (#114)

Co-authored-by: Nadeem <[email protected]>

---------

Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: Nadeem <[email protected]>

* Added taxonomy import/export testcases.

---------

Co-authored-by: Nadeem <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>

* test: added global field test suit to sanity

* test: add sanity test for label

---------

Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: Nadeem <[email protected]>

* test: added sanity test for workflow-webhook-release

* updated sanity.js file

* test: added basic sanity for role

* test: added basic sanity for management token test suit

* fix: upgrade @slack/bolt from 3.17.0 to 3.17.1

Snyk has created this PR to upgrade @slack/bolt from 3.17.0 to 3.17.1.

See this package in npm:
https://www.npmjs.com/package/@slack/bolt

See this project in Snyk:
https://app.snyk.io/org/sunil-lakshman/project/d82509a3-a3c4-432f-b8d9-068ef2579b9b?utm_source=github&utm_medium=referral&page=upgrade-pr

* feat: ✨ adds params support in taxonomy export function

* test: added teams and stack share test suit to sanity

* test: changed uids of branches and aliases

* fix: fixed teams implementation according to the object received

* changes the flow of sanity test

* Update sca-scan.yml

* fix: 🐛 fixed update entry which was failing

the function cleanAssets was checking with null value

* test: removed organization name in assertion

* chore: updated changeLog and version

* Resolved merge conflits

---------

Co-authored-by: Nadeem Patwekar <[email protected]>
Co-authored-by: Nadeem <[email protected]>
Co-authored-by: Shailesh Mishra <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: harshithad0703 <[email protected]>
Co-authored-by: Abhinav Gupta <[email protected]>
Co-authored-by: abhinav <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Aravind Kumar <[email protected]>
@cs-raj cs-raj requested a review from a team as a code owner September 12, 2024 09:34
@github-actions
Copy link

Coverage report for commit: e8b1f88
File: coverage/clover.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ██░░░░░░░░░░░░░░░░░░░░░ │  2.1%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ █████████████░░░░░░░░░░ │ 20.8%
  90% │ ██████████████████████░ │ 37.5%
 100% │ ███████████████████████ │ 39.6%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 88.17% | Methods: 95.57% | Branches: 71.17%
FilesLinesMethodsBranches
lib/app/authorization
   index.js91.67%100.00%72.09%
lib/app/hosting
   deployment.js85.29%100.00%65.79%
   index.js80.70%100.00%59.09%
lib/app
   index.js92.78%100.00%66.12%
lib/app/installation
   index.js84.62%100.00%59.55%
lib/app/request
   index.js91.43%100.00%65.85%
lib
   contentstack.js100.00%100.00%100.00%
   contentstackClient.js100.00%100.00%85.00%
   contentstackCollection.js100.00%100.00%100.00%
   entity.js84.21%100.00%62.89%
lib/core
   Util.js96.36%100.00%83.64%
   concurrency-queue.js94.19%100.00%85.12%
   contentstackError.js100.00%100.00%100.00%
   contentstackHTTPClient.js98.08%100.00%93.75%
lib/organization
   index.js83.33%100.00%60.67%
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.js85.29%84.21%64.94%
lib/stack/auditlog
   index.js95.83%100.00%75.76%
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.js83.67%95.45%61.96%
lib/stack/contentType/entry/variants
   index.js16.67%8.33%5.41%
lib/stack/contentType
   index.js82.26%94.44%69.70%
lib/stack/deliveryToken
   index.js100.00%100.00%94.44%
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.12%100.00%83.78%
lib/stack
   index.js79.90%80.95%67.19%
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.js77.42%90.00%61.76%
lib/stack/variantGroup/variants
   index.js92.00%100.00%77.78%
lib/stack/variants
   index.js92.00%100.00%79.17%
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

@cs-raj cs-raj merged commit f4a4589 into next Sep 12, 2024
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.

5 participants