Skip to content

Commit b9c04db

Browse files
committed
Changed default self hosting server port to match dev ports
1 parent 588fc83 commit b9c04db

File tree

13 files changed

+33
-33
lines changed

13 files changed

+33
-33
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ You can configure the `ExceptionlessClient` class using one of the following way
100100
```javascript
101101
var client = new exceptionless.ExceptionlessClient('API_KEY_HERE');
102102
// or with an api key and server url
103-
var client = new exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000');
103+
var client = new exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:5000');
104104
// or with a configuration object
105105
var client = new exceptionless.ExceptionlessClient({
106106
apiKey: 'API_KEY_HERE',
107-
serverUrl: 'http://localhost:50000',
107+
serverUrl: 'http://localhost:5000',
108108
submissionBatchSize: 100
109109
});
110110
```
@@ -125,11 +125,11 @@ You can configure the `ExceptionlessClient` class using one of the following way
125125

126126
var client = new exceptionless.ExceptionlessClient('API_KEY_HERE');
127127
// or with an api key and server url
128-
var client = new exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000');
128+
var client = new exceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:5000');
129129
// or with a configuration object
130130
var client = new exceptionless.ExceptionlessClient({
131131
apiKey: 'API_KEY_HERE',
132-
serverUrl: 'http://localhost:50000',
132+
serverUrl: 'http://localhost:5000',
133133
submissionBatchSize: 100
134134
});
135135
```
@@ -227,7 +227,7 @@ The Exceptionless client can also be configured to send data to your self hosted
227227
You can set the `serverUrl` on the default `ExceptionlessClient` instance:
228228

229229
```javascript
230-
exceptionless.ExceptionlessClient.default.config.serverUrl = 'http://localhost:50000';
230+
exceptionless.ExceptionlessClient.default.config.serverUrl = 'http://localhost:5000';
231231
```
232232

233233
#### Node.js
@@ -236,7 +236,7 @@ You can set the `serverUrl` on the default `ExceptionlessClient` instance:
236236

237237
```javascript
238238
var client = require('exceptionless.node').ExceptionlessClient.default;
239-
client.config.serverUrl = 'http://localhost:50000';
239+
client.config.serverUrl = 'http://localhost:5000';
240240
```
241241

242242
### General Data Protection Regulation

example/RequireJS/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
requirejs(['exceptionless'], function (exceptionless) {
2020
var client = exceptionless.ExceptionlessClient.default;
2121
client.config.apiKey = 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw';
22-
client.config.serverUrl = 'http://localhost:50000';
22+
client.config.serverUrl = 'http://localhost:5000';
2323
client.config.useDebugLogger();
2424
client.config.setUserIdentity('12345678', 'Blake');
2525
client.config.useSessions();

example/SystemJS/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
System.import('github:exceptionless/exceptionless.javascript').then(function (exceptionless) {
1313
var client = exceptionless.ExceptionlessClient.default;
1414
client.config.apiKey = 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw';
15-
client.config.serverUrl = 'http://localhost:50000';
15+
client.config.serverUrl = 'http://localhost:5000';
1616
client.config.useDebugLogger();
1717

1818
// set some default data

example/TypeScript/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as exceptionless from '../../dist/exceptionless';
22

33
var client = exceptionless.ExceptionlessClient.default;
4-
client.config.serverUrl = 'http://localhost:50000';
4+
client.config.serverUrl = 'http://localhost:5000';
55
client.config.useDebugLogger();
66

77
// set some default data

example/angular/app/app.constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var app = angular.module('myApp');
55
app.constant('APP_CONSTANTS', {
66
EXCEPTIONLESS_API_KEY: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
7-
EXCEPTIONLESS_SERVER_URL: 'http://localhost:50000'
7+
EXCEPTIONLESS_SERVER_URL: 'http://localhost:5000'
88
});
99
})();
1010

example/express/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var app = express();
33

44
var client = require('../../dist/exceptionless.node').ExceptionlessClient.default;
55
client.config.apiKey = 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw';
6-
client.config.serverUrl = 'http://localhost:50000';
6+
client.config.serverUrl = 'http://localhost:5000';
77
client.config.useDebugLogger();
88
client.config.useLocalStorage();
99

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
var client = exceptionless.ExceptionlessClient.default;
1414
client.config.useDebugLogger();
1515
client.config.useLocalStorage();
16-
client.config.serverUrl = 'http://localhost:50000';
16+
client.config.serverUrl = 'http://localhost:5000';
1717
client.config.updateSettingsWhenIdleInterval = 15000;
1818
client.config.setUserIdentity('12345678', 'Blake');
1919
client.config.useSessions();

src/ExceptionlessClient-spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('ExceptionlessClient', () => {
2020
it('should use event reference ids', (done) => {
2121
const client = new ExceptionlessClient({
2222
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
23-
serverUrl: 'http://localhost:50000'
23+
serverUrl: 'http://localhost:5000'
2424
});
2525

2626
expect(client.config.lastReferenceIdManager.getLast()).to.be.null;
@@ -49,7 +49,7 @@ describe('ExceptionlessClient', () => {
4949
it('should accept null source', () => {
5050
const client = new ExceptionlessClient({
5151
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
52-
serverUrl: 'http://localhost:50000'
52+
serverUrl: 'http://localhost:5000'
5353
});
5454

5555
const builder = client.createLog(null, 'Unit Test message', 'Trace');
@@ -62,7 +62,7 @@ describe('ExceptionlessClient', () => {
6262
it('should accept source and message', () => {
6363
const client = new ExceptionlessClient({
6464
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
65-
serverUrl: 'http://localhost:50000'
65+
serverUrl: 'http://localhost:5000'
6666
});
6767

6868
const builder = client.createLog('ExceptionlessClient', 'Unit Test message');
@@ -75,7 +75,7 @@ describe('ExceptionlessClient', () => {
7575
it('should accept source and message and level', () => {
7676
const client = new ExceptionlessClient({
7777
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
78-
serverUrl: 'http://localhost:50000'
78+
serverUrl: 'http://localhost:5000'
7979
});
8080
const builder = client.createLog('source', 'Unit Test message', 'Info');
8181

@@ -85,20 +85,20 @@ describe('ExceptionlessClient', () => {
8585
});
8686

8787
it('should allow construction via apiKey and serverUrl parameters', () => {
88-
const client = new ExceptionlessClient('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', 'http://localhost:50000');
88+
const client = new ExceptionlessClient('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', 'http://localhost:5000');
8989

9090
expect(client.config.apiKey).to.equal('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw');
91-
expect(client.config.serverUrl).to.equal('http://localhost:50000');
91+
expect(client.config.serverUrl).to.equal('http://localhost:5000');
9292
});
9393

9494
it('should allow construction via a configuration object', () => {
9595
const client = new ExceptionlessClient({
9696
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
97-
serverUrl: 'http://localhost:50000'
97+
serverUrl: 'http://localhost:5000'
9898
});
9999

100100
expect(client.config.apiKey).to.equal('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw');
101-
expect(client.config.serverUrl).to.equal('http://localhost:50000');
101+
expect(client.config.serverUrl).to.equal('http://localhost:5000');
102102
});
103103

104104
function createException() {

src/configuration/Configuration-spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('Configuration', () => {
1414
config = new Configuration();
1515
expect(config.apiKey).to.equal('test');
1616

17-
config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:50000' });
17+
config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:5000' });
1818
expect(config.apiKey).to.equal('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw');
1919

2020
config = new Configuration({ apiKey: null });
@@ -47,7 +47,7 @@ describe('Configuration', () => {
4747
});
4848

4949
it('should not add duplicate plugin', () => {
50-
const config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:50000' });
50+
const config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:5000' });
5151
expect(config.plugins).not.to.be.null;
5252
while (config.plugins.length > 0) {
5353
config.removePlugin(config.plugins[0]);
@@ -59,7 +59,7 @@ describe('Configuration', () => {
5959
});
6060

6161
it('should generate plugin name and priority', () => {
62-
const config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:50000' });
62+
const config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:5000' });
6363
expect(config.plugins).not.to.be.null;
6464
while (config.plugins.length > 0) {
6565
config.removePlugin(config.plugins[0]);
@@ -72,7 +72,7 @@ describe('Configuration', () => {
7272
});
7373

7474
it('should sort plugins by priority', () => {
75-
const config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:50000' });
75+
const config = new Configuration({ apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', serverUrl: 'http://localhost:5000' });
7676
expect(config.plugins).not.to.be.null;
7777
while (config.plugins.length > 0) {
7878
config.removePlugin(config.plugins[0]);

src/plugins/EventPluginManager-spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('EventPluginManager', () => {
1414
it('should add items to the event.', (done) => {
1515
const client = new ExceptionlessClient({
1616
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
17-
serverUrl: 'http://localhost:50000'
17+
serverUrl: 'http://localhost:5000'
1818
});
1919

2020
const context = new EventPluginContext(client, {}, new ContextData());
@@ -56,7 +56,7 @@ describe('EventPluginManager', () => {
5656
it('setting cancel should stop plugin execution.', (done) => {
5757
const client = new ExceptionlessClient({
5858
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
59-
serverUrl: 'http://localhost:50000'
59+
serverUrl: 'http://localhost:5000'
6060
});
6161

6262
const context = new EventPluginContext(client, {}, new ContextData());
@@ -88,7 +88,7 @@ describe('EventPluginManager', () => {
8888
it('throwing error should stop plugin execution.', (done) => {
8989
const client = new ExceptionlessClient({
9090
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
91-
serverUrl: 'http://localhost:50000'
91+
serverUrl: 'http://localhost:5000'
9292
});
9393
const context = new EventPluginContext(client, {}, new ContextData());
9494

@@ -115,7 +115,7 @@ describe('EventPluginManager', () => {
115115
it('throwing async error should stop plugin execution.', (done) => {
116116
const client = new ExceptionlessClient({
117117
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
118-
serverUrl: 'http://localhost:50000'
118+
serverUrl: 'http://localhost:5000'
119119
});
120120
const context = new EventPluginContext(client, {}, new ContextData());
121121

@@ -153,7 +153,7 @@ describe('EventPluginManager', () => {
153153
it('should cancel via timeout.', (done) => {
154154
const client = new ExceptionlessClient({
155155
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
156-
serverUrl: 'http://localhost:50000'
156+
serverUrl: 'http://localhost:5000'
157157
});
158158
const context = new EventPluginContext(client, {}, new ContextData());
159159

@@ -180,7 +180,7 @@ describe('EventPluginManager', () => {
180180
it('should ensure config plugins are not wrapped.', () => {
181181
const client = new ExceptionlessClient({
182182
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
183-
serverUrl: 'http://localhost:50000'
183+
serverUrl: 'http://localhost:5000'
184184
});
185185
const context = new EventPluginContext(client, {}, new ContextData());
186186

src/plugins/default/DuplicateCheckerPlugin-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('DuplicateCheckerPlugin', () => {
1111
let plugin: DuplicateCheckerPlugin;
1212

1313
beforeEach(() => {
14-
client = new ExceptionlessClient('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', 'http://localhost:50000');
14+
client = new ExceptionlessClient('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw', 'http://localhost:5000');
1515
plugin = new DuplicateCheckerPlugin(() => now, 50);
1616
});
1717

src/queue/DefaultEventQueue-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('DefaultEventQueue', () => {
2424
function getConfiguration(): Configuration {
2525
const result: Configuration = new Configuration({
2626
apiKey: 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw',
27-
serverUrl: 'http://localhost:50000'
27+
serverUrl: 'http://localhost:5000'
2828
});
2929

3030
expect(result.storage.queue.get().length).to.equal(0);

src/submission/DefaultSubmissionClient-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('DefaultSubmissionClient', () => {
6262

6363
beforeEach(() => {
6464
const apiKey = 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw';
65-
const serverUrl = 'http://localhost:50000';
65+
const serverUrl = 'http://localhost:5000';
6666

6767
submissionClient = new DefaultSubmissionClient();
6868
submissionAdapter = new TestAdapter((r) => {

0 commit comments

Comments
 (0)