Skip to content
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

feat(core): Javascript Scripting API #26227 #26230

Merged
merged 88 commits into from
Jan 29, 2024

#26227 sonarq fixes

a5e73f0
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(core): Javascript Scripting API #26227 #26230

#26227 sonarq fixes
a5e73f0
Select commit
Loading
Failed to load commit list.
GitHub Actions / MVN Test Report cli - JDK 11 succeeded Jan 26, 2024 in 0s

MVN Test Report cli - JDK 11 ✅

Tests passed successfully

Report Passed Failed Skipped Time
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.AssetAPIT.xml 5✅ 88s
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.AuthenticationAPIT.xml 1✅ 306ms
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.AuthenticationContextIT.xml 1✅ 220ms
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.client.model.DotCmsClientConfigIT.xml 1✅ 3ms
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.client.model.RestClientFactoryIT.xml 1✅ 978ms
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.ContentTypeAPIIT.xml 14✅ 18s
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.FolderAPIT.xml 1✅ 358ms
tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.SiteAPIIT.xml 8✅ 1⚪ 3s
tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.api.client.model.ServiceManagerTest.xml 1✅ 9s
tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.api.traversal.FilterTest.xml 32✅ 203ms
tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.common.LocationUtilsTest.xml 1✅ 4ms
tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.common.WorkspaceManagerTest.xml 2✅ 53ms
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.api.client.files.PullServiceIT.xml 5✅ 74s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.api.client.files.PushServiceIT.xml 4✅ 23s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.api.client.files.traversal.RemoteTraversalServiceIT.xml 20✅ 20s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.contenttype.ContentTypeCommandIT.xml 12✅ 1⚪ 27s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesLsCommandIT.xml 29✅ 11s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesPullCommandIT.xml 9✅ 4s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesPushCommandIT.xml 13✅ 5s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesTreeCommandIT.xml 29✅ 11s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.language.LanguageCommandIT.xml 17✅ 16s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.LoginCommandIT.xml 3✅ 5s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.PullCommandIT.xml 4✅ 9s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.PushCommandIT.xml 5✅ 2s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.PushContextImplIT.xml 4✅ 8ms
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.site.SiteCommandIT.xml 17✅ 1⚪ 34s
tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.StatusCommandIT.xml 4✅ 391ms
tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.api.client.HybridServiceManagerTest.xml 1✅ 8s
tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.cli.command.InstanceCommandTest.xml 4✅ 705ms
tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.cli.common.ExceptionHandlerTest.xml 2✅ 48ms
tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.cli.security.UtilsTest.xml 4✅ 14ms

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.AssetAPIT.xml

5 tests were completed in 88s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.AssetAPIT 5✅ 88s

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.AuthenticationAPIT.xml

1 tests were completed in 306ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.AuthenticationAPIT 1✅ 306ms

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.AuthenticationContextIT.xml

1 tests were completed in 220ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.AuthenticationContextIT 1✅ 220ms

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.client.model.DotCmsClientConfigIT.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.model.DotCmsClientConfigIT 1✅ 3ms

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.client.model.RestClientFactoryIT.xml

1 tests were completed in 978ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.model.RestClientFactoryIT 1✅ 978ms

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.ContentTypeAPIIT.xml

14 tests were completed in 18s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.ContentTypeAPIIT 14✅ 18s

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.FolderAPIT.xml

1 tests were completed in 358ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.FolderAPIT 1✅ 358ms

✅ tools/dotcms-cli/api-data-model/target/failsafe-reports/TEST-com.dotcms.api.SiteAPIIT.xml

9 tests were completed in 3s with 8 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.SiteAPIIT 8✅ 1⚪ 3s

✅ tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.api.client.model.ServiceManagerTest.xml

1 tests were completed in 9s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.model.ServiceManagerTest 1✅ 9s

✅ tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.api.traversal.FilterTest.xml

32 tests were completed in 203ms with 32 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.traversal.FilterTest 32✅ 203ms

✅ tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.common.LocationUtilsTest.xml

1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.common.LocationUtilsTest 1✅ 4ms

✅ tools/dotcms-cli/api-data-model/target/surefire-reports/TEST-com.dotcms.common.WorkspaceManagerTest.xml

2 tests were completed in 53ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.common.WorkspaceManagerTest 2✅ 53ms

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.api.client.files.PullServiceIT.xml

5 tests were completed in 74s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.files.PullServiceIT 5✅ 74s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.api.client.files.PushServiceIT.xml

4 tests were completed in 23s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.files.PushServiceIT 4✅ 23s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.api.client.files.traversal.RemoteTraversalServiceIT.xml

20 tests were completed in 20s with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.files.traversal.RemoteTraversalServiceIT 20✅ 20s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.contenttype.ContentTypeCommandIT.xml

13 tests were completed in 27s with 12 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.contenttype.ContentTypeCommandIT 12✅ 1⚪ 27s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesLsCommandIT.xml

29 tests were completed in 11s with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.files.FilesLsCommandIT 29✅ 11s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesPullCommandIT.xml

9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.files.FilesPullCommandIT 9✅ 4s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesPushCommandIT.xml

13 tests were completed in 5s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.files.FilesPushCommandIT 13✅ 5s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.files.FilesTreeCommandIT.xml

29 tests were completed in 11s with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.files.FilesTreeCommandIT 29✅ 11s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.language.LanguageCommandIT.xml

17 tests were completed in 16s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.language.LanguageCommandIT 17✅ 16s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.LoginCommandIT.xml

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.LoginCommandIT 3✅ 5s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.PullCommandIT.xml

4 tests were completed in 9s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.PullCommandIT 4✅ 9s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.PushCommandIT.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.PushCommandIT 5✅ 2s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.PushContextImplIT.xml

4 tests were completed in 8ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.PushContextImplIT 4✅ 8ms

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.site.SiteCommandIT.xml

18 tests were completed in 34s with 17 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.site.SiteCommandIT 17✅ 1⚪ 34s

✅ tools/dotcms-cli/cli/target/failsafe-reports/TEST-com.dotcms.cli.command.StatusCommandIT.xml

4 tests were completed in 391ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.StatusCommandIT 4✅ 391ms

✅ tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.api.client.HybridServiceManagerTest.xml

1 tests were completed in 8s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.api.client.HybridServiceManagerTest 1✅ 8s

✅ tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.cli.command.InstanceCommandTest.xml

4 tests were completed in 705ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.command.InstanceCommandTest 4✅ 705ms

✅ tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.cli.common.ExceptionHandlerTest.xml

2 tests were completed in 48ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.common.ExceptionHandlerTest 2✅ 48ms

✅ tools/dotcms-cli/cli/target/surefire-reports/TEST-com.dotcms.cli.security.UtilsTest.xml

4 tests were completed in 14ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dotcms.cli.security.UtilsTest 4✅ 14ms