-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrids.html
61 lines (61 loc) · 4.68 KB
/
rids.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE HTML>
<html>
<head>
<title>Register rulesets</title>
<meta charset="UTF-8">
<script type="text/javascript">
function munge(ev) {
var e = ev || window.event;
var keyCode = e.code || e.keyCode;
if(keyCode==27 || keyCode==="Escape"){
document.execCommand("undo");
e.target.blur();
}else if(keyCode==13 || keyCode==="Enter"){
var thespan = e.target.textContent;
anchors = document.getElementsByTagName("a");
for(var i=0; i<anchors.length; ++i){
var newhref = "http://"+thespan+"/api/ruleset/register?url="+anchors[i].textContent;
anchors[i].href = newhref;
}
e.target.blur();
return false;
}
}
</script>
</head>
<body>
<p>
Clicking on the links below (in order) will register the rulesets required to have Agent Picos and run a Pico Agency.
</p>
<p>
The links assume a pico engine running at
<span contenteditable="true" onkeydown="munge(event)">localhost:8080</span>.
</p>
<p>Rulesets needed to be an agent</p>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/html.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/html.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/webfinger.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/webfinger.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agent.ui.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agent.ui.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agent_message.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agent_message.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agent.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agent.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.didcomm_plugins.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.didcomm_plugins.krl</a><br>
<br>
<p>Additional rulesets needed to run an agency</p>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/colors.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/colors.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agency.ui.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agency.ui.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agency.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agency.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agency_agent.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agency_agent.krl</a><br>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agents.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.agents.krl</a><br>
<br>
<p>Additional ruleset for Agent intermediaries</p>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.router.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.router.krl</a><br>
<br>
<p>Additional ruleset so an Agent can be an edge agent</p>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.edge.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.edge.krl</a><br>
<br>
<p>Additional ruleset to accept streetcred invitations</p>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/id.streetcred.redir.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/id.streetcred.redir.krl</a><br>
<br>
<p>Additional ruleset to accept general "Let's connect" invitations</p>
<a href="http://localhost:8080/api/ruleset/register?url=https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.lets_connect.krl">https://raw.githubusercontent.com/Picolab/G2S/master/krl/org.sovrin.lets_connect.krl</a><br>
</body>
</html>