Esempio n. 1
0
        public void ShouldRetrieveEntryPoints()
        {
            var tempClient = new NGSIv2Client(globalContextBrokerURI);

            Assert.NotNull(tempClient.EntryPoints.Entities);
            Assert.NotNull(tempClient.EntryPoints.Types);
            Assert.NotNull(tempClient.EntryPoints.Subscriptions);
            Assert.NotNull(tempClient.EntryPoints.Registrations);
        }
 /// <summary>
 /// Constructor for a new entity collection object in the context of a previously created NGSIv2 client.
 /// </summary>
 /// <param name="client">RestClient that is used to communicate with the NGSIv2 counterpart</param>
 /// <param name="resource">Resource base URL from which the entity collection is queried</param>
 public EntityCollection(NGSIv2Client client, string resource) : base(client, resource)
 {
 }
Esempio n. 3
0
 public EntityContext(NGSIv2Client client, string resource) : base(client, resource)
 {
 }
 public EntityIngestion(NGSIv2Client client, string resource) : base(client, resource)
 {
 }
Esempio n. 5
0
 public EntityOperation(NGSIv2Client client, string resource)
 {
     Client           = client;
     EntitiesResource = resource;
 }
 public AttributeContext(NGSIv2Client client, string resource) : base(client, resource)
 {
 }