updated private cloud suite to 0.2.5

This commit is contained in:
strawmanbobi
2020-04-05 07:54:49 +08:00
parent 90f2d17331
commit a40c91ca57
8 changed files with 10 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ exports.setupEnvironment = function () {
MYSQL_DB_SERVER_ADDRESS = "localhost"; MYSQL_DB_SERVER_ADDRESS = "localhost";
MYSQL_DB_NAME = "irext"; MYSQL_DB_NAME = "irext";
MYSQL_DB_USER = "root"; MYSQL_DB_USER = "root";
MYSQL_DB_PASSWORD = "root"; MYSQL_DB_PASSWORD = "421aWill.";
REDIS_HOST = "localhost"; REDIS_HOST = "localhost";
REDIS_PORT = "6379"; REDIS_PORT = "6379";
REDIS_PASSWORD = null; REDIS_PASSWORD = null;

View File

@@ -43,7 +43,7 @@ require('./routes');
var certificateLogic = require('./work_unit/authentication_logic.js'); var certificateLogic = require('./work_unit/authentication_logic.js');
// kick start the engine // kick start the engine
System.startupHttp(http, serverListenPort, "irext Console V0.2.2"); System.startupHttp(http, serverListenPort, "irext Console V0.2.5");
////////////////// authentication middleware ////////////////// ////////////////// authentication middleware //////////////////
function tokenValidation (req, res, next) { function tokenValidation (req, res, next) {

View File

@@ -15,7 +15,7 @@
<body> <body>
<div class="navbar container"> <div class="navbar container">
<div class="header clearfix"> <div class="header clearfix">
<h3>IRext 本地控制台 - 0.2.2</h3> <h3>IRext 本地控制台 - 0.2.5</h3>
</div> </div>
</div> </div>
<div class="container"> <div class="container">

1
server/.idea/.name generated Normal file
View File

@@ -0,0 +1 @@
private-server

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="Encoding"> <component name="Encoding">
<file url="file://$PROJECT_DIR$" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
</component> </component>
</project> </project>

2
server/.idea/vcs.xml generated
View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" /> <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component> </component>
</project> </project>

View File

@@ -5,7 +5,7 @@
<groupId>net.irext.server</groupId> <groupId>net.irext.server</groupId>
<artifactId>private-server</artifactId> <artifactId>private-server</artifactId>
<version>0.2.2</version> <version>0.2.5</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>IRext Private Server</name> <name>IRext Private Server</name>

View File

@@ -196,9 +196,9 @@ public class IRIndexingService extends AbstractBaseService {
} }
@PostMapping("/list_indexes") @PostMapping("/list_indexes")
public IndexesResponse listOperators(HttpServletRequest request, public IndexesResponse listRemoteIndexes(HttpServletRequest request,
@HeaderParam("user-lang") String userLang, @HeaderParam("user-lang") String userLang,
@RequestBody ListIndexesRequest listIndexesRequest) { @RequestBody ListIndexesRequest listIndexesRequest) {
try { try {
int id = listIndexesRequest.getId(); int id = listIndexesRequest.getId();
String token = listIndexesRequest.getToken(); String token = listIndexesRequest.getToken();