-
Notifications
You must be signed in to change notification settings - Fork 53
MLE-24733 - revert test-complete-app #1009
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
Conversation
Moved the working version of the mlDeploy stuff to test-complete-app-mlDeploy
|
Copyright Validation Results ⏭️ Skipped (Excluded) Files
✅ Valid Files
✅ All files have valid copyright headers! |
There was a problem hiding this 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 reverts changes made to the test-complete-app directory and moves the mlDeploy-related functionality to a new test-complete-app-mlDeploy directory, effectively separating deployment concerns from the base test application.
Key changes:
- Reverted
test-complete-appto its original state by removing deployment properties and Gradle tasks - Created new
test-complete-app-mlDeploydirectory with full deployment configuration including SSL setup - Fixed database client naming in optic test file from
dbSchemasClienttodbModClient
Reviewed Changes
Copilot reviewed 11 out of 70 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test-complete/nodejs-optic-generate-views.js | Updated database client variable name and database reference from Schemas to Modules |
| test-complete-app/gradle.properties | Removed mlDeploy-specific properties (modules database, schemas database, REST port) |
| test-complete-app/build.gradle | Removed curl tasks for people and companies data loading |
| test-complete-app-mlDeploy/* | Added new directory with complete mlDeploy configuration including REST API server setup, SSL certificate templates, and Gradle wrapper |
| .copyrightconfig | Added test-complete-app-mlDeploy to files excluded from copyright checks |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| var dbSchemasClient = marklogic.createDatabaseClient({ | ||
| database: 'Schemas', | ||
| var dbModClient = marklogic.createDatabaseClient({ | ||
| database: dbName + 'Modules', |
Copilot
AI
Oct 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String concatenation of dbName + 'Modules' is missing a separator. This will result in database names like 'nodeOpticFunctionalTestModules' without the expected hyphen or separator if dbName is something like 'nodeOpticFunctionalTest'. Verify that dbName includes the trailing separator, or add one explicitly: dbName + '-Modules'.
| database: dbName + 'Modules', | |
| database: dbName + '-Modules', |
Moved the working version of the mlDeploy stuff to test-complete-app-mlDeploy