Check-Point-Client depends on Anguler PRIME-NG Now CLI NGX Cookie Service
Http request auto validation library (https://github.com/ckpoint/CheckPoint)
Check-Point-Client (http://221.141.118.220/login)
Install node.js for each os in the link below.
https://nodejs.org/ko/download/
Download the script via the link below
https://github.com/ckpoint/CheckPointClient/raw/master/bin.zip
- {CHECK_POINT_CLIENT_PATH} : bin.zip unzip path
- {SERVER_PORT} : check point client server port
var express = require('express');
var app = express();
var distPath='{CHECK_POINT_CLIENT_PATH}/dist/CheckPointWeb'
var port = {SERVER_POST};
const allowedExt = [ '.js', '.ico', '.css', '.png', '.jpg', '.woff2', '.woff', '.ttf', '.svg', '.gif' ];
app.listen(port, function(){ console.log("Check Point Client Start...")})
app.get('*', function(req, res) {
if (allowedExt.filter(ext => req.url.toLowerCase().indexOf(ext) > 0).length > 0) {
resourceSend(req,res);
}
else{
sendFile(res, distPath + '/index.html');
}
});
function resourceSend(req, res){
var path = distPath + req.url;
if(path.indexOf('?') > 0 ){
path = path.substr(path, path.indexOf('?'));
}
sendFile(res, path);
}
function sendFile(res, path){
res.sendFile(path, {},function(err) { if (err) console.log(err); } );
}
-
Unzip the bin.zip file and move it into the folder.
-
Enter the following commands in order.
npm install node server
-
Open your browser and connect to http: // localhost: {PORT} or http://yourhost:{PORT}
- 1. Login And Scan
- 2. Scan your Proejct Annotation
- 3. Validation Setting
- 4. Excel Docu Download
- 5. Setting Backup
- 6. Setting Restore
- When you connect to the client, you will see the login page shown below.
- Server URL : Your Spring boot Proejct Server URL
- Password : Your Spring boot Proejct ckpoint.password default value is taeon
- With the B button you can scan the annotations into the project and load the message structure as shown below.
- After selecting the URL in the left tab, you can set the Validation Rule for the request message.
- These settings are reflected in real time without server reboot.
- If you open the main menu tab, you can see the Excel download button, and if the APACHE POI Library is included in the project, you can get the API structure as a document.
- EXCEL
- You can download the current settings as a json file with the JSON EXPORT button.
- The backed up json file can be overwritten with the current setting with the JSON IMPORT button.