Skip to content

Commit

Permalink
fix: Use latest client and proxy (#399)
Browse files Browse the repository at this point in the history
Co-authored-by: Trygve Lie <trygve.lie@finn.no>
  • Loading branch information
trygve-lie and Trygve Lie authored Sep 21, 2022
1 parent eb8486a commit 4035461
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion lib/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ export default class PodiumLayout {
this.context.metrics.pipe(this.metrics);
this.client.metrics.pipe(this.metrics);

this.client.registry.pipe(this.httpProxy.registry);
// Register proxy endpoints
this.client.registry.on('set', (key, item) => {
this.httpProxy.register(item.newVal);
});
}

get [Symbol.toStringTag]() {
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
},
"dependencies": {
"@metrics/client": "2.5.0",
"@podium/client": "5.0.0-next.7",
"@podium/context": "5.0.0-next.5",
"@podium/proxy": "5.0.0-next.5",
"@podium/schemas": "5.0.0-next.4",
"@podium/utils": "5.0.0-next.6",
"@podium/client": "5.0.0-next.13",
"@podium/context": "5.0.0-next.6",
"@podium/proxy": "5.0.0-next.7",
"@podium/schemas": "5.0.0-next.6",
"@podium/utils": "5.0.0-next.8",
"abslog": "2.4.0",
"lodash.merge": "4.6.2",
"objobj": "1.0.0",
Expand All @@ -50,19 +50,19 @@
"devDependencies": {
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"semantic-release": "19.0.2",
"@podium/podlet": "4.4.64",
"semantic-release": "19.0.5",
"@podium/podlet": "4.4.65",
"@podium/test-utils": "2.5.2",
"eslint": "8.15.0",
"eslint": "8.23.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.0.0",
"@babel/eslint-parser": "7.17.0",
"eslint-plugin-prettier": "4.2.1",
"@babel/eslint-parser": "7.19.1",
"express": "4.18.1",
"prettier": "2.6.2",
"prettier": "2.7.1",
"stoppable": "1.1.0",
"supertest": "6.2.3",
"tap": "16.2.0"
"supertest": "6.2.4",
"tap": "16.3.0"
}
}

0 comments on commit 4035461

Please sign in to comment.