Ejemplo n.º 1
0
        static public async Task ClassInit(TestContext context)
#endif
        {
            app = new KZApplication(test.Constants.MarketplaceUrl, test.Constants.AppName);
            await app.Initialize();
            var user = await app.Authenticate(test.Constants.User, test.Constants.Password, test.Constants.Provider);
            marketplace = app.Marketplace;
            EnqueueTestComplete();
        }
Ejemplo n.º 2
0
        static public async Task ClassInit(TestContext context)
#endif
        {
            app = new KZApplication(test.Constants.MarketplaceUrl, test.Constants.AppName);
            await app.Initialize();

            var user = await app.Authenticate(test.Constants.User, test.Constants.Password, test.Constants.Provider);

            marketplace = app.Marketplace;
            EnqueueTestComplete();
        }
Ejemplo n.º 3
0
 private void AllocServices(JObject config)
 {
     Marketplace    = new Marketplace(this, marketPlaceUri);
     Queue          = new Queue(this, config.ValueUri("queue"));
     PubSubChannel  = new PubSubChannel(this, config.ValueUri("pubsub"), config.ValueUri("ws"));
     Configuration  = new Configuration(this, config.ValueUri("config"));
     SmsSender      = new SmsSender(this, config.ValueUri("sms"));
     MailSender     = new MailSender(this, config.ValueUri("email"));
     Logger         = new Logging(this, config.ValueUri("logging"));
     Storage        = new Storage(this, config.ValueUri("storage"));
     Notification   = new Notification(this, config.ValueUri("notification"));
     Files          = new Files(this, config.ValueUri("files"));
     Authentication = new Authentication(marketPlaceUri.Host, config.Value <JObject>("authConfig"), this.Name);
     Service        = new Service(this, config.ValueUri("service"));
     DataSource     = new DataSource(this, config.ValueUri("datasource"));
 }
Ejemplo n.º 4
0
        private void AllocServices(JObject config)
        {
#if !NET45
			Notification = new Notification(this, config.ValueUri("notification"));
			PubSubChannel = new PubSubChannel(this, config.ValueUri("pubsub"), config.ValueUri("ws"));
#endif
			Marketplace = new Marketplace(this, marketPlaceUri);
            Queue = new Queue(this, config.ValueUri("queue"));
            Configuration = new Configuration(this, config.ValueUri("config"));
            SmsSender = new SmsSender(this, config.ValueUri("sms"));
            MailSender = new MailSender(this, config.ValueUri("email"));
            Logger = new Logging(this, config.ValueUri("logging"));
            Storage = new Storage(this, config.ValueUri("storage"));
            Files = new Files(this, config.ValueUri("files"));
            Authentication = new Authentication(marketPlaceUri.Host, config.Value<JObject>("authConfig"), this.Name);
            Service = new Service(this, config.ValueUri("service"));
			DataSource = new DataSource(this, config.ValueUri("datasource"));
        }