Giter Club home page Giter Club logo

pure-external-orgs's Introduction

License: MIT

Pure External Organization Merging Tool

A tool for merging duplicated External Organizations in Elsevier Pure using the new write API.

Use

Enter the (base) URL for your Pure instance and a valid API key for working with External Organizations. Enter your search query and hit the "Search" button to make a request to external-organizations/search (limited to 1000 results.)

Use the "View Details" buttons to see the details of any of the organizations - all data returned by the API should be displayed.

Select one organization to be the "target" organization into which other records should be merged. Use the checkboxes to select other organizations to merge into the target. You can clear your selection using the "Clear" button.

Click "Merge" to see a dialog summarising the organizations to be merged. To go ahead with the merge, click the "Merge" button at the bottom of the dialog.

Running

Before anything else:

cp src/environments/environment.ts.template src/environments/environment.ts
cp src/environments/environment.prod.ts.template src/environments/environment.prod.ts

This is an Angular app, so all API requests are being run client-side. This leads to CORS issues, which have to be managed. Assuming it's not possible to adjust the HTTP headers coming from Pure, you can use a proxy to achieve this.

In development, you can edit src/app/proxy.conf.json to set up a proxy when using ng serve.

Once you've got a proxy set up for your test and/or live instances of Pure, update the entries in src/environments/environment.ts and src/environments/environment.prod.ts. This will make the proxying invisible to users.

After that, the auto-generated Angular docs below should be enough to get it running.

Copyright 2021 University of St Andrews.

Auto-generated Angular README

This project was generated with Angular CLI version 13.0.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

pure-external-orgs's People

Contributors

pgmccann avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.