summaryrefslogtreecommitdiffstats
path: root/admportal/shell/www
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-04-12 08:17:37 -0400
committerDan Timoney <dtimoney@att.com>2021-04-12 08:17:37 -0400
commit5cabe36fe85a780a9fb808343d6341f15da13524 (patch)
tree4893568c164dfaa82226eacc75fec4d622acb398 /admportal/shell/www
parent41a3f91544616f0e785e0e9e552e9fd0234cc9b3 (diff)
Fix ccsdk version and remove admportal2.1.4
Fix ccsdk versions and remove admportal, which is no longer supported Change-Id: Iaee9bd2b7d5d7345f889357684df18d53db466a1 Issue-ID: SDNC-1507 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: a1d57d8f5131414429f9ef2d8b0468004d253d0a
Diffstat (limited to 'admportal/shell/www')
-rwxr-xr-xadmportal/shell/www43
1 files changed, 0 insertions, 43 deletions
diff --git a/admportal/shell/www b/admportal/shell/www
deleted file mode 100755
index ef5dcae5..00000000
--- a/admportal/shell/www
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env node
-var debug = require('debug')('admportal');
-var app = require('../server/app');
-var constants = require('constants');
-var properties = require(process.env.SDNC_CONFIG_DIR + '/admportal.json');
-var out_file = "/opt/onap/sdnc/admportal/logs/http_admportal.log";
-var error_file = "/opt/onap/sdnc/admportal/logs/error_http_admportal.log";
-var cwd = "/opt/onap/sdnc/admportal";
-
-var fs = require('fs.extra');
-var https = require('https');
-var http_port = properties.nonSslPort;
-var https_port = properties.ConexusNetworkPort;
-var cert_pswd = process.env.CERT_PSWD;
-var sslCert = properties.ConexusNetwork_sslCert;
-
-if (typeof http_port != 'undefined' && http_port.length > 0)
-{
- app.set('port', http_port );
- var server = app.listen(app.get('port'), function()
- {
- console.log('Express server listening on port ' + server.address().port);
- debug('Express server listening on port ' + server.address().port);
- });
-}
-
-if (typeof https_port != 'undefined' && https_port.length > 0 && sslCert.length > 0)
-{
- var sslOptions = {
- pfx: fs.readFileSync(sslCert),
- passphrase: properties.ConexusNetwork_sslKey,
- secureOptions: constants.SSL_OP_NO_TLSv1|constants.SSL_OP_NO_SSLv2|constants.SSL_OP_NO_SSLv3,
- ciphers: [ "AES128-GCM-SHA256","!RC4","HIGH","!MD5","!aNULL","!EDH","!3DES" ].join(':'),
- honorCipherOrder: true,
- requestCert: true,
- rejectUnauthorized: false
- };
- app.set('port', https_port);
- var secureServer = https.createServer(sslOptions,app).listen(app.get('port'), function(){
- console.log('Express server (https) listening on port ' + secureServer.address().port);
- debug('Express server (https) listening on port ' + secureServer.address().port);
- });
-}