userId: this.$scope.user.userId,
userRole: this.$scope.user.role,
displayType: "context",
- contextType: this.$scope.component.componentType,
+ contextType: this.$scope.component.getComponentSubType(),
uuid: this.$scope.component.uuid,
lifecycleState: this.$scope.component.lifecycleState,
isOwner: this.$scope.component.lastUpdaterUserId === this.$scope.user.userId
// Redirect all '/sdc1/feProxy/rest' to feHost
middlewares.push(
proxy(['/sdc1/feProxy/rest'],{
- target: 'http://192.168.50.5:' + fePort,
+ target: 'http://localhost:' + fePort,
changeOrigin: true,
secure: false
}));
middlewares.push(
proxy(['/sdc1/rest'],{
- target: 'http://192.168.50.5:' + fePort,
+ target: 'http://localhost:' + fePort,
changeOrigin: true,
secure: false
}));
// Redirect dcae urls to feHost
middlewares.push(
proxy(['/dcae','/sdc1/feProxy/dcae-api'],{
- target: 'http://192.168.50.5:' + fePort,
+ target: 'http://localhost:' + fePort,
changeOrigin: true,
secure: false,
onProxyRes: (proxyRes, req, res) => {
// Redirect onboarding urls to feHost
middlewares.push(
proxy(['/onboarding','/sdc1/feProxy/onboarding-api'],{
- target: 'http://192.168.50.5:' + fePort,
+ target: 'http://localhost:' + fePort,
changeOrigin: true,
secure: false,
onProxyRes: (proxyRes, req, res) => {