Skip to content

Commit

Permalink
removed all modules to test hrms
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov committed Mar 13, 2024
1 parent 01c0f6b commit b872d5a
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
Binary file modified .DS_Store
Binary file not shown.
80 changes: 40 additions & 40 deletions micro-ui/web/packages/core/src/modules/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,50 @@ export default (queryClient) => {
const userType = Digit.UserService.getType();


registerApplication({
name: "Workbench",
app: () => import("workbench/WorkbenchModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/workbench`,
customProps: {
title: "Workbench is running on host",
queryClient,
userType
},
});
// registerApplication({
// name: "Workbench",
// app: () => import("workbench/WorkbenchModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/workbench`,
// customProps: {
// title: "Workbench is running on host",
// queryClient,
// userType
// },
// });


registerApplication({
name: "Common",
app: () => import("common/CommonModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/common`, //change to userType here
customProps: {
title: "Common Module is running on host",
queryClient,
userType
},
});
// registerApplication({
// name: "Common",
// app: () => import("common/CommonModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/common`, //change to userType here
// customProps: {
// title: "Common Module is running on host",
// queryClient,
// userType
// },
// });

registerApplication({
name: "PGR",
app: () => import("pgr/PGRModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr`,
customProps: {
title: "PGR is running on host",
queryClient,
userType
},
});
// registerApplication({
// name: "PGR",
// app: () => import("pgr/PGRModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr`,
// customProps: {
// title: "PGR is running on host",
// queryClient,
// userType
// },
// });

registerApplication({
name: "Dss",
app: () => import("dss/DSSModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`,
customProps: {
title: "DSS is running on host",
queryClient,
userType
},
});
// registerApplication({
// name: "Dss",
// app: () => import("dss/DSSModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`,
// customProps: {
// title: "DSS is running on host",
// queryClient,
// userType
// },
// });

registerApplication({
name: "HRMS",
Expand Down
8 changes: 4 additions & 4 deletions micro-ui/web/packages/core/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ module.exports = () => {
// header: `header@${domain}/header/remoteEntry.js`,
// dashboard: `dashboard@${domain}/dashboard/remoteEntry.js`,
hrms: `hrms@${domain}/hrms-ui/remoteEntry.js`,
common: `common@${domain}/common-ui/remoteEntry.js`,
pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`,
workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`,
dss : `dss@${domain}/dss-ui/remoteEntry.js`,
// common: `common@${domain}/common-ui/remoteEntry.js`,
// pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`,
// workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`,
// dss : `dss@${domain}/dss-ui/remoteEntry.js`,
// measurement : `measurement@${domain}/measurement/remoteEntry.js`
},
shared: packageJson.dependencies,
Expand Down

0 comments on commit b872d5a

Please sign in to comment.