Nexus 3.71 Only supports H2 Databases, while older versions used OrientDB, Nexus 3.70 supports both H2, and Oriendb so you need to first upgrade to 3.70, because of schema problems, if you are versions older than 3.69, you need to first upgrade into 3.69.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import re | |
import glob | |
import os | |
def add_environment_label(dashboard_file, new_label: str): | |
# Read the dashboard JSON | |
with open(dashboard_file, 'r', encoding='utf-8') as f: | |
dashboard = json.load(f) |