<commit_before>#!/usr/bin/env bash
curl -X POST "http://192.168.0.158:8085/_/tenant" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json"
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "url", "description": "Target JDBC URL", "default": true, "enabled": true, "value": "jdbc:postgresql://192.168.0.158:5432/olidb_sv1" }'
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "port", "description": "Database listening port", "default": true, "enabled": true, "value": 5432 }'
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "user", "description": "Database username", "default": true, "enabled": true, "value": "amicus"}'
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "password", "description": "Database password", "default": true, "enabled": true, "value": "oracle"}'<commit_msg>MODCAT-37: Database coordinates changes<commit_after>#!/usr/bin/env bash
curl -X POST "http://192.168.0.158:8085/_/tenant" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json"
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "url", "description": "Target JDBC URL", "default": true, "enabled": true, "value": "jdbc:postgresql://192.168.0.158:5433/olidb_sv3" }'
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "port", "description": "Database listening port", "default": true, "enabled": true, "value": 5433 }'
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "user", "description": "Database username", "default": true, "enabled": true, "value": "amicus"}'
curl -X POST "http://192.168.0.158:8085/configurations/entries/" -H "x-okapi-tenant: tnx" -H "Content-Type: application/json" -d '{"module": "CATALOGING", "configName": "datasource", "code": "password", "description": "Database password", "default": true, "enabled": true, "value": "oracle"}'
{'fraction_non_alphanumeric': 0.22465353756382203, 'fraction_numerical': 0.06564551422319474, 'mean_word_length': 5.577937649880096, 'pattern_counts': {'":': 56, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 12, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3930553', 'n_tokens_mistral': 1118, 'n_tokens_neox': 979, 'n_words': 238}