<commit_before># Scheduling API
 
[![Build Status](http://jenkins.activeeon.com/buildStatus/icon?job=scheduling-api)](http://jenkins.activeeon.com/job/scheduling-api)
 
At this time, the Scheduling API offers a GraphQL endpoint for getting information about a ProActive Scheduler instance.
  
**Please note the API is still experimental and may be subject to changes.**

## Building and deploying

You can build a WAR file as follows:

```
$ gradle clean build war
```

The last command produces a WAR file in 

```
build/libs/scheduling-api-X.Y.Z-SNAPSHOT.war
```

This Web Application Archive can be deployed in the embedded Jetty container run by an instance of [ProActive Server](https://github.com/ow2-proactive/scheduling) (or your own application server).

The standard procedure is to copy or to create a symlink to the WAR file in `$PROACTIVE_HOME/dist/war`.

## Usage

Once deployed and running in a ProActive Scheduler instance, a graphical in-browser interface called [GraphiQL](https://github.com/graphql/graphiql) is accessible at:

[http://localhost:8080/scheduling-api/v2/](http://localhost:8080/scheduling-api/v2/)<commit_msg>update README.md according to the latest change<commit_after># Scheduling API
 
[![Build Status](http://jenkins.activeeon.com/buildStatus/icon?job=scheduling-api)](http://jenkins.activeeon.com/job/scheduling-api)
 
At this time, the Scheduling API offers a GraphQL endpoint for getting information about a ProActive Scheduler instance.
  
**Please note the API is still experimental and may be subject to changes.**

## Building and deploying

You can build a WAR file as follows:

```
$ gradle clean build war
```

The last command produces a WAR file in 

```
build/libs/scheduling-api-X.Y.Z-SNAPSHOT.war
```

This Web Application Archive can be deployed in the embedded Jetty container run by an instance of [ProActive Server](https://github.com/ow2-proactive/scheduling) (or your own application server).

The standard procedure is to copy or to create a symlink to the WAR file in `$PROACTIVE_HOME/dist/war`.

## Usage

Once deployed and running in a ProActive Scheduler instance, a graphical in-browser interface called [GraphiQL](https://github.com/graphql/graphiql) is accessible at:

[http://localhost:8080/scheduling-api/v1/graphiql](http://localhost:8080/scheduling-api/v1/graphiql)
{'fraction_non_alphanumeric': 0.10059931506849315, 'fraction_numerical': 0.009417808219178082, 'mean_word_length': 4.813432835820896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4371635', 'n_tokens_mistral': 723, 'n_tokens_neox': 675, 'n_words': 247}