V3 -- Scripted Attribute Definition

Cantor, Scott cantor.2 at osu.edu
Thu Jun 8 13:27:27 EDT 2017


> The actual script is as below.

It still contains the bug I saw, you're creating the attribute, and that is not how V3 works. I don't know if that physically breaks it or not. This is documented where I pointed you to with examples of scripts that are trying to straddle compatibility across the various confusing dimensions.

If you want to start over and not follow those examples, then start over and abandon the V2 APIs with a fresh script and try that, with no references to edu.internet2.middleware.etc

> 	My advice is that you get your scripts working under V2 and Java
> 8/Nashorn first. Once that's done, they should work largely unmodified
> under V3. You're mixing changes here.

That is the fundamental point. If you don't do it in that way, then I suggest you abandon the old script and start from scratch with the V3 examples/API.

Also, the log will tell you what the script produced (and you don't need or even want logging internally for that, what matters is what the resolver says that attribute definition produced).

-- Scott



More information about the users mailing list