syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Varon <varont...@gmail.com>
Subject Re: Dashboard exception - approvals
Date Tue, 17 Apr 2018 23:14:16 GMT
Hi,

The response body (pretty print at bottom) does in fact contain
"key":null.   FWIW there are no derived or virtual schemas, or groups
configured, 'email' is the only plain schema, and there are no resources.

[{"username":"varontron","taskId":"7554","key":null,"createTime":"2018-04-17T14:23:06.080+0000","dueDate":null,"owner":null,"userTO":{"@class":"org.apache.syncope.common.lib.to.UserTO","key":"db1ab1a4-0e2f-422e-9ab1-a40e2fb22e4a","type":"USER","realm":"/SRP","username":"varontron","creator":null,"creationDate":"2018-04-17T14:23:06.138+0000","lastModifier":null,"lastChangeDate":"2018-04-17T14:23:06.138+0000","status":null,"password":"xxxxxxxxxxxxxxx","token":null,"tokenExpireTime":null,"lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":"48400a54-6910-4237-800a-5469109237ee","securityAnswer":"xxxxxxxxxxxx","suspended":false,"mustChangePassword":false,"dynRealms":[],"auxClasses":[],"plainAttrs":[{"schemaInfo":null,"schema":"email","values":["
varontron@gmail.com"]}],"derAttrs":[],"virAttrs":[],"resources":[],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynMemberships":[]},"userPatch":null,"workflowFormProperties":[{"id":"username","name":"Username","type":"String","value":"varontron","readable":true,"writable":false,"required":false,"datePattern":null,"enumValues":{}},{"id":"approve","name":"Approve?","type":"Boolean","value":null,"readable":true,"writable":true,"required":true,"datePattern":null,"enumValues":{}},{"id":"rejectReason","name":"Reason
for
rejecting","type":"String","value":null,"readable":true,"writable":true,"required":false,"datePattern":null,"enumValues":{}}]}]


FYI some tangential weirdness:  tomcat/syncope is sitting behind apache
httpd. If I use the default port (443), either explicitly or implicitly,
the server url constructed for swagger is "https://host:-1/syncope/rest".
This seems broken.  Çan it be resolved somehow?  I couldn't find any
config.  As one might expect, this results in 404.

This is obv not a problem with curl, nor if I connect to tomcat directly in
browser on non-ssl port 8000

Thanks,
Dave

[
  {
    "username": "varontron",
    "taskId": "7554",
    "key": null,
    "createTime": "2018-04-17T14:23:06.080+0000",
    "dueDate": null,
    "owner": null,
    "userTO": {
      "@class": "org.apache.syncope.common.lib.to.UserTO",
      "key": "db1ab1a4-0e2f-422e-9ab1-a40e2fb22e4a",
      "type": "USER",
      "realm": "/SRP",
      "username": "varontron",
      "creator": null,
      "creationDate": "2018-04-17T14:23:06.138+0000",
      "lastModifier": null,
      "lastChangeDate": "2018-04-17T14:23:06.138+0000",
      "status": null,
      "password": "xxxxxxxxxxxxxxx",
      "token": null,
      "tokenExpireTime": null,
      "lastLoginDate": null,
      "changePwdDate": null,
      "failedLogins": null,
      "securityQuestion": "48400a54-6910-4237-800a-5469109237ee",
      "securityAnswer": "xxxxxxxxxxxx",
      "suspended": false,
      "mustChangePassword": false,
      "dynRealms": [],
      "auxClasses": [],
      "plainAttrs": [
        {
          "schemaInfo": null,
          "schema": "email",
          "values": [
            "varontron@gmail.com"
          ]
        }
      ],
      "derAttrs": [],
      "virAttrs": [],
      "resources": [],
      "roles": [],
      "dynRoles": [],
      "relationships": [],
      "memberships": [],
      "dynMemberships": []
    },
    "userPatch": null,
    "workflowFormProperties": [
      {
        "id": "username",
        "name": "Username",
        "type": "String",
        "value": "varontron",
        "readable": true,
        "writable": false,
        "required": false,
        "datePattern": null,
        "enumValues": {}
      },
      {
        "id": "approve",
        "name": "Approve?",
        "type": "Boolean",
        "value": null,
        "readable": true,
        "writable": true,
        "required": true,
        "datePattern": null,
        "enumValues": {}
      },
      {
        "id": "rejectReason",
        "name": "Reason for rejecting",
        "type": "String",
        "value": null,
        "readable": true,
        "writable": true,
        "required": false,
        "datePattern": null,
        "enumValues": {}
      }
    ]
  }
]



An

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message