newrelic / nr1-pathpoint Goto Github PK
View Code? Open in Web Editor NEWPathpoint is an enterprise platform tracker that models system health in relation to actual user-impacting business stages.
License: Apache License 2.0
Pathpoint is an enterprise platform tracker that models system health in relation to actual user-impacting business stages.
License: Apache License 2.0
The error was found in the file /components/Modal/StepsEditor.js
in the function: HandleOnChange.
HandleOnChange = (target, value, id) => {
this.setState(
state => {
const form = { ...state.form };
form[`step_${id}`][target] = value;
const stages = this.UpdateSubSteps(value, id);
return {
form,
stages
};
},
() => {
if (target === 'substeps') {
this.ChangeSubsteps(id, value);
}
}
);
if (target === 'level') {
this.ChangeOrder(id, value);
}
};
HandleOnChange = (target, value, id) => {
if (target === 'substeps') {
this.setState(
state => {
const form = { ...state.form };
form[`step_${id}`][target] = value;
const stages = this.UpdateSubSteps(value, id);
return {
form,
stages
};
},
() => {
this.ChangeSubsteps(id, value);
}
);
}
if (target === 'level') {
this.ChangeOrder(id, value);
}
};
When pathpoint is unable to retrieve a config from Nerdstore (or obtain the "last save version") it reverts to the "demo" config that is actually bundled with the nerdlet code. This is okay, BUT we don't need to save that as a stored config, we should just keep loading it from the bundle. When a user actually does a forced save
of the stages, steps, or touchpoint editors it will then update the nerdstore.
Why do this? There can be some cases (or it is surmized) that Pathpoint could have a transient issue reading the config from Nerstore and it could cause pathpoint to wipeout a good config with a demo config.
Heineken is using Pathpoint for internal Business Processes for our SAP integration and has requested TV mode to be available on Pathpoint in order to use New Relic in their Operations Centres and displayed on TVs around the office
TV Mode in order for Pathpoint to be full screen and auto refresh feature
TV Mode just like this Status Wall Board so the functionality is already there just needs to be copy and pasted over to the pathpoint app.
https://github.com/newrelic-experimental/nr1-wall-status-board?tab=readme-ov-file
This feature would be beneficial to many other customers who want to use New Relic Pathpoint in their own Ops Centres
Only save the last change
If you add a new steps level in many stages, the tool only saves the change made in the last stage
the issue was reported in the next video
It requiere an update in the file: nerdlets/pathpoint-nerdlet/components/Modal/StepsEditor.js
add the lines with the red arrow in the image
CODE:
HandleOnChange = (target, value, id) => {
this.setState(
state => {
const form = { ...state.form };
form[`step_${id}`][target] = value;
const stages = this.UpdateSubSteps(value, id);
return {
form,
stages
};
},
() => {
if (target === 'substeps') {
this.ChangeSubsteps(id, value);
}
}
);
if (target === 'level') {
this.ChangeOrder(id, value);
}
};
UpdateSubSteps(value, id) {
const current = { ...this.state.current };
const stages = [...this.state.stages];
const stage = stages.find(item => item.id === current.stage);
const currentStep = stage.steps.find(item => item.id === id);
const array = value.split(',');
const sub_steps = [];
array.forEach(item => {
sub_steps.push({ value: item });
});
currentStep.sub_steps = [...sub_steps];
return stages;
}
Hi,
Pathpoint which I enabled is available only to me. When I share the link to my team Newrelic is asking for Pathpoint to be enabled. Will they enable it will it wipe off my configuration. How can I share the pathpoint dashboard created.
Thanks,
Sangeetha
If in the JSON config file the measure_time is defined as "5 minutes ago", using lower case, this is interpreted as custom. The measure_time is only considered by default when it is set to uppercase with the value of “5 MINUTES AGO”. This causes the Time-Picker to have no effect on those touchpoints and can be confusing for the user.
The interpreter of the measure_time attribute must recognize the default value of "5 Minutes Ago" with a case-insensitive filter.
The feature will provide not only the direction but the %change of the KPI, which will help the user to understand the shift in magnitude up or down.
Display % change alongside the KPI value.
This could be similar to how it shows up on the Billboard widget in the NR1 dashboard
When a time window other than the Time-Picker default is selected, for example, "60 minutes ago", all touchpoints that did not have measure_time are temporarily calculated from the Time-Picker selection (SINCE 1668428490 UNTIL 1668428790). This change becomes permanent if the Touchpoints GUI editor is opened and the “Save Update” button is clicked.
The touchpoint graphic editor opens and clicks on the “Save Update” button.
The Pathpoint is reloaded with the Time-Picker in its default selection and the graphical editor of touchpoints is opened. It is evident that all the touchpoints that did not have a custom measure_time have been modified:
Touchpoints GUI editor should not save changes in measure_time with Time-Picker effects.
It was found that when the client has a large number of synthetic scripts the algorithm fails because it only performs a search on the first 50 elements.
Reproducing the bug requires a customer with more than 50 Synthetic Scripts in their account.
The search algorithm fails, and instead of updating the existing script, it tries to create a new one with the same name, which is why the creation attempt fails.
file to fix: /nerdlets/pathpoint-nerdlet/services/SynConnector.js
add in the header
import { AccountStorageQuery, AccountStorageMutation } from 'nr1';
Add the next function
SetFlameScript(scriptID, scriptName) {
try {
AccountStorageMutation.mutate({
accountId: this.accountId,
actionType: AccountStorageMutation.ACTION_TYPE.WRITE_DOCUMENT,
collection: 'pathpoint',
documentId: 'flameScript',
document: {
flameScriptId: scriptID,
flameScriptName: scriptName
}
});
} catch (error) {
/* istanbul ignore next */
throw new Error(error);
}
}
Update this function ExistFlameScript()
async ExistFlameScript() {
let searchResult = false;
let monitorID = '';
let error = null;
try {
if (this.flameScriptId === null) {
const { data } = await AccountStorageQuery.query({
accountId: this.accountId,
collection: 'pathpoint',
documentId: 'flameScript'
});
if (data) {
this.flameScriptId = data.flameScriptId;
this.flameScriptName = data.flameScriptName;
}
}
// const name = `Pathpoint-${this.pathpoint_id} Flame Script`;
if (this.flameScriptId) {
// validate if monitor already exist
const response = await this.axiosInstance.get(
`${this.uriSyntetic}/${this.flameScriptId}`,
{
headers: {
contentType: 'application/json',
'Api-Key': this.userApiKey
}
}
);
if (
response &&
response.status &&
response.status === 200 &&
response.data &&
response.data.name
) {
monitorID = this.flameScriptId;
searchResult = true;
} else {
error = true;
}
}
} catch (error) {
throw new Error(error);
}
return { searchResult, monitorID, error };
}
Add the. SetFlameScript function to CreateFlameScript()
async CreateFlameScript() {
...
...
const monitorID = arrayLocation[1];
--> this.SetFlameScript(monitorID, FlameMonitor.name);
return monitorID;
I am trying to initialize the development server of a New Relic application. I cloned the current repository and updated the version. It is currently in version 1.6.3. I have two profiles: account-3490120 and wigiboards. After cloning the project. I install the dependencies with npm install. At the end of the installation, I generate an id with the following command nr1 nerdpack:uuid -gf --profile=wigiboards. And continue to start the server with the command: nr1 nerdpack:serve. Its here where the problem born. I need a lot of help, screenshot:
Step Editor's "visible" setting hides certain steps from the Pathpoint view. It works, but the steps show back on the main visualization after some time. The change to the visible settings is reverted back.
Open Step Editor
Click the Visible setting on the top right to make it "invisible."
Please wait for the issue to occur; it can be hours or a day before these steps show up again on the main UI
Steps should not appear in the main view once made invisible through the Step Editor.
The screenshot below shows the steps getting dark after they are set to be hidden.
After a random wait time, the setting is reverted to default i.e. visible.
Deployed from the App Catalog
v 1.7.6
The Steps section of the Pathpoint documentation https://github.com/newrelic/nr1-pathpoint/tree/main/docs/guides/Pathpoint-Steps
seems to be a duplicate of the stages section here https://github.com/newrelic/nr1-pathpoint/tree/main/docs/guides/Pathpoint-Stages
Just accessing the links above.
Steps should have a detailed section describing what steps are, the options and the configurations of those.
na
na
INFOSEC-3466
for details of this audit and findings.All Touchpoints turn green on when updating config
Update a Touchpoint config
Touchpoints to retain their status while config updates, or can simply be hidden while the Pathpoint loads again.
We were trying to update this app in the cantlog and it was failing, we then discovered it doesn't run locally so we'll need to spend some time investigating this. This app also seems to have it's own support system so not sure on that.
There is an issue with the tests, they pass in a specific version number which is behind the current version of the app. I think just updating the relevant tests, as well as the sample JSON files to match 1.1.x
will suffice. The Schema checks to see if the first 2 numbers in the config pathpointVersion
are the same as the current app version
Seeing the following error when built locally:
4da92288-f951-41c5-a91c-9e45d4864ee9--pathpoint-nerdlet~latest.js:10878 Uncaught (in promise) Error: TypeError: Cannot read properties of undefined (reading 'id')
🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.
This Repolinter run generated the following results:
❗ Error | ❌ Fail | ✅ Pass | Ignored | Total | |
---|---|---|---|---|---|
0 | 2 | 0 | 11 | 0 | 13 |
license-file-exists
readme-file-exists
readme-contains-security-section
readme-contains-link-to-security-policy
third-party-notices-file-exists
code-of-conduct-should-not-exist-here
github-actions-workflow-file-exists
nr1-catalog-config-file-exists
nr1-catalog-screenshots-directory-exists
nr1-catalog-documentation-file-exists
package-scripts-present
readme-starts-with-nr1-catalog-header
#The README of a community plus project should have a NR1 Catalog header at the start of the README. If you already have a NR1 Catalog header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/. Below is a list of files or patterns that failed:
README.md
: The first 1 lines do not contain the pattern(s): Open source NR1 Catalog header (see https://opensource.newrelic.com/oss-category).
the latest code snippet found at https://github.com/newrelic/opensource-website/wiki/Open-Source-Category-Snippets#code-snippet-3
to filereadme-contains-forum-topic
#Doesn't contain a link to the appropriate forum.newrelic.com topic (README.md
). New Relic recommends directly linking the your appropriate forum.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
license-file-exists
#Found file (LICENSE
). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.
readme-file-exists
#Found file (README.md
). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-source-tools/tree/master/javascript/oss-template.
readme-contains-security-section
#Contains a security section (README.md
). New Relic recommends having a Security section in your README to address concerns such as vulnerability reporting. This security section should also contain a link to the security policy (found under the "Security" tab of the repository). For an example of this section, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-link-to-security-policy
#Contains a link to the security policy for this repository (README.md
). New Relic recommends referencing the open source security policy (https://github.com/newrelic/<repo-name>/security/policy
or ../../security/policy
) in a Security section in the README. For an example of this, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
third-party-notices-file-exists
#Found file (THIRD_PARTY_NOTICES.md
). A THIRD_PARTY_NOTICES.md file must be present to grant attribution to all dependencies being used by this project. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
code-of-conduct-should-not-exist-here
#New Relic has moved the CODE_OF_CONDUCT
file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT
file in a repository is now redundant and should be removed. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.
github-actions-workflow-file-exists
#Found file (.github/workflows/catalog.yml
). Any Community Plus project must integrate with GitHub actions. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
nr1-catalog-config-file-exists
#Found file (catalog/config.json
).
nr1-catalog-screenshots-directory-exists
#Found file (catalog/screenshots
).
nr1-catalog-documentation-file-exists
#Found file (catalog/documentation.md
).
package-scripts-present
#An eslint-check
and eslint-fix
npm script found in file (package.json
). NPM scripts for ESLint (eslint-check
and eslint-fix
) are required to properly integrate with the nerdpack system.
The function that recreates the touchpoints definitions after an update has a bug in the APS Touchpoint.
It requiere to add the measure_time property
File: services/DataMamager.js
Function: UpdateNewConfiguration
There’s an issue I have found with Pathpoint, I am not able to save changes in “since” time in query window for "APS touchpoint" type
Add this code on line 2501:
measure_time: query_measure_time,
Hi, I created a Pathpoint for an application and took JSON backup, and now if I try to re-import the JSON to revert back to my previous version, I am getting error in the "dashboard_url" key saying the position '0' can have string or boolean.
My dashboard_url key looks like below :
{
"dashboard_url" : {
"nickName" : "",
"link" : "https://onenr.io/abcdef"
}
}
Can you please guide?
🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.
This Repolinter run generated the following results:
❗ Error | ❌ Fail | ✅ Pass | Ignored | Total | |
---|---|---|---|---|---|
0 | 2 | 0 | 11 | 0 | 13 |
license-file-exists
readme-file-exists
readme-contains-security-section
readme-contains-link-to-security-policy
readme-contains-discuss-topic
third-party-notices-file-exists
github-actions-workflow-file-exists
nr1-catalog-config-file-exists
nr1-catalog-screenshots-directory-exists
nr1-catalog-documentation-file-exists
package-scripts-present
readme-starts-with-nr1-catalog-header
#The README of a community plus project should have a NR1 Catalog header at the start of the README. If you already have a NR1 Catalog header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/. Below is a list of files or patterns that failed:
README.md
: The first 1 lines do not contain the pattern(s): Open source NR1 Catalog header (see https://opensource.newrelic.com/oss-category).
[![New Relic One Catalog Project header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/New_Relic_One_Catalog_Project.png)](https://opensource.newrelic.com/oss-category/#new-relic-one-catalog-project)
to filecode-of-conduct-should-not-exist-here
#New Relic has moved the CODE_OF_CONDUCT
file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT
file in a repository is now redundant and should be removed. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Found files. Below is a list of files or patterns that failed:
CODE_OF_CONDUCT.md
license-file-exists
#Found file (LICENSE
). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.
readme-file-exists
#Found file (README.md
). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-source-tools/tree/master/javascript/oss-template.
readme-contains-security-section
#Contains a security section (README.md
). New Relic recommends having a Security section in your README to address concerns such as vulnerability reporting. This security section should also contain a link to the security policy (found under the "Security" tab of the repository). For an example of this section, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-link-to-security-policy
#Contains a link to the security policy for this repository (README.md
). New Relic recommends referencing the open source security policy (https://github.com/newrelic/<repo-name>/security/policy
or ../../security/policy
) in a Security section in the README. For an example of this, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-discuss-topic
#Contains a link to the appropriate discuss.newrelic.com topic (README.md
). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
third-party-notices-file-exists
#Found file (THIRD_PARTY_NOTICES.md
). A THIRD_PARTY_NOTICES.md file must be present to grant attribution to all dependencies being used by this project. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
github-actions-workflow-file-exists
#Found file (.github/workflows/catalog.yml
). Any Community Plus project must integrate with GitHub actions. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
nr1-catalog-config-file-exists
#Found file (catalog/config.json
).
nr1-catalog-screenshots-directory-exists
#Found file (catalog/screenshots
).
nr1-catalog-documentation-file-exists
#Found file (catalog/documentation.md
).
package-scripts-present
#An eslint-check
and eslint-fix
npm script found in file (package.json
). NPM scripts for ESLint (eslint-check
and eslint-fix
) are required to properly integrate with the nerdpack system.
When the Background Functions keys are installed, every time a change is made to the Pathpoint configuration, the button must be shown again to be able to manage the Synthwtic Script update.
Currently that button is not shown when making changes with the GUI editor
Add the Ingest Key in the Backgroiund Function Modal
Add the User key in the Backgroiund Function Modal
Enable Flame Filter Background Script
Save/Update
close the modal, and open it againg, it will show you the green button
push the button to install the Synthetic script
after enter to the touchpoint gui editor, made any change and push the Save/Update button
the bug is in the Maincontainer.js file
Pathpoint has a powerful feature where it can re-load a config file from history. Unfortunately files are only stored in the history when the config is changed by uploading a JSON file from disk. We need Pathpoint to also add a history record when a user saves stages/steps/touchpoints from the GUI.
Pathpoint UI contains a form for submitting support requests
Pathpoint UI should point to Github repo instead to encourage customers to open an issue on the repo instead
Link to file containing "support" text: https://github.com/newrelic/nr1-pathpoint/blob/main/nerdlets/pathpoint-nerdlet/config/messages.json
In some cases we have had complains of people exported a JSON from the same version of public Pathpoint 1.7.6 and it failed to be loadable in the same version of Pathpoint 1.7.6.
Infrastructure status has up to 4 bars
1 bar (Green) - No Status
2 bars (Green) - Disruptive (Red Workload Status)
3 bars (Green) - Potential Disruptive (Yellow Workload Status)
4 bars (Green) - Desired (Green Workload status)
Match the Workload Status color to the Infras Status under Biz Stage
1 bar (Grey) - No Status
2 bars (Red) - Disruptive (Red Workload Status)
3 bars (Yellow) - Potential Disruptive (Yellow Workload Status)
4 bars (Green) - Desired (Green Workload status)
Based on #bars vs. #bars and color
Overall this will help users better understand the state of Infra for that stage without knowing the underlying details. Always green can be misleading.
🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.
This Repolinter run generated the following results:
❗ Error | ❌ Fail | ✅ Pass | Ignored | Total | |
---|---|---|---|---|---|
0 | 0 | 0 | 13 | 0 | 13 |
license-file-exists
readme-file-exists
readme-starts-with-nr1-catalog-header
readme-contains-security-section
readme-contains-link-to-security-policy
readme-contains-discuss-topic
third-party-notices-file-exists
code-of-conduct-should-not-exist-here
github-actions-workflow-file-exists
nr1-catalog-config-file-exists
nr1-catalog-screenshots-directory-exists
nr1-catalog-documentation-file-exists
package-scripts-present
license-file-exists
#Found file (LICENSE
). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.
readme-file-exists
#Found file (README.md
). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-source-tools/tree/master/javascript/oss-template.
readme-starts-with-nr1-catalog-header
#The first 1 lines contain all of the requested patterns. (README.md
). The README of a community plus project should have a NR1 Catalog header at the start of the README. If you already have a NR1 Catalog header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/.
readme-contains-security-section
#Contains a security section (README.md
). New Relic recommends having a Security section in your README to address concerns such as vulnerability reporting. This security section should also contain a link to the security policy (found under the "Security" tab of the repository). For an example of this section, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-link-to-security-policy
#Contains a link to the security policy for this repository (README.md
). New Relic recommends referencing the open source security policy (https://github.com/newrelic/<repo-name>/security/policy
or ../../security/policy
) in a Security section in the README. For an example of this, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-discuss-topic
#Contains a link to the appropriate discuss.newrelic.com topic (README.md
). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
third-party-notices-file-exists
#Found file (THIRD_PARTY_NOTICES.md
). A THIRD_PARTY_NOTICES.md file must be present to grant attribution to all dependencies being used by this project. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
code-of-conduct-should-not-exist-here
#New Relic has moved the CODE_OF_CONDUCT
file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT
file in a repository is now redundant and should be removed. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.
github-actions-workflow-file-exists
#Found file (.github/workflows/ci.yml
). Any Community Plus project must integrate with GitHub actions. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
nr1-catalog-config-file-exists
#Found file (catalog/config.json
).
nr1-catalog-screenshots-directory-exists
#Found file (catalog/screenshots
).
nr1-catalog-documentation-file-exists
#Found file (catalog/documentation.md
).
package-scripts-present
#An eslint-check
and eslint-fix
npm script found in file (package.json
). NPM scripts for ESLint (eslint-check
and eslint-fix
) are required to properly integrate with the nerdpack system.
It is possible to remove the dashboard link from any touchpoint within the Touchbpoints Editor. This results in an invalid json export:
"dashboard_url": false,
which leads to the following error when trying to upload:
The stage 'LOGIN', in touchpoint 'Login Infra (WORKLOAD)', the property 'dashboard_url', should be array
Successful upload from previously exported json
The stage 'LOGIN', in touchpoint 'Login Infra (WORKLOAD)', the property 'dashboard_url', should be array
Pathpoint version v.1.7.6
🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.
This Repolinter run generated the following results:
❗ Error | ❌ Fail | ✅ Pass | Ignored | Total | |
---|---|---|---|---|---|
0 | 0 | 0 | 13 | 0 | 13 |
license-file-exists
readme-file-exists
readme-starts-with-nr1-catalog-header
readme-contains-security-section
readme-contains-link-to-security-policy
readme-contains-discuss-topic
third-party-notices-file-exists
code-of-conduct-should-not-exist-here
github-actions-workflow-file-exists
nr1-catalog-config-file-exists
nr1-catalog-screenshots-directory-exists
nr1-catalog-documentation-file-exists
package-scripts-present
license-file-exists
#Found file (LICENSE
). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.
readme-file-exists
#Found file (README.md
). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-source-tools/tree/master/javascript/oss-template.
readme-starts-with-nr1-catalog-header
#The first 1 lines contain all of the requested patterns. (README.md
). The README of a community plus project should have a NR1 Catalog header at the start of the README. If you already have a NR1 Catalog header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/.
readme-contains-security-section
#Contains a security section (README.md
). New Relic recommends having a Security section in your README to address concerns such as vulnerability reporting. This security section should also contain a link to the security policy (found under the "Security" tab of the repository). For an example of this section, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-link-to-security-policy
#Contains a link to the security policy for this repository (README.md
). New Relic recommends referencing the open source security policy (https://github.com/newrelic/<repo-name>/security/policy
or ../../security/policy
) in a Security section in the README. For an example of this, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-discuss-topic
#Contains a link to the appropriate discuss.newrelic.com topic (README.md
). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
third-party-notices-file-exists
#Found file (THIRD_PARTY_NOTICES.md
). A THIRD_PARTY_NOTICES.md file must be present to grant attribution to all dependencies being used by this project. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
code-of-conduct-should-not-exist-here
#New Relic has moved the CODE_OF_CONDUCT
file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT
file in a repository is now redundant and should be removed. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.
github-actions-workflow-file-exists
#Found file (.github/workflows/catalog.yml
). Any Community Plus project must integrate with GitHub actions. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
nr1-catalog-config-file-exists
#Found file (catalog/config.json
).
nr1-catalog-screenshots-directory-exists
#Found file (catalog/screenshots
).
nr1-catalog-documentation-file-exists
#Found file (catalog/documentation.md
).
package-scripts-present
#An eslint-check
and eslint-fix
npm script found in file (package.json
). NPM scripts for ESLint (eslint-check
and eslint-fix
) are required to properly integrate with the nerdpack system.
PR: #34
failed action: https://github.com/newrelic/nr1-pathpoint/actions/runs/1758312693
When attempting to update the version of the application in the package.json file, the version is not bumping correctly and the release job is failing on the error:
Error: Command failed with exit code 128: git tag v1.0.0 682bac8d79ea7ad61adbea9879c73f4728e68099
fatal: tag 'v1.0.0' already exists
at makeError (/home/runner/.npm/_npx/1684/lib/node_modules/semantic-release/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/runner/.npm/_npx/1684/lib/node_modules/semantic-release/node_modules/execa/index.js:118:26)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async tag (/home/runner/.npm/_npx/1684/lib/node_modules/semantic-release/lib/git.js:224:3)
at async run (/home/runner/.npm/_npx/1684/lib/node_modules/semantic-release/index.js:191:5)
at async module.exports (/home/runner/.npm/_npx/1684/lib/node_modules/semantic-release/index.js:260:22)
at async module.exports (/home/runner/.npm/_npx/1684/lib/node_modules/semantic-release/cli.js:55:5) {
shortMessage: 'Command failed with exit code 128: git tag v1.0.0 682bac8d79ea7ad61adbea9879c73f4728e68099',
command: 'git tag v1.0.0 682bac8d79ea7ad61adbea9879c73f4728e68099',
escapedCommand: 'git tag v1.0.0 682bac8d79ea7ad61adbea9879c73f4728e68099',
exitCode: 128,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: "fatal: tag 'v1.0.0' already exists",
failed: true,
timedOut: false,
isCanceled: false,
killed: false
The release job runs successfully and the version changes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.