@@ -56,7 +56,7 @@ describe('ApmSystem', () => {
56
56
windowSpy = jest . spyOn ( global as any , 'window' , 'get' ) . mockImplementation ( ( ) => ( {
57
57
location : {
58
58
protocol : 'http:' ,
59
- hostname : 'mykibanadomain .com' ,
59
+ hostname : 'myopensearch-dashboardsdomain .com' ,
60
60
port : '5601' ,
61
61
} ,
62
62
} ) ) ;
@@ -93,29 +93,29 @@ describe('ApmSystem', () => {
93
93
expect (
94
94
wrappedObserver ( {
95
95
type : 'http-request' ,
96
- name : 'GET http://mykibanadomain .com:5601/asdf/qwerty' ,
96
+ name : 'GET http://myopensearch-dashboardsdomain .com:5601/asdf/qwerty' ,
97
97
} as Transaction )
98
98
) . toEqual ( { type : 'http-request' , name : 'GET /asdf/qwerty' } ) ;
99
99
100
100
// Does not modify URLs that are not on the same origin
101
101
expect (
102
102
wrappedObserver ( {
103
103
type : 'http-request' ,
104
- name : 'GET https://mykibanadomain .com:5601/asdf/qwerty' ,
104
+ name : 'GET https://myopensearch-dashboardsdomain .com:5601/asdf/qwerty' ,
105
105
} as Transaction )
106
106
) . toEqual ( {
107
107
type : 'http-request' ,
108
- name : 'GET https://mykibanadomain .com:5601/asdf/qwerty' ,
108
+ name : 'GET https://myopensearch-dashboardsdomain .com:5601/asdf/qwerty' ,
109
109
} ) ;
110
110
111
111
expect (
112
112
wrappedObserver ( {
113
113
type : 'http-request' ,
114
- name : 'GET http://mykibanadomain .com:9200/asdf/qwerty' ,
114
+ name : 'GET http://myopensearch-dashboardsdomain .com:9200/asdf/qwerty' ,
115
115
} as Transaction )
116
116
) . toEqual ( {
117
117
type : 'http-request' ,
118
- name : 'GET http://mykibanadomain .com:9200/asdf/qwerty' ,
118
+ name : 'GET http://myopensearch-dashboardsdomain .com:9200/asdf/qwerty' ,
119
119
} ) ;
120
120
121
121
expect (
@@ -138,28 +138,28 @@ describe('ApmSystem', () => {
138
138
expect (
139
139
wrappedObserver ( {
140
140
type : 'http-request' ,
141
- name : 'GET http://mykibanadomain .com:5601/alpha' ,
141
+ name : 'GET http://myopensearch-dashboardsdomain .com:5601/alpha' ,
142
142
} as Transaction )
143
143
) . toEqual ( { type : 'http-request' , name : 'GET /' } ) ;
144
144
145
145
expect (
146
146
wrappedObserver ( {
147
147
type : 'http-request' ,
148
- name : 'GET http://mykibanadomain .com:5601/alpha/' ,
148
+ name : 'GET http://myopensearch-dashboardsdomain .com:5601/alpha/' ,
149
149
} as Transaction )
150
150
) . toEqual ( { type : 'http-request' , name : 'GET /' } ) ;
151
151
152
152
expect (
153
153
wrappedObserver ( {
154
154
type : 'http-request' ,
155
- name : 'GET http://mykibanadomain .com:5601/alpha/beta' ,
155
+ name : 'GET http://myopensearch-dashboardsdomain .com:5601/alpha/beta' ,
156
156
} as Transaction )
157
157
) . toEqual ( { type : 'http-request' , name : 'GET /beta' } ) ;
158
158
159
159
expect (
160
160
wrappedObserver ( {
161
161
type : 'http-request' ,
162
- name : 'GET http://mykibanadomain .com:5601/alpha/beta/' ,
162
+ name : 'GET http://myopensearch-dashboardsdomain .com:5601/alpha/beta/' ,
163
163
} as Transaction )
164
164
) . toEqual ( { type : 'http-request' , name : 'GET /beta/' } ) ;
165
165
0 commit comments