Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty agreement list #408

Open
tinkoosingh opened this issue Jan 14, 2021 · 0 comments
Open

Empty agreement list #408

tinkoosingh opened this issue Jan 14, 2021 · 0 comments

Comments

@tinkoosingh
Copy link

I am getting empty agreement list and my docker container of this project is also not running on edge side after publishing below service and policies

---service.deployment.json file:
{
"org": "$HZN_ORG_ID",
"label": "$SERVICE_NAME for $ARCH",
"description": "",
"public": true,
"documentation": "",
"url": "$SERVICE_NAME",
"version": "$SERVICE_VERSION",
"arch": "$ARCH",
"sharable": "multiple",
"requiredServices": [],
"userInput": [
{
"name": "HW_WHO",
"label": "Who to say hello to",
"type": "string",
"defaultValue": "World"
}
],
"deployment": {
"services": {
"myhelloworld": {
"image": "tinkoosingh/myhelloworld_amd64:0.0.1",
"privileged": false,
"network": ""
}
}
}

---deployment.policy.json file:

{
"label": "$SERVICE_NAME Deployment Policy",
"description": "A super-simple sample Horizon Deployment Policy",
"service": {
"name": "$SERVICE_NAME",
"org": "$HZN_ORG_ID",
"arch": "*",
"serviceVersions": [
{
"version": "$SERVICE_VERSION",
"priority":{}
}
]
},
"properties": [
],
"constraints": [
"serial >= 9000000",
"model == "Thingamajig ULTRA""
],
"userInput": [
{
"serviceOrgid": "$HZN_ORG_ID",
"serviceUrl": "$SERVICE_NAME",
"serviceVersionRange": "[0.0.0,INFINITY)",
"inputs": [
{
"name": "HW_WHO",
"value": "from the EDGE!"
}
]
}
]
}

---service.policy.json file:

{
"properties": [
],
"constraints": [
"model == "Thingamajig ULTRA""
]
}

---node.policy.json file :

{
"properties": [
{ "name": "openhorizon.example", "value": "helloworld" }
],
"constraints": [
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant