Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
vue-nxp-notifications-ui-plugin
Advanced tools
npm i vue-nxp-plugin
3.22.52.234 notifications-transvers-integration.app.dev.s2m.ma
npm i vue-nxp-notifications-ui-plugin
"vue-nxp-notifications-ui-plugin" : "0.5.25",
NB :
Add following code to your package.json in order to download the plugin from nexus repository.
"publishConfig": {
"registry": "https://artifact-repos.dev.s2m.ma/repository/npm-hosted/",
},
"vue-nxp-notifications-ui-plugin" : "0.4.96",
import NotificationConfigurationPlugin from 'vue-nxp-notifications-ui-plugin/dist/nxp-notifications-ui-plugin.common';
import 'vue-nxp-notifications-ui-plugin/dist/nxp-notifications-ui-plugin.css';
Vue.use(NotificationConfigurationPlugin,{ 'notificationUrl': process.env.VUE_APP_ITSP_NOTIFICATION_URL, 'parametersInstitutionExistenceUrl': process.env.VUE_APP_ITSP_PARAMETERS_MICROSERVICE_CHECK_INSTITUTION_EXISTENCE, 'parametersConfigurationUsageUrl': process.env.VUE_APP_ITSP_PARAMETERS_MICROSERVICE_CHECK_CONFIGURATION_USAGE});
- With :
VUE_APP_ITSP_NOTIFICATION_URL is an environment variable in .env and .env.production files which is the notification Microservice url.
VUE_APP_ITSP_PARAMETERS_MICROSERVICE_CHECK_INSTITUTION_EXISTENCE is an environment variable in .env and .env.production files which is the api url for check-institution-existence (the api returns true if the institution exists by institution Id before creating or updating the configuraiton).
VUE_APP_ITSP_PARAMETERS_MICROSERVICE_CHECK_CONFIGURATION_USAGE is an environment variable in .env and .env.production files which is the api url for check-configuration-usage (the api returns true if the configuration is used in an entity before delete action).
So in your Institution MicroService you have to implement two Apis, example :
@PostMapping("/exists")
public ResponseEntity<Boolean> existsByInsId(@RequestBody String operationData) {
return new ResponseEntity<>(this.institutionService.existsByInsId(operationData), HttpStatus.OK);
}
@PostMapping("check-usage")
public ResponseEntity<Boolean> existsByNotificationConfigurationName(@RequestBody String operationData) {
return new ResponseEntity<>(this.binService.existsByNotificationConfigurationName(operationData),
HttpStatus.OK);
}
setTimeout(()=>{
your_messages.en = {...Vue.prototype.$notification_messages.en ,...your_messages.en}
your_messages.fr = {...Vue.prototype.$notification_messages.fr ,...your_messages.fr}
},0)
<template>
<div>
<nxp-notification-configuration :institution="institution"/>
</div>
</template>
<script>
export default {
name :'test',
data(){
return {
institution : {
institutionId :'000001',
institutionName : 'BMCE Bank'
}
}
}
}
</script>
FAQs
Nxp UI Plugin for managing Institution Notifications
The npm package vue-nxp-notifications-ui-plugin receives a total of 0 weekly downloads. As such, vue-nxp-notifications-ui-plugin popularity was classified as not popular.
We found that vue-nxp-notifications-ui-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.