Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements made according to ISC #42

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DivyaKrishnamurthy
Copy link

Here is a summary of the enhancements :

  1. Provisioning - Alarm Mapping Renamed:
    o The "Alarm Mapping" tab has been renamed to "Alarm Transformation".
  2. Bulk Device Provisioning:
    o Added the ability to provision bulk devices on a selected tenant using bulk upload features.
  3. EPL Rules Provisioning:
    o List all default EPL rules in the current tenant.
    o Deploy these rules across all selected tenants if the multi-tenant Apama microservice is not used.
  4. Analytics Builder Model Provisioning:
    o List all default analytics builder models in the current tenant.
    o Deploy these models across all selected tenants if the multi-tenant Apama microservice is not used.
  5. Firmware Provisioning Check:
    o Before provisioning firmware, now it checks if the firmware with the same version already exists; if it does, it will ignore it; otherwise, it will provision the selected firmware.
  6. Global Roles Management:
    o Added tenant ID at the header level for context identification of global roles.
    o Added centralized management (Create/Update/Delete) of global roles by redirecting to the standard Cumulocity implementation i.e, Administration -> Global roles.
    o Included a list of applications where these global roles are applied.
    o Display associated permissions within each role.
    o Renamed the header from "Role" to "Permissions" for better representation.
  7. Tenant Options:
    o Added tenant ID at the header level to identify the context of tenant options.
  8. Firmware Statistics Fix:
    o Fixed the issue where firmware statistics did not display the correct value. Diagram to check which firmware version is installed on which amount of devices for a specific sub-tenant

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature is called Alarm Mapping e.g. see it's documentation: https://cumulocity.com/docs/standard-tenant/alarm-mapping/ Why should we name it differently here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alarm Mapping doesn’t accurately describe its function. We are modifying the alarm, so Alarm Transformation is more appropriate. The customer specifically requested that the label not convey its true purpose.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then you would need to keep your changes in a fork. We are not going to rename Cumulocity features here.

package.json Outdated Show resolved Hide resolved
/>`,
})
export class ProvisionIconComponent {
imageSource = require("/assets/icf_asset-management.svg");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This icon seems to be missing?

Comment on lines +35 to +38
this.tenantService.current().then((tenant) => {
this.tenant = tenant.data;
});
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you nee the current tenant, please use the AppStateService instead of performing an additional request..

Comment on lines +1 to +3
.firmeware-list .selected, .tenant-list .selected{
background-color: #f5f5f5;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please pick a color form the c8y branding variables, instead of defining your own

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to add JSDoc comments, you do not need to repeat the name of the method within your comment.

@reey
Copy link
Collaborator

reey commented Aug 5, 2024

Please also consider to split this PR into multiple ones (e.g. one per feature) to make the review a bit simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants